← Back to Recovery methods

FileVault, APFS Encryption and Hardware-Bound Keys

FileVault is a key hierarchy in which the password is an input, not the key that encrypts the data. On Apple silicon and T2 internal storage, recovery can depend on the original hardware and recovery-key state, not only on a copy of the disk; Intel Macs without T2, legacy CoreStorage volumes and removable drives have different dependencies, and unlocking is a separate question from file-system reconstruction.

In short
  • FileVault behaves differently on Apple silicon and T2 internal storage, Intel Macs without T2, legacy CoreStorage volumes and removable APFS.
  • On Apple silicon and T2 internal storage, a valid password or recovery key does not by itself unlock a copy elsewhere.
  • Login password, Secure Token, Personal Recovery Key and Apple Account are different things; record which exist and which were rotated.
  • Unlocking a volume does not prove APFS is healthy, and in-place decryption or First Aid are not mandatory steps.
  • An authorized plaintext export can be the right first copy when ciphertext may be unusable away from the original Mac.
Diagram of the encryption key hierarchy from unlock methods to the volume data key.
FileVault follows the same layered pattern. On Apple silicon and T2 internal storage the key handling runs inside the Secure Enclave and depends on its hardware UID, so the top layer is not a key that can be copied out with a disk image; removable media and Intel Macs without T2 do not use the Secure Enclave this way.

A volume key wrapped through a KEK

Apple documents an encrypted APFS volume as having a volume encryption key (VEK) that protects the volume’s file content and metadata. The VEK is wrapped with a key-encryption key (KEK); on Apple silicon and T2 internal storage with FileVault on, the KEK is protected by a combination of the user’s password and the hardware UID, and the key handling happens in the Secure Enclave rather than being exposed to the CPU (Volume encryption with FileVault in macOS). The password is an authentication input into this hierarchy, not the raw volume key.

Because only the wrapping layer changes, a user can change their password without the whole volume being re-encrypted — one of the design goals Apple lists, and the same general principle as in BitLocker and LUKS (see Encryption Key Hierarchies and Recovery Metadata).

Four storage contexts, plus removable media

“FileVault” covers several implementations, and recovery expectations from one do not carry over to another. The table follows what Apple documents for each and gives no model-year cutoffs: the context is set by the hardware and format actually present.

Scroll horizontally to see the full table →

Where FileVault keys are handled in each context, and what a copy of the storage depends on.
ContextWith FileVault offKey handlingWhat a copy of the storage depends on
Apple silicon Mac, internal storageInternal APFS volumes are still encrypted; the VEK is protected by the hardware UIDSecure Enclave; FileVault adds the user’s password to the KEK protection; volume ownership appliesCiphertext and metadata whose keys are designed to be handled only by that Mac’s Secure Enclave
Intel Mac with T2, internal storageEncrypted in the same way, VEK protected by the hardware UIDSecure Enclave of the T2 chipThe same dependence on the original hardware; Apple-silicon-only points, such as volume ownership, do not transfer automatically
Intel Mac without T2, APFSApple states that FileVault has to be turned on to encrypt the data (Mac User Guide)No dedicated silicon protects the FileVault keys (Encryption and Data Protection overview)With FileVault on: a valid credential or recovery key and intact encryption metadata; no hardware UID binding is documented
Legacy FileVault on CoreStorage (encrypted Mac OS Extended)Not encrypted unless encryption was enabledCoreStorage layer below the file system; keys created when FileVault was turned onA credential or recovery key and intact CoreStorage metadata; APFS tooling and reasoning do not apply, and support depends on the macOS version used to read it
Removable storage, encrypted APFSEncrypted only if it was formatted or converted as encryptedNot the Secure Enclave; Apple says it works as on an Intel Mac without T2The volume’s password and its own encryption metadata; no binding to the Mac that created it is documented

Version matters in both directions. Apple states that APFS in macOS 10.13 or later changed how FileVault keys are generated: on APFS they are created at user creation, when the first password is set or at first login, while on CoreStorage volumes they were created when FileVault was turned on (Managing FileVault in macOS); and Apple has announced that encrypted Mac OS Extended volumes will not be supported in macOS 28 or later, so the system used to read a legacy volume matters (About support for encrypted Mac OS Extended disks). Conversely, Apple documents FileVault being on by default after Setup Assistant on macOS 26.4 or later; that says nothing about older installations, so record the actual state rather than infer it.

What hardware binding does and does not mean

Hardware binding and “encrypted with FileVault off” apply to internal storage connected to the Secure Enclave on Apple silicon and T2 Macs — not to every disk that was ever attached to a Mac. For that storage Apple states that, without valid login credentials or a recovery key, the internal APFS volumes stay encrypted even if the storage is removed and connected to another computer, and lists resistance to brute-force attacks on removed storage as a design goal.

The hardware UID is not a file on the disk or a value that can be imaged alongside the storage; it is reachable only through the Secure Enclave’s own key handling. A confirmed login password or Personal Recovery Key is therefore an input that works through that Mac’s Secure Enclave. It does not, by itself, make removed storage components or an image of them independently decryptable. For this class of hardware, keeping the original Mac and its logic board intact can matter as much as keeping the storage; for the cross-platform picture, see Hardware-bound protectors change what “offline” means.

Secure Token, volume ownership and the credentials people hold

Several different things are often called “the FileVault key”. Keeping them apart avoids looking for the wrong one:

  • Credential. The user’s login password, or a recovery key, proves authorization and supplies input to the hierarchy. It is not the KEK and not the VEK.
  • Secure Token. Apple defines it as a wrapped version of a KEK protected by a user’s password.
  • Volume ownership (Apple silicon). Apple describes volume owners, loosely, as the user who first set up the Mac plus accounts later granted ownership, and notes this is not legal ownership or chain of custody. On Apple silicon the user must be a volume owner to unlock FileVault (Use secure token, bootstrap token, and volume ownership in deployments).
  • Bootstrap token (managed Macs). In supervised deployments it can grant Secure Tokens and volume ownership to other accounts. It is a management credential for granting authorization, not a decryption key for the volume.

A recovery key, a login password and an Apple Account are also not interchangeable. Depending on how FileVault was set up, the owner may have chosen the iCloud account option, or a recovery key was created and stored by the user, by the organization or, per Apple, in the keychain where iCloud Keychain can synchronise it. Each is a separate route with its own conditions; an Apple Account password is not the recovery key.

Personal Recovery Key and escrow records

A Personal Recovery Key (PRK) is an alternate unlock path for one encrypted volume. In managed deployments the Mac can encrypt the PRK to a certificate supplied by the device-management service and return it for escrow; Apple notes that decrypting it may need additional administrator steps, so an escrowed PRK is not automatically readable by whoever administers the Mac. The service can optionally rotate the PRK, for example after it has been used (Manage FileVault with device management).

An escrow record is useful only if it belongs to the right Mac and volume and is still current. Preserve the record together with its context — which device it was escrowed from, when, and whether a later rotation replaced it — rather than just the key string. Institutional Recovery Keys are supported on CoreStorage and APFS volumes but no longer recommended, and Apple states that on Apple silicon they provide no functional value, because they cannot be used to reach recoveryOS and target disk mode is not supported (Managing FileVault in macOS).

Apple documents using a PRK in recoveryOS through Recovery Assistant or “Forgot All Passwords”, and, on Apple silicon with macOS 12.0.1 or later, at the FileVault screen to start up directly. On Apple silicon with macOS 26 or later, an SSH unlock after restart works only if Remote Login was already on and the network is available (Intro to FileVault). These are existing paths; changing access settings on a damaged Mac to create new ones is a separate decision with its own risks.

Unlock and APFS reconstruction are separate problems

A file-system tool cannot interpret ciphertext as APFS structures, so analysis needs a correct decrypted representation of the volume. That is a dependency, not a fixed “decrypt, then repair” sequence. The work separates into distinct questions:

  • Which logical object is this? Partition, APFS container, volume and its role, or a CoreStorage logical volume — and whether it is encrypted at all. Partition, container and encryption metadata can need analysis before any unlock is attempted; for example, the APFS container superblock records where the container’s keybag is located (Apple File System Reference).
  • Can it be unlocked through an authorized path? The right credential, PRK or escrow record, and, for Apple silicon and T2 internal storage, the original Mac.
  • What needs to be preserved, and in which form? See the next section.
  • Is the decrypted file system consistent? This is a separate APFS question about checkpoints, object maps and trees, covered in APFS Containers, Object Maps and Recovery States.

Neither in-place decryption (turning FileVault off) nor First Aid is a required stage of recovery. Both change the source, and a repair can make a volume mountable by discarding damaged objects. A successful unlock shows that the key path works; it does not show that the APFS structures behind it are healthy.

Encrypted image, decrypted image, file export and backup

These four kinds of copy preserve different things and leave different dependencies behind.

Scroll horizontally to see the full table →

What each kind of copy holds, and what it still depends on.
CopyWhat it holdsDependencies that remain
Encrypted physical imageCiphertext of the readable ranges, plus partition, container and encryption metadataA valid credential and intact metadata; on Apple silicon and T2 internal storage also the original Secure Enclave, which the image does not contain
Decrypted volume imagePlaintext view of one volume as unlocked at that moment, including structures a file copy would missNone on the key path, but it reflects one volume and one state; it holds plaintext and must be protected as such
File exportThe selected files and the metadata the copy method keepsNone on the key path; no deleted data, snapshots or unexported files
Existing backupA point-in-time copy made by its own softwareIts own encryption and credentials, and its own date; it is not the same state as the source

There is no universal “full ciphertext image first” rule here. When the original Mac still unlocks the volume but the storage is degrading, or access may not be repeatable, an authorized plaintext export or decrypted image of the needed data can be the right first preservation — especially on Apple silicon and T2 internal storage, where a ciphertext image may have little independent value. When the source is stable and the key path is not in doubt, a ciphertext image with its metadata keeps more options. The general trade-offs are in What a Disk Image Preserves — and What It Does Not and Live Systems, Snapshots and Consistent Recovery Copies.

Validating the result, and what cryptographic erase does not reach

An unlocked volume or a completed export is an intermediate result. Check that the files that matter open and are readable, that their scope and dates match what was expected, that they come from the right volume and user account, and that any ranges or files that could not be read are recorded — as described in How to Validate Recovered Data.

Apple documents that when a volume is deleted on Secure Enclave-managed storage, its VEK is securely deleted, and that all VEKs are wrapped with a media key whose erasure makes the volumes cryptographically inaccessible. Ciphertext that physically survives such an erase is not a recovery path. But a cryptographic erase acts on that source only: backups, exported files, synced copies and other devices are not destroyed by it and can be the remaining place the data exists.

Practical rule

Establish which FileVault context you are dealing with before choosing what to preserve. On Apple silicon and T2 internal storage, the original Mac, a current recovery-key record and an authorized unlock can matter more than a ciphertext image; on the other contexts, the credential and the volume’s own metadata carry the dependency.

Technical references: Apple Platform Security: Volume encryption with FileVault in macOS — VEK, KEK, hardware UID, removable storage, deletion · Apple Platform Security: Managing FileVault in macOS — Secure Token, PRK, IRK limits · Apple Platform Deployment: Manage FileVault with device management — PRK escrow, rotation, recoveryOS use · Apple Platform Deployment: Use secure token, bootstrap token, and volume ownership — volume owners, bootstrap token. Apple’s pages were checked in October 2026 and describe current macOS; key handling, defaults and supported options differ between macOS versions and Mac generations, so check the documentation for the exact system involved.

Related: Encryption Key Hierarchies and Recovery Metadata · APFS Container or Volume Corruption (macOS) · Locked Out of an Encrypted Volume · Computer Won’t Boot · APFS Containers, Object Maps and Recovery States · Encryption and Ransomware Recovery Tools