---
title: "Python 3.9 End of Life: Ended Oct 31, 2025 | Since.dev"
description: "Python 3.9 reached end of life on October 31, 2025. Upgrade to Python 3.15, supported until October 2031. Its latest patch is 3.9.25, released October 31, 2025."
canonical_url: https://since.dev/calendar/python/3.9
last_updated: 2026-12-05
---

# Python 3.9 end of life

Python 3.9 reached end of life on October 31, 2025. Upgrade to Python 3.15, supported until October 2031. Its latest patch is 3.9.25, released October 31, 2025.

## Support

- **Released:** October 5, 2020
- **Active Support:** Ended May 17, 2022
- **Security Support:** Ended October 31, 2025
- **Latest:** [3.9.25](https://www.python.org/downloads/release/python-3925/), October 31, 2025
- **Maintained:** No
- **Check yours:** `python --version`
- **Last checked:** Dec 4, 2026

## Upgrade to

[Python 3.15](https://since.dev/calendar/python/3.15.md), supported until October 2031 (latest `3.15.2`). A fix Since.dev opens moves to [Python 3.12](https://since.dev/calendar/python/3.12.md), the nearest release with a year of support left.

## Releases around it

1. [Python 3.12](https://since.dev/calendar/python/3.12.md) · until October 31, 2028
2. [Python 3.11](https://since.dev/calendar/python/3.11.md) · until October 31, 2027
3. [Python 3.10](https://since.dev/calendar/python/3.10.md) · ended October 1, 2026
4. Python 3.9 · ended October 31, 2025
5. [Python 3.8](https://since.dev/calendar/python/3.8.md) · ended October 7, 2024
6. [Python 3.7](https://since.dev/calendar/python/3.7.md) · ended June 27, 2023
7. Python 3.6 · ended December 23, 2021

[Every Python release](https://since.dev/calendar/python.md)

## In your code

- .python-version · Before: `3.9` · After: `3.12`
- Dockerfile · Before: `FROM python:3.9-slim` · After: `FROM python:3.12-slim`
- .github/workflows/ci.yml · Before: `python-version: '3.9'` · After: `python-version: '3.12'`
- .tool-versions · Before: `python 3.9` · After: `python 3.12`

## Questions

- **When is Python 3.9 end of life?** Python 3.9 reached end of life on October 31, 2025. Active Support ended May 17, 2022; Security Support ended October 31, 2025.
- **What should I upgrade Python 3.9 to?** Upgrade to Python 3.15, supported until October 2031. A fix moves to Python 3.12, the nearest release with a year of support left.
- **Is Python 3.9 still supported?** No: Security Support ended October 31, 2025.
- **How do I check which Python version I run?** Run python --version where the code runs.
- **What is the latest Python 3.9 patch?** Python 3.9's latest patch is 3.9.25, released October 31, 2025.

## Source

[endoflife.date](https://endoflife.date/python)

Data license: [MIT License](https://opensource.org/license/mit). Copyright 2020 endoflife.date contributors.

## Does your code use it?

Paste a public repository. Since.dev analyzes it and shows the files and lines these dates hit.

[Add to your calendar](webcal://api.since.dev/v1/calendar.ics?provider=python) · [iCal file](https://api.since.dev/v1/calendar.ics?provider=python) · [RSS](https://api.since.dev/v1/calendar.rss?provider=python)

## More from Python

- Oct 31, 2027 · [Python 3.11](https://since.dev/calendar/python/3.11.md) · Runtime
- Oct 31, 2028 · [Python 3.12](https://since.dev/calendar/python/3.12.md) · Runtime
- Oct 31, 2029 · [Python 3.13](https://since.dev/calendar/python/3.13.md) · Runtime
- Oct 31, 2030 · [Python 3.14](https://since.dev/calendar/python/3.14.md) · Runtime

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
