Setting Your Python Version

Python version 3.11.6 is the default for Render services created on or after 2023-12-04.

Specify a different Python version by setting your service’s PYTHON_VERSION environment variable to a valid Python version (e.g., 3.9.13). You can specify any released version from 3.7.0 onward.

Render doesn’t support unreleased Python versions natively, but you can use them via Render’s Docker support.

History of default Python versions

If you don’t set a Python version for your service, Render’s default version depends on when you originally created the service:

Service Creation DateDefault Python Version
2023-12-04 and later3.11.6
Before 2023-11-013.7.10