
Reliability
PostgreSQL 13 End of Life: What It Means a Year On, and How to Get Off It
PostgreSQL 13 reached community end of life on 13 November 2025, and its final release was 13.23. This guide covers what that means for databases still running it, what cloud extended support does and does not cover, and how to plan a safe upgrade to 17 or 18.
Need a hand with this? Talk to a senior database DBA ↓By RadixTrie23 November 20265 min read
PostgreSQL 13 reached community end of life on 13 November 2025. Its final release, 13.23, was the last one the PostgreSQL Global Development Group will ship for that version. There are no more security fixes and no more bug fixes. If you still run PostgreSQL 13 in production, you are running unpatched software, and the way out is a major version upgrade, ideally to PostgreSQL 17 or 18.
This guide is for teams still on 13. It covers what end of life means in practice, what your cloud provider is and is not doing for you, which version to target, and the changes between 13 and 18 that catch people out. For step-by-step upgrade mechanics, see our PostgreSQL upgrade guide.
Source: PostgreSQL versioning policy on postgresql.org. Last verified: 23 November 2026.
PostgreSQL 13 end of life at a glance
- Community end of life: 13 November 2025. This date has passed.
- Final minor release: 13.23. The release announcement states that this is the final release of PostgreSQL 13.
- Status today: unsupported. The community no longer ships security or bug fixes for it.
- Why it ended: the community supports each major version for five years after its first release, then ships a final minor release.
- Community advice: if you run 13 in production, plan an upgrade to a newer, supported version.
What end of life means for a running database
Nothing happens on the day. The server keeps accepting connections and running queries. That is the danger. There is no alert, no error and no warning in the log. What changes is everything that comes after the end date.
- New vulnerabilities stay open. Security advisories now list only supported versions. The advisory for CVE-2026-6477, published with the 18.4 release, lists versions 14 to 18 as the supported, vulnerable versions. Version 13 is missing because it is unsupported, not because anyone has shown it is safe.
- Bugs stay unfixed. Any corruption, replication or planner bug found after the end date will not be fixed in 13.
- The gap keeps growing. PostgreSQL 14 has now reached its own end of life, so every month on 13 puts you further from a supported release.
Expect it to come up in security reviews and audits, where unsupported software is a standard finding.
Is your cloud provider still patching PostgreSQL 13?
Managed services bought some time. They did not stop the clock.
Amazon RDS and Aurora
AWS ended standard support for RDS for PostgreSQL 13 and moved the remaining instances into RDS Extended Support, which is a paid service. AWS's own recommendation was to upgrade to PostgreSQL 16 or higher.
Azure Database for PostgreSQL flexible server
Microsoft automatically enrols servers on retired versions in extended support once Azure standard support ends. Charges apply unless you upgrade the server to a supported version. Microsoft describes the cover as patching for high-priority CVEs for a limited period after community retirement.
Two points matter when you plan. First, extended support is narrower than a community release: it targets serious security issues, not the full stream of bug fixes. Second, it is time-limited and it costs money. Check your provider's lifecycle page for the dates that apply to your account. Treat extended support as a bridge to an upgrade, not as a place to stay. Self-managed PostgreSQL on virtual machines or physical servers gets none of this.
Find every PostgreSQL 13 instance first
Most estates run more copies of 13 than the asset register shows. Connect to each server and run SHOW server_version_num;. A value from 130000 to 130023 means PostgreSQL 13. Then look beyond production primaries:
- Streaming replicas, DR copies and reporting databases.
- Development, test and CI environments, including container images pinned to a version 13 tag.
- Databases embedded in vendor products, where the vendor controls the upgrade.
- Application drivers and connection poolers, which matter for the password change described below.
A short database health check is a sensible way to build this inventory and flag risks before anyone touches a server.
Which version should you upgrade to from PostgreSQL 13?
Skip 14, because it is past end of life too. For most systems the real choice is 17 or 18. The PostgreSQL documentation confirms you can jump several major versions at once without installing the ones in between. It also says you should read the release notes of every version you skip, especially the Migration sections.
- Choose 18 for a long runway. The community supports it until November 2030. PostgreSQL 19, released on 19 November 2026, is supported until November 2031, but confirm that your extensions, vendors and provider support it first. PostgreSQL 18 also keeps planner statistics through a major version upgrade, so an upgraded cluster gets back to expected performance sooner.
- Choose 17 if a critical extension or vendor application is not yet certified on 18.
- On a managed service, choose from the versions your provider offers and confirm its own support dates for that version.
Changes between PostgreSQL 13 and 18 that can break things
Passwords default to SCRAM (from 14)
PostgreSQL 14 changed the default of password_encryption from md5 to scram-sha-256. Existing hashes survive the upgrade, so the failure often appears weeks later, when someone resets a password and an old driver cannot log in. AWS recommends upgrading client libraries before you upgrade to 14 or later. Test every application driver for SCRAM support first.
The public schema is no longer open to everyone (from 15)
PostgreSQL 15 removed PUBLIC's CREATE permission on the public schema. Upgraded clusters keep their existing permissions, but the new default applies to newly created databases. Deployment scripts and test fixtures that create databases and then write to public can fail with a permission error.
Checksums on by default, MD5 deprecated (18)
In PostgreSQL 18, initdb enables data checksums by default. pg_upgrade needs matching settings, so if your 13 cluster was built without checksums, create the new cluster with the --no-data-checksums option. PostgreSQL 18 also deprecates MD5 password authentication, which will be removed in a future release. Move to SCRAM now rather than in a later upgrade.
Extensions
The pg_upgrade documentation warns that it cannot check whether external modules are binary compatible. Confirm that every extension you use has a build for your target version before you schedule the work.
Pick an upgrade method that fits your downtime
- pg_upgrade: builds new system tables and reuses the existing data files. It is usually the fastest route for large databases, but it needs an outage and both sets of binaries on the host.
- Dump and restore: simple and well understood, but slow for large databases.
- Logical replication: build the new cluster, replicate into it and cut over. It gives the shortest outage but has the most moving parts.
Whichever method you choose, rehearse it on a copy of production, time it and test your rollback. Teams one version ahead face the same decision, covered in our PostgreSQL 14 end of life guide.
A short plan for teams still on PostgreSQL 13
- Inventory every 13 instance, including replicas and non-production copies, and name an owner for each.
- Choose a target version for each system and confirm that extensions and vendors support it.
- Check every application driver for SCRAM support and fix gaps before the upgrade.
- Read the Migration sections of the release notes from 14 up to your target.
- Rehearse on a copy of production. Record timings and run the application test suite.
- Agree a maintenance window and a tested rollback plan.
- Upgrade, then refresh planner statistics with ANALYZE (pg_upgrade to 18 or later carries most of them over) and watch performance closely.
- Decommission the old cluster only after the business signs off.
Our PostgreSQL support team helps organisations in South Africa and internationally with this kind of upgrade, from inventory to cutover.
Frequently asked questions
Is PostgreSQL 13 still supported?
No. PostgreSQL 13 reached community end of life on 13 November 2025 and no longer receives security or bug fixes. Some cloud providers offer paid, time-limited extended support, but the community version is unsupported.
When did PostgreSQL 13 reach end of life?
On 13 November 2025, according to the PostgreSQL versioning policy on postgresql.org.
What was the last PostgreSQL 13 release?
13.23. The PostgreSQL Global Development Group announced it as the final release of PostgreSQL 13.
Can I upgrade directly from PostgreSQL 13 to 17 or 18?
Yes. The PostgreSQL documentation confirms you can skip intermediate major versions, for example with pg_upgrade. Read the Migration notes for every version you skip and test on a copy of production first.
Do AWS and Azure still patch PostgreSQL 13?
Only through extended support. Amazon RDS moved PostgreSQL 13 into paid RDS Extended Support, and Azure enrols servers on retired versions in extended support automatically. Both are paid and time-limited, and both expect you to upgrade.
Need a hand with this?
Tell us what you run today and when it has to move. A senior database DBA will reply directly, usually within one working day. Prefer email or phone? Write to expert@radixtrie.com or call +27 10 143 0304, or use the contact page to book a 30-minute call. We provide DBA services in the United Kingdom, United States, Canada and Australia, as well as South Africa.
TAGSPostgreSQLEnd of lifePostgreSQL 13Upgradespg_upgradeSecurity
