Steps checked against Microsoft, Apple and Red Hat documentation on December 4, 2026. Menu names can change between versions.
What hard drive encryption does
Hard drive encryption scrambles everything stored on a drive so it can only be read with the right password, key or login. If your laptop is lost or stolen, or a drive is thrown out, the data stays unreadable. Windows uses BitLocker, Macs use FileVault, and Linux commonly uses LUKS (Microsoft Learn).
Encryption protects a drive that is switched off or locked. It does not stop malware or a scammer while you are signed in. It also does not replace backups: if you lose the password or recovery key, the data is gone for good, so the recovery key section below matters most.
Get the free 5-minute weekday brief
Scam alerts you can act on, major breaches, and our free Scam Survival Kit (PDF). Free, every weekday.
By subscribing you agree to our Privacy Policy.
For everyday readers, small businesses and security teams. Unsubscribe anytime.
Quick comparison
| System | Built-in tool | Where to turn it on | Notes |
|---|---|---|---|
| Windows 10 / 11 Home | Device Encryption | Settings > Privacy & security > Device encryption | Needs a supported device. On by default when you sign in with a Microsoft account on supported hardware. |
| Windows 10 / 11 Pro, Enterprise, Education | BitLocker Drive Encryption | Start, type BitLocker, select Manage BitLocker, then Turn on BitLocker | Lets you encrypt specific drives manually. |
| macOS | FileVault | Apple menu > System Settings > Privacy & Security > FileVault | Macs with Apple silicon or a T2 chip encrypt data automatically. |
| Linux | LUKS (dm-crypt) | Usually chosen when installing; later via cryptsetup | Encrypting an existing disk can destroy data. Back up first. |
BitLocker and Device Encryption on Windows
Microsoft describes two options. Device Encryption is designed for simplicity and is usually enabled automatically; BitLocker Drive Encryption is for advanced scenarios and lets you manually encrypt drives (Microsoft: BitLocker overview).
Windows Home (Device Encryption). When you set up a device with a Microsoft account, or a work or school account, Device Encryption is turned on and a recovery key is attached to that account. With a local account it is not turned on automatically. To check or enable it, sign in as an administrator, open Settings, select Privacy & security, then Device encryption, and turn the toggle on. If the setting is missing, it is unavailable on your device or you are signed in as a standard user (Microsoft: Device Encryption in Windows).
Windows Pro, Enterprise or Education (BitLocker). Sign in as an administrator, type BitLocker in Start and select Manage BitLocker. Next to the drive, select Turn on BitLocker, choose an unlock option, and back up the recovery key. Encryption starts, takes time, and you can keep using the device while it runs. BitLocker Drive Encryption is not available on Windows Home (Microsoft: BitLocker Drive Encryption).
Microsoft says BitLocker provides maximum protection when used with a Trusted Platform Module (TPM), a common hardware component on Windows devices, and can also require a PIN or a removable key at startup (Microsoft Learn).
FileVault on a Mac
Apple says that if you have a Mac with Apple silicon or an Apple T2 Security Chip, your data is encrypted automatically, and turning on FileVault adds an extra layer by requiring your login password to decrypt it. On a Mac without those chips, you need to turn FileVault on yourself (Apple Support: FileVault).
- Choose Apple menu > System Settings.
- Click Privacy & Security in the sidebar, then click FileVault (you may need to scroll).
- Turn on FileVault and enter your password if asked.
- Choose how to unlock your disk if you forget your login password: your iCloud account, or a recovery key.
LUKS and built-in encryption on Linux
LUKS (Linux Unified Key Setup) is a widely used disk-encryption format on Linux. Red Hat explains that LUKS encrypts entire block devices, which suits laptop drives and removable media, and that by default the encrypt option is unchecked during installation, so the best time to turn it on is when you install (Red Hat: Encrypting block devices using LUKS).
Warning for existing disks. Formatting a device with cryptsetup luksFormat irrevocably overwrites what is on it, and cannot be run on a mounted or in-use device (cryptsetup-luksFormat manual). Red Hat’s guide to encrypting existing data warns that you might lose data due to hardware, kernel or human failure, and tells you to have a reliable backup first. If you are not comfortable with the command line, back up your files and reinstall with encryption selected instead.
Red Hat also notes a limit: LUKS protects data only when the system is off. Once the system is on and the disk is unlocked, files are available to anyone who has access to them.
Recovery keys: how to store them safely
- Windows: Microsoft says that if BitLocker detects unauthorized access or hardware changes it will ask for the recovery key, and without it you cannot access the drive (Microsoft). Make sure the key is backed up to your Microsoft account, saved to a file in another location, or printed.
- Mac: Apple says to keep a copy of the recovery key somewhere other than your encrypted startup disk, and not in the same place as your Mac. If you forget both your password and the key, you cannot log in and your files and settings are lost forever (Apple).
- Linux: keep your passphrase in a password manager, and consider a backup key slot, since LUKS supports multiple key slots.
- Never store the only copy on the encrypted drive itself.
Encrypting vs a password on the account
A Windows or Mac login password only stops people who sign in through the normal screen. Someone with physical access could take the drive out and read it elsewhere. Disk encryption closes that gap. Use both, plus a strong, unique password; see our password best practices.
When an external-drive guide is the better fit
This guide covers the drive inside your computer. If you want to protect a USB stick or portable drive that you carry around, see our guide on how to encrypt an external hard drive. For background on the algorithms, see common encryption methods.
Frequently asked questions
How do I encrypt a hard drive on Windows or a Mac?
Is BitLocker available on Windows Home?
BitLocker Drive Encryption is only available on Windows Pro, Enterprise and Education. Windows Home can use Device Encryption on supported devices. Source: Microsoft.
Do Macs encrypt the drive automatically?
Apple says Macs with Apple silicon or an Apple T2 Security Chip encrypt data automatically; FileVault adds an extra layer by requiring your login password. Other Macs need FileVault turned on. Source: Apple.
What happens if I lose my recovery key?
Can I encrypt a Linux drive that already has data on it?
It is possible but risky. Red Hat warns you might lose data during the process and says to have a reliable backup first. Formatting with cryptsetup luksFormat overwrites the device. The safest route is to select encryption when installing. Sources: Red Hat and cryptsetup manual.
Does hard drive encryption protect me from malware?
No. It protects data when the device is off or locked, for example if it is stolen. Once you are signed in and the drive is unlocked, malware or an attacker with access to your session can read files. Use updates, security software and careful habits too.
Sources
- Microsoft Support: Device Encryption in Windows
- Microsoft Support: BitLocker Drive Encryption
- Microsoft Support: BitLocker overview
- Microsoft Learn: BitLocker device encryption
- Apple Support: Protect data on your Mac with FileVault
- Red Hat: Encrypting block devices using LUKS
- cryptsetup-luksFormat(8) manual page
Start your morning with the signal that matters.
Get the biggest cybersecurity developments, why they matter, and where to go deeper on CyberExperts.
By subscribing you agree to our Privacy Policy.
For everyday readers, small businesses and security teams. Unsubscribe anytime.