PostgreSQL 15 vs 16

Support windows, end-of-life dates and latest versions side by side.

Which should you run?

Pick PostgreSQL 16 for new installs. It's supported until Nov 9, 2028, 11 months longer than 15, which ends Nov 11, 2027.

PostgreSQL 15 PostgreSQL 16
ReleasedOct 13, 2022Sep 14, 2023
StatusSupportedSupported
Active support until——
End of lifeNov 11, 2027
in 11 months
Nov 9, 2028
in 1 year
Total support5 years5 years, 1 month
Latest version15.20
Nov 9, 2026
16.16
Nov 9, 2026
LTSNoNo

How to upgrade from PostgreSQL 15 to 16

Minor releases (e.g. 16.x to 16.16) never need a dump or pg_upgrade: install the packages and restart. A new major version does.

Ubuntu / Debian (PGDG repository)

sudo apt update
sudo apt install --only-upgrade postgresql-16
sudo systemctl restart postgresql

New major version on Ubuntu / Debian

sudo apt install postgresql-16
pg_lsclusters

Then run sudo pg_upgradecluster <old-version> main. It migrates the old cluster onto version 16.

Docker

docker pull postgres:16

Official upgrade guide ↗ Back up first, and test on a non-production machine when you move to a new branch.

Quick answers

Should I use PostgreSQL 15 or 16?
Pick PostgreSQL 16 for new installs. It's supported until Nov 9, 2028, 11 months longer than 15, which ends Nov 11, 2027.
How long are PostgreSQL 15 and 16 supported?
PostgreSQL 15: supported until Nov 11, 2027. PostgreSQL 16: supported until Nov 9, 2028.
What are the latest PostgreSQL 15 and 16 versions?
PostgreSQL 15 is at 15.20 (Nov 9, 2026), and PostgreSQL 16 is at 16.16 (Nov 9, 2026).

More PostgreSQL comparisons

Official release policy · Checked 3 hours ago