Guides / Linux servers

End-of-life dates of Linux releases: Debian, Ubuntu, RHEL, Rocky, Alma, Alpine

beginnerUpdated 26 Nov 20261207 words

A release past its end of life stops getting security fixes. Every new vulnerability in its packages stays open, and apt upgrade or dnf upgrade reports that everything is up to date. The tables below list the dates of the releases you are likely to run, as of November 2026, with the page each date comes from.

Find out which release you run

On the server:

cat /etc/os-release

The lines PRETTY_NAME and VERSION_ID name the release. On Alpine, cat /etc/alpine-release prints the full version (3.24.3).

A container image has its own release, independent of the host. For an image with a shell:

docker run --rm --entrypoint cat nginx:1.27 /etc/os-release

Images without cat (distroless, scratch) need a scanner such as Trivy, which reads the release from the image layers and prints it next to the image name in its report.

Debian

Debian supports a release with security updates for about three years. After that, the Debian LTS team continues the security updates for a subset of packages until about five years after the release.

Release Released Regular security support LTS ends
Debian 11 bullseye 2021-08-14 ended 2024-08-14 2026-08-31 (ended)
Debian 12 bookworm 2023-06-10 ended 2026-06-10 2028-06-30
Debian 13 trixie 2025-08-09 until August 2028 (planned) 2030-06-30

As of November 2026, Debian 11 is past the end of LTS. Extended LTS (ELTS), a commercial offering of Freexian outside the Debian project, covers it until 2031-06-30. Debian 12 is in LTS: if the server already follows security.debian.org, the LTS updates arrive through bookworm-security without a change. LTS does not cover every package; the debian-security-support package installs check-support-status, which lists the installed packages with limited or ended support.

Ubuntu

Ubuntu LTS releases get five years of standard security maintenance. Ubuntu Pro adds Expanded Security Maintenance (ESM) for five more years; it has to be enabled per machine with pro attach.

Release Released Standard security maintenance ESM (Ubuntu Pro)
Ubuntu 20.04 LTS April 2020 ended May 2025 May 2030
Ubuntu 22.04 LTS April 2022 May 2027 May 2032
Ubuntu 24.04 LTS April 2024 May 2029 May 2034
Ubuntu 26.04 LTS April 2026 May 2031 May 2036

The interim releases 25.04 and 25.10 are past their end as of November 2026. To see whether a machine has ESM enabled, run pro status.

Red Hat Enterprise Linux and its rebuilds

RHEL has ten years of maintenance per major release. Rocky Linux and AlmaLinux follow the same dates.

Release Released Security updates until Paid extension
RHEL 8 2019-05-07 2029-05-31 ELS add-on until 2033-05-31
RHEL 9 2022-05-18 2032-05-31 ELS add-on until 2036-05-31
RHEL 10 2025-05-20 2035-05-31 ELS add-on until 2039-05-31
Rocky Linux 8 2021-05-01 2029-05-31
Rocky Linux 9 2022-07-14 2032-05-31
Rocky Linux 10 2025-06-11 2035-05-31
AlmaLinux 8 2029-05-31
AlmaLinux 9 2032-05-31
AlmaLinux 10 2035-05-31

Rocky Linux and AlmaLinux publish updates for the latest minor release only (Rocky 9.9 and 10.3 as of November 2026). A server that pins an older minor release through a fixed repository URL stops getting fixes even though the major release is supported.

CentOS Linux 7 ended on 2024-06-30, CentOS Linux 8 on 2021-12-31 and CentOS Stream 8 on 2024-05-31. Their packages moved to vault.centos.org, which does not get updates.

Alpine Linux

Alpine publishes two stable branches a year. The main repository of each branch gets fixes for about two years; the community repository only until the next stable branch comes out.

Branch Released Main repository supported until
3.20 2024-05-22 2026-04-01 (ended)
3.21 2024-12-05 2026-11-01 (ended)
3.22 2025-05-30 2027-05-01
3.23 2025-12-03 2027-11-01
3.24 2026-06-09 2028-06-01

Alpine is common as a container base image. An image built two years ago on alpine:3.20 is past its end of life even when the host is current.

Amazon Linux

Amazon Linux 2 reached its end of support on 2026-06-30. Amazon Linux 2023 gets quarterly minor updates until 2027-06-30 and security fixes until 2029-06-30.

What to do with a release near its end

Start a year ahead: a major upgrade on a production server needs a test run first. There are two ways forward.

  • Build a new server with the current release, move the service and the data, switch DNS, and delete the old server. The old server stays as a fallback until the new one works.
  • Upgrade in place. Debian supports upgrades one release at a time (12 to 13, not 11 to 13) by following the upgrade chapter of the release notes. Ubuntu uses do-release-upgrade between LTS releases. RHEL uses the Leapp tool (leapp preupgrade, then leapp upgrade); for AlmaLinux and Rocky Linux, the ELevate project of AlmaLinux provides Leapp with the data for these distributions. On Alpine, change the branch in /etc/apk/repositories (for example v3.23 to v3.24), then run apk update and apk upgrade --available.

Take a snapshot or a backup before an in-place upgrade, and read the release notes of the target release for removed packages and changed defaults.

For container images, change the version in the FROM line, rebuild, run the tests of the application and deploy. The guides on choosing base images and keeping images updated cover that side.

When a move is not possible in time, paid extensions buy time: Ubuntu Pro (ESM) for Ubuntu, the Extended Life Cycle Support add-on for RHEL, and Freexian ELTS for Debian. They cover security fixes for a defined set of packages; read the list before you rely on it.

Patchbrief compares the release of each server and each running image with these dates and warns before the end date arrives.

Sources

Check your servers every day

The agent of Patchbrief reports the packages and settings of a server once a day; the digest names what to fix first.

Start free