Skip to main content
Ubuntu

How to Enable TPM-Backed Full Disk Encryption in Ubuntu 26.04 LTS

In this article, learn how to enable TPM-backed full disk encryption on Ubuntu 26.04 LTS and use 'snap-tpmctl' to add a PIN and replace recovery keys.

β€” Ravi Saive

Typing a disk passphrase every time Ubuntu starts can become annoying, but leaving the disk unencrypted puts your data at risk if the laptop is lost or stolen.

Ubuntu 26.04 LTS provides another option: TPM-backed full disk encryption, which can unlock the encrypted disk automatically on supported hardware.

When you install Ubuntu with the traditional encrypted disk option, you normally create a passphrase that must be entered before the system can boot. This gives you strong protection because the data remains unreadable without that passphrase, but having to type it at every startup can be inconvenient.

Because of this extra step, some users avoid disk encryption completely, which is not a good compromise because anyone with physical access to an unencrypted drive may be able to read the files stored on it.

Ubuntu 26.04 LTS, code-named Resolute Raccoon, introduces TPM-backed full disk encryption (TPM/FDE) as another way to protect the system.

Instead of relying only on a passphrase, the encryption key is protected by the computer's Trusted Platform Module (TPM), which is a small security component built into most modern computers.

There are also two important requirements to keep in mind before installing Ubuntu this way.

  • First, TPM-backed encryption must be enabled during the Ubuntu installation process and cannot simply be turned on later for an existing installation.
  • Second, fully automatic unlocking depends on additional hardware support. If your computer does not meet that requirement, the installer can instead configure the encrypted disk to use a PIN or passphrase that you enter during startup.

In this guide, we will look at how the TPM decides whether it should release the encryption key, check whether your computer supports the required features, enable TPM-backed full disk encryption from the Ubuntu installer, and then use the snap-tpmctl tool to verify the configuration, replace the recovery key, add a PIN, and recover the encrypted data from another Ubuntu system.

How TPM-Backed Full Disk Encryption Works

Updated on Nov 18, 2026