Python 3.9 end of life
Python 3.9 reached end of life on . Upgrade to Python 3.15, supported until October 2031. Its latest patch is 3.9.25, released October 31, 2025.
Support
- Released
- Active Support
- Ended
- Security Support
- Ended
- Latest
3.9.25,- Maintained
- No
- Check yours
python --version- Last checked
Upgrade to
Python 3.15, supported until October 2031 (latest 3.15.2). A fix Since.dev opens moves to Python 3.12, the nearest release with a year of support left.
Releases around it
- until October 31, 2028
- until October 31, 2027
- ended October 1, 2026
- Python 3.9ended October 31, 2025
- ended October 7, 2024
- ended June 27, 2023
- Python 3.6ended December 23, 2021
In your code
- .python-versionBefore:
3.9After:3.12 - DockerfileBefore:
FROM python:3.9-slimAfter:FROM python:3.12-slim - .github/workflows/ci.ymlBefore:
python-version: '3.9'After:python-version: '3.12' - .tool-versionsBefore:
python 3.9After: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
Data license: MIT License. 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 calendariCal file RSS
More from Python

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.