Debian 13 vs Debian 12: Should You Upgrade Your VPS

In late 2026, use Debian 13 "Trixie" for any new VPS: it is the current stable release, receives full security support from the Debian Security team until 9 August 2028 and Long Term Support until 30 June 2030. Debian 12 "Bookworm" left regular security support on 11 July 2026 and is now covered only by Debian LTS until 30 June 2028, so existing Bookworm servers keep receiving security fixes but should be upgraded to Debian 13 within that window.

Debian 13 vs Debian 12 at a glance

Feature Debian 13 Trixie Debian 12 Bookworm
Status in November 2026 Debian 13 is the current stable release Debian 12 is oldstable and in Long Term Support
Initial release Debian 13 was released on 9 August 2025 Debian 12 was released on 10 June 2023
Full security support Debian 13 has full support until 9 August 2028 Debian 12 full support ended on 11 July 2026
Long Term Support end Debian 13 LTS ends on 30 June 2030 Debian 12 LTS ends on 30 June 2028
Linux kernel Debian 13 ships Linux 6.12 LTS Debian 12 ships Linux 6.1
PHP Debian 13 ships PHP 8.4 Debian 12 ships PHP 8.2
Python Debian 13 ships Python 3.13 Debian 12 ships Python 3.11
PostgreSQL Debian 13 ships PostgreSQL 17 Debian 12 ships PostgreSQL 15
MariaDB Debian 13 ships MariaDB 11.8 Debian 12 ships MariaDB 10.11
Nginx Debian 13 ships Nginx 1.26 Debian 12 ships Nginx 1.22
OpenSSH Debian 13 ships OpenSSH 10.0p1 Debian 12 ships OpenSSH 9.2p1
OpenSSL Debian 13 ships OpenSSL 3.5 Debian 12 ships OpenSSL 3.0
systemd Debian 13 ships systemd 257 Debian 12 ships systemd 252
Best for Debian 13 suits new servers and anything that must stay supported past mid-2028 Debian 12 suits existing servers that are waiting for a planned upgrade

Support timeline: why the date matters now

Every Debian stable release gets about five years of security updates in two phases. For the first three years the Debian Security and Release teams publish fixes and point releases. After that, the volunteer-driven Debian LTS team takes over for the remaining time, on a reduced set of architectures and with some packages excluded from coverage.

Debian 12 reached that handover on 11 July 2026, together with its fifteenth and final point release, Debian 12.15. Debian LTS covers Bookworm until 30 June 2028, and the Debian project itself encourages Bookworm users to move to Debian 13. You can run the debian-security-support package on a Bookworm server to see which installed packages are not covered by LTS.

Debian 13 is at the start of its life cycle: full support runs until 9 August 2028, followed by LTS until 30 June 2030. A VPS installed with Debian 13 today has more than three and a half years of security updates ahead of it without another major upgrade.

What changed in Debian 13 for servers

The most visible change is fresher software. Debian 13 moves to the Linux 6.12 LTS kernel, PHP 8.4, Python 3.13, PostgreSQL 17, MariaDB 11.8, Nginx 1.26, OpenSSL 3.5, OpenSSH 10.0p1, systemd 257 and OpenJDK 21. For web hosting, application servers and databases this removes much of the need for third-party repositories that many Debian 12 servers relied on to get a newer PHP or database version.

Several defaults also changed, and these matter on a VPS:

  • /tmp is stored in memory. On Debian 13, /tmp is a tmpfs that can use up to 50% of RAM by default, so on a small VPS large temporary files can put pressure on memory. On upgraded systems this takes effect after the reboot.
  • /tmp and /var/tmp are cleaned regularly. Old files in these directories are now removed automatically, so do not keep anything there that you need to persist.
  • DSA SSH keys no longer work. OpenSSH in Debian 13 has dropped DSA key support completely. Switch any remaining DSA keys to Ed25519 before you upgrade, or you can lock yourself out.
  • /etc/sysctl.conf is no longer read. Kernel tuning such as network buffers or forwarding must be moved to files in /etc/sysctl.d/.
  • Network interface names may change. The release notes warn that some systems get new interface names after the upgrade reboot, which can break network configuration.
  • 64-bit time_t. All architectures except i386 now use a 64-bit time_t, which supports dates beyond 2038.
  • i386 is no longer a full architecture. 32-bit x86 is only supported as a co-architecture on amd64, so 32-bit server installs need to be reinstalled as amd64.

How to upgrade a VPS from Debian 12 to Debian 13

Debian supports upgrading in place from Bookworm to Trixie with APT. A direct jump from Debian 11 to Debian 13 is not supported: upgrade to Debian 12 first. The official procedure, condensed:

  1. Take a full backup or snapshot of the server and make sure you have console access in case SSH does not come back.
  2. Update Debian 12 to its latest point release with apt update && apt full-upgrade, then reboot if a new kernel was installed.
  3. Remove packages that do not come from Debian, check for problems with dpkg --audit and review held packages with apt-mark showhold.
  4. Point your APT sources to trixie, trixie-updates and trixie-security instead of the bookworm suites, then run apt update.
  5. Start a screen or tmux session so the upgrade survives a dropped SSH connection.
  6. Run the minimal upgrade first with apt upgrade --without-new-pkgs, then the full upgrade with apt full-upgrade, and read any proposed package removals before confirming.
  7. Check that a kernel metapackage such as linux-image-amd64 is installed, then reboot into the Debian 13 kernel.
  8. Clean up with apt autoremove, optionally convert sources to the deb822 format with apt modernize-sources, and purge obsolete packages.

Before the reboot, read the "Issues to be aware of for trixie" chapter of the official release notes. Services with special upgrade paths, such as RabbitMQ, Dovecot, Samba AD and MariaDB, have their own notes there.

Upgrade in place or reinstall?

An in-place upgrade keeps your configuration, users and data and is the usual choice for a single, well-understood server. A clean reinstall of Debian 13 is often faster and safer when the server has years of manual changes, third-party repositories or packages you no longer need. In that case, deploy a fresh Debian 13 VPS, migrate the application and data, test, then switch DNS.

Which one should you choose?

  • Choose Debian 13 for every new VPS, for servers that need PHP 8.4, PostgreSQL 17, MariaDB 11.8 or a newer kernel, and for anything that must remain supported beyond June 2028.
  • Stay on Debian 12 for now only if the server runs software that is not yet ready for Debian 13, and plan the upgrade well before Debian 12 LTS ends on 30 June 2028.

Comparing Debian with other distributions? See Debian 12 vs Ubuntu 24.04 LTS and AlmaLinux vs Rocky Linux.

On an INET.WS KVM VPS you get full root access, and Debian 13 is available as a one-click OS image in the Client Area, alongside Debian 11 and 12, Ubuntu LTS, AlmaLinux, Rocky Linux, Fedora, CentOS Stream and FreeBSD. Deploy a fresh Debian 13 server for a clean start, or take an on-demand snapshot (kept for 48 hours) before upgrading an existing Debian 12 server in place as described above, so you can roll back if something goes wrong. Free weekly backups, 14 locations in North America and Europe and 24/7 support from engineers come with every plan.

Need a server for this guide? INET.WS runs Linux and FreeBSD VPS in 14 cities: VPS in the USA, VPS in Canada and in Europe. Data centers, disk types and test IPs of every location: All VPS locations.

Rating: No ratings yet

Frequently Asked Questions (FAQ)

Should I use Debian 13 or Debian 12 on a new VPS?

Use Debian 13 “Trixie” on a new VPS. It is the current stable release with full security support until 9 August 2028 and Long Term Support until 30 June 2030, while Debian 12 is already in its Long Term Support phase, which ends on 30 June 2028.