Sub topic 8
Turning on FileVault and Touch ID
This chapter covers two features that protect the data on your Mac: FileVault, which encrypts the startup disk, and Touch ID, which lets your fingerprint stand in for your password in many places. It assumes you have finished Setup Assistant, you are signed in with your Apple Account, and you know the difference between your Apple Account and your Mac user account (covered in the previous chapter).
What each feature protects
The two features guard against different problems.
- FileVault protects data at rest. If someone removes the disk or starts the Mac from other media, they see only encrypted data.
- Touch ID protects convenience and everyday access. It speeds up unlocking and approvals without weakening the password you chose.
FileVault is about what happens when the Mac is lost or stolen. Touch ID is about how you sign in and approve actions day to day. They work together, but turning on one does not turn on the other.
How FileVault works
FileVault encrypts the contents of the startup disk with the XTS-AES-128 algorithm and a 256-bit key. When it is on, your Mac user password (or a recovery key) is required to unlock the disk at startup.
Three details matter in practice:
- Encryption runs in the background. You can keep working while it happens. On a new Mac with little data, it usually finishes quickly.
- Every user who should be able to unlock the disk must be enabled. Other user accounts on the Mac are not enabled automatically. Each one needs to be added and must enter its password once.
- Without a password or recovery key, the data is gone. Apple cannot decrypt the disk for you. This is why the recovery method you pick matters.
Choosing a recovery method
When you turn on FileVault, macOS asks how you want to be able to unlock the disk if you forget your login password. The options depend on your macOS version and settings.
| Method | How it works | Trade-off |
|---|---|---|
| Reset with your Apple Account | You use your Apple Account to reset the password and regain access. | Convenient, but your Apple Account becomes part of your disk recovery path. Protect it with two-factor authentication. |
| Recovery key | macOS shows a 24-character key once. You store it yourself. | Independent of Apple, but you must keep it safe. If you lose both the key and the password, the data is unrecoverable. |
If you pick a recovery key, store it outside the Mac. A password manager or a printed copy in a safe place both work. Do not save it on the encrypted disk itself, because you would need the disk unlocked to read it.
Turning on FileVault
- Open System Settings from the Apple menu.
- Choose Privacy & Security in the sidebar.
- Scroll to FileVault and click Turn On.
- Enter your Mac user password when asked.
- Choose a recovery method: allow your Apple Account to unlock the disk, or create a recovery key.
- If you create a key, copy it somewhere safe before you continue.
- Follow the remaining prompts. Restart if macOS asks you to.
If you used Setup Assistant's defaults on a Mac with an Apple Account sign-in, FileVault may already be on. Check before changing anything.
Checking the status from Terminal
You can confirm the result without opening System Settings. This command reports whether FileVault is on:
fdesetup statusWhen encryption is finished, it prints FileVault is On. While encryption is in progress, it reports the progress instead. If it prints FileVault is Off., go back to the steps above.
Touch ID
Touch ID is the fingerprint sensor built into the keyboard of supported Macs. It is part of a system that stores fingerprint data in the Secure Enclave, a separate security processor. The fingerprint data stays on the Mac. It is not uploaded to iCloud and is not sent to Apple.
Touch ID can be used for:
- Unlocking the Mac and waking it from sleep.
- Approving system prompts that normally ask for your password.
- Paying with Apple Pay in supported apps and on supported websites.
- Autofilling passwords and passkeys in Safari and other apps.
- Purchases in the App Store.
When Touch ID is not enough
Touch ID does not replace the password in every case. macOS asks for your password instead when:
- The Mac has just started up or restarted. The first login after a restart always needs the password, and it is also what unlocks FileVault.
- You have not unlocked the Mac with the password in the last 48 hours.
- Touch ID has failed five times in a row.
- You have just added or removed a fingerprint, in some prompts.
This design means a copied or lifted fingerprint cannot get into a Mac that has been off or untouched for a while.
Adding a fingerprint
- Open System Settings.
- Choose Touch ID & Password.
- Click Add Fingerprint and enter your password.
- Place your finger on the sensor, lifting and resting it repeatedly as the on-screen fingerprint fills in. Vary the angle slightly so the edges are captured.
- Under the list, choose which actions Touch ID may approve, such as unlocking the Mac, Apple Pay, and password autofill.
You can store up to three fingerprints per user account, with a maximum of five across the whole Mac. If you share the Mac, each user adds their own prints.
Tips for reliable recognition
- Clean and dry your finger and the sensor. Wet or oily skin often causes failures.
- Add the same finger twice if it fails often. This gives macOS a second pattern to match.
- Register fingers on both hands if you use an external keyboard on either side.
Touch ID with a closed laptop
A MacBook in clamshell mode, connected to an external display, has its built-in sensor hidden. Use a Magic Keyboard with Touch ID instead. It works with Apple silicon Macs and pairs the sensor to that Mac.
How the pieces fit together
Common problems
- FileVault is greyed out or cannot be turned on. A configuration profile from a school or employer may manage it. Contact whoever manages the Mac.
- Touch ID options are missing. The Mac or keyboard may not have a sensor. Check that you are on a supported model.
- Touch ID stopped working after an update or restart. Enter your password once. Touch ID returns after a successful password login.
- A second user cannot unlock the disk at startup. Open Users & Groups, or use the FileVault settings, to confirm that the user is enabled, then have them sign in once with their password.
- You are unsure whether the recovery key was saved. You can turn FileVault off and on again to generate a new key. Doing so decrypts and re-encrypts the disk, so keep the Mac plugged in.
Verifying your setup
After the steps above, a quick check confirms the state of both features. In System Settings, Privacy & Security shows FileVault as On, and Touch ID & Password lists at least one fingerprint. From Terminal, run fdesetup status as shown earlier. For a general check of the Mac's identity and hardware, system_profiler SPHardwareDataType prints the model, chip, and serial number, which you can compare with the device list in your Apple Account.
Exercise
You turned on FileVault and chose a recovery key. A week later you restart the Mac, and Touch ID is not offered on the login screen. Is something broken, and what should you do?
Show answer
Nothing is broken. After a restart, macOS always requires the password, which also unlocks the FileVault disk. Enter the password once, and Touch ID works again for later unlocks.
Exercise
A coworker says the recovery key can be saved in a text file on the Mac's desktop for safekeeping. Why is that a poor choice, and where should it go instead?
Show answer
The desktop file lives on the encrypted disk, so it cannot be read when the disk is locked, which is exactly when you need it. Store the key outside the Mac, for example in a password manager or on paper in a safe place.
Exercise
Which command tells you whether FileVault is on, and what does it print when encryption is complete?
Show answer
Run "fdesetup status". When encryption is complete it prints "FileVault is On."