Sub topic 3
Turning on FileVault
This chapter assumes you can navigate System Settings, you are signed in with an Apple Account, you have administrator access, and you can run a Terminal command. You will turn on FileVault, see what happens during encryption, and check the result. The next chapter covers recovery methods in more depth.
What FileVault changes
FileVault is the macOS feature that encrypts your startup disk. Without it, someone who has your Mac can often read your files by starting it in another mode or by removing the drive. With it, the disk contents are unreadable without a login password or a recovery method.
On Apple silicon Macs and Macs with a T2 chip, the internal storage is already encrypted by dedicated hardware. That encryption alone is tied to the hardware, not to your password. Turning on FileVault ties the encryption keys to your login password, so the data can't be read without it. Turn it on regardless of your Mac model.
Steps in System Settings
- Open System Settings and choose Privacy & Security.
- Scroll to FileVault and click Turn On.
- Enter your administrator password when asked.
- Choose a recovery method. You can allow your iCloud account to unlock the disk, or create a recovery key and not use iCloud.
- If you choose a recovery key, write it down and store it somewhere safe. Do not keep it only on this Mac.
- Click Continue and then confirm. If the Mac asks to restart, let it.
What to expect during encryption
Encryption runs in the background, and you can keep working. The Mac may run slower and use more battery until it finishes. Keep it plugged in and awake if you can. If you close the lid or shut down, encryption pauses and resumes later.
After FileVault is on, the Mac asks for your password at startup before it loads your account. On many Macs, automatic login is turned off as part of this.
Other user accounts
FileVault is enabled per disk, but each user must be allowed to unlock it. The account you used to turn it on is enabled automatically. For other accounts, click Enable Users... in the FileVault settings and have each person enter their password. Accounts that are not enabled can't log in at the startup screen.
Verify from Terminal
Check the state of the disk with fdesetup:
fdesetup statusYou will see one of these results:
| Output | Meaning |
|---|---|
| `FileVault is On.` | The disk is fully encrypted. |
| `FileVault is Off.` | FileVault is not enabled. |
| `Encryption in progress: Percent completed = ...` | FileVault is on and the disk is still being encrypted. |
To list which accounts can unlock the disk, run the following command. It needs administrator rights.
sudo fdesetup listCommon problems
- Turn On is greyed out or missing. Your account may not be an administrator, or a work or school profile manages the setting. Ask the administrator of that profile.
- The status stays at a low percentage. Encryption pauses while the Mac sleeps or is off. Leave it on power and awake.
- A user can't log in after the restart. That user was not enabled. Log in with an enabled account and use Enable Users....
- You forgot your password. Only your recovery method can unlock the disk. If you lose both the password and the recovery method, the data is not recoverable.
Exercise
You run fdesetup status an hour after turning on FileVault and see "Encryption in progress: Percent completed = 40". Is the disk protected yet, and what should you do?
Show answer
Encryption is still running, so the disk is not fully encrypted yet. Keep the Mac plugged in and awake so the process can finish, then run fdesetup status again until it reports "FileVault is On."
Exercise
A second user on your Mac can't log in at the startup screen after you turned on FileVault. What is the likely cause and the fix?
Show answer
That user was not enabled to unlock the disk. Log in with an enabled account, open Privacy & Security, click Enable Users... under FileVault, and have that user enter their password.