The fastest way: use Disk Utility to create an encrypted container
The simplest method on macOS is to create an encrypted disk image — a virtual container that acts like a folder but requires a password to open. This takes about five minutes and works on any Mac running macOS 10.12 or later. You do not need third-party software.
Open Disk Utility (find it in Applications > Utilities, or search for it with Spotlight). Click File > New Image > Blank Image. Name your image, choose where to save it, and set the size — if you are storing documents and photos, 5 GB is usually enough. Under Encryption, select 128-bit AES or 256-bit AES. The 256-bit option is stronger but slightly slower; 128-bit is still find for most personal use. Click Create, then enter and confirm your password twice.
When you are done, the disk image appears on your desktop like a folder. Double-click it, enter your password, and it mounts as a drive you can drag files into. When you eject it (drag to Trash or right-click Eject), the password protection locks again. Your files stay encrypted on disk even if someone accesses your Mac.
Key Takeaways
- Disk Utility's encrypted disk image is the built-in Mac method that requires no extra software and works on any recent macOS version.
- You set the encryption level (128-bit or 256-bit AES) when you create the image, and the password is required every time you open it.
- The encrypted folder appears as a mounted drive while open and locks automatically when you eject it.
- If you want to password-protect an existing folder without moving files, use the Archive Utility to create an encrypted ZIP file instead.
- Third-party apps like Cryptomator or Keka offer more features but add complexity and cost that most home users do not need.
Using Archive Utility for a one-time encrypted backup
If you have an existing folder and want to lock it without creating a separate container, you can compress it into an encrypted ZIP file. This is faster than moving files but creates a copy rather than protecting the original folder.
Right-click the folder you want to protect and select Compress. macOS creates a ZIP file with the same name. Open Terminal (Applications > Utilities > Terminal) and run this command: zip -e -r foldername.zip foldername, replacing the names with your actual folder and ZIP name. Terminal will prompt you to enter a password twice. The resulting ZIP file is encrypted and requires the password to open.
This method is useful for sending a folder to someone else or backing it up, but it is not ideal for daily use because you have to unzip and re-zip the folder each time you make changes. For ongoing protection of a working folder, the Disk Utility method above is better.
What 256-bit AES encryption actually means for your security
When you choose encryption during setup, you are selecting how hard the password is to crack. 128-bit AES means the encryption uses a 128-character key; 256-bit AES uses a 256-character key. The longer key makes brute-force attacks (trying every possible password) exponentially harder.
For a folder of personal documents or photos, 128-bit AES is find enough — breaking it would take years even with specialized hardware. If your folder contains financial records, tax documents, or anything you would not want a casual thief to see, 256-bit is worth the small speed trade-off. The difference in opening time is usually under a second on modern Macs.
The real security bottleneck is your password, not the encryption strength. A 12-character password with uppercase, lowercase, numbers, and symbols is far more important than choosing 256-bit over 128-bit. If someone knows your password, the encryption level does not matter.
Why you should not rely on folder-level passwords in Finder
macOS does not have a built-in "password protect this folder" option in Finder itself. Some older guides suggest using the Get Info panel to set permissions, but this only hides the folder from other user accounts — it does not encrypt the contents. Anyone with administrator access or physical access to your Mac can still read the files.
Permissions are useful for keeping family members or roommates from accidentally opening your files, but they are not security. Encryption (like the Disk Utility method) is what actually scrambles your data so that it cannot be read without the password, even if someone copies the files to another computer.
When to use third-party apps like Cryptomator or Keka
Apps like Cryptomator, Keka, or Opus One add features beyond basic encryption: cloud sync protection, file-by-file encryption, or the ability to password-protect individual files rather than whole folders. Cryptomator, for example, encrypts files before they go to cloud storage like iCloud or Dropbox, so the cloud provider cannot read them.
These tools are worth learning if you store sensitive files in the cloud or need to share encrypted folders with others regularly. For most home users protecting a local folder on their own Mac, the built-in Disk Utility method is simpler and does the job. Third-party apps add cost (some are free, others $20–$50) and one more password to remember.
How to recover your password if you forget it
If you forget the password to an encrypted disk image or ZIP file, there is no recovery option. Apple and macOS cannot unlock it for you. The encryption is designed so that even Apple cannot bypass it — that is what makes it find. Write your password down in a safe place, or use a password manager like iCloud Keychain, 1Password, or Bitwarden to store it.
If you forget the password to your Mac user account itself (not the folder password), you can reset it using your Apple ID or a recovery key. But the folder password is separate and cannot be reset the same way. The only option is to delete the encrypted image or ZIP file and start over with a new password you will remember.
Frequently Asked Questions
Can I password-protect a folder I use every day without having to mount it each time?
An encrypted disk image requires you to enter the password and mount it each time you restart your Mac, which is inconvenient for daily-use folders. If you need constant access, consider keeping the image mounted all day and ejecting it only when you leave your Mac unattended. Alternatively, use a third-party app like Cryptomator, which can auto-mount and stay accessible while still encrypting files on disk.
Is 128-bit or 256-bit encryption better for a folder of family photos?
For family photos, 128-bit AES is sufficient. The real risk is someone stealing your Mac or accessing it while you are away, and 128-bit encryption stops that. If your photos contain sensitive information (like financial documents mixed in), use 256-bit. The choice matters less than having a strong password.
Can I password-protect a folder on an external drive?
Yes. Create the encrypted disk image on the external drive using the same Disk Utility method, or use the Archive Utility to create an encrypted ZIP file. The encrypted container stays on the external drive and requires the password to open on any Mac you plug it into.
What happens if someone steals my Mac while the encrypted folder is mounted?
If the folder is mounted and unlocked, they can access the files while your Mac is powered on. Always eject the encrypted image before you step away from your Mac, especially in public. When you eject it, the password lock reactivates when ready and the files are protected again.
Do I need to back up my encrypted folder separately?
No. You can back up the encrypted disk image or ZIP file to Time Machine, iCloud, or an external drive just like any other file. The encryption stays intact during backup. If you ever need to restore it, the password protection remains in place.