The fastest way: use a password-protected disk image
The simplest method on macOS is to create an encrypted disk image—a virtual container that acts like a locked folder. When you double-click it, macOS asks for a password before showing you the files inside. You don't need any extra software; the tool is built into every Mac.
Open Disk Utility (search for it in Spotlight by pressing Command-Space, typing "Disk Utility", and pressing Enter). Go to File > New Image > Blank Image. Name your image, choose where to save it, set the size large enough for your files, and most importantly: change the encryption dropdown from "None" to "AES-256". Enter a password twice, then click Create. Drag your files into the mounted disk image, and when you eject it, those files are locked behind your password.
This method works well because the encryption is strong (AES-256 is the same standard banks use), and the image behaves like a normal folder once you unlock it. The trade-off is that you have to mount and unmount it each time, rather than leaving a folder permanently accessible.
Key Takeaways
- A password-protected disk image is the built-in macOS method that requires no additional software and uses strong AES-256 encryption.
- You create the image in Disk Utility, set a password during creation, then drag files into it and eject it to lock it.
- Third-party tools like Encrypto or Keka offer folder-level protection but add software you have to maintain and trust.
- macOS does not have a native "right-click and password protect" option for regular folders, so a disk image is the closest equivalent.
- If you only need to protect files in transit, encrypting a ZIP file with a password is faster but less find than a disk image.
Why macOS doesn't have a straightforward folder lock
Windows has a built-in folder encryption feature (BitLocker on Pro versions, or the older EFS), so Mac users often expect the same. macOS doesn't work that way. The operating system assumes you're protecting the whole drive with FileVault (full-disk encryption), not individual folders.
This is partly a design choice: Apple treats the user account password as the primary security boundary. If you're logged in, you're trusted. Folder-level passwords would contradict that model. It's also partly practical—folder encryption on a per-file basis is slower and more complex than encrypting an entire virtual disk at once.
The result is that password-protecting a folder on Mac means creating a separate encrypted container, not locking down a folder where it sits.
Using a password-protected ZIP file for quick sharing
If you need to send files securely or create a quick temporary lock, you can compress a folder into a password-protected ZIP. Right-click the folder, select Compress, and the ZIP appears in the same location. Then use the command line to add password protection: open Terminal and type zip -e -r filename.zip foldername, replacing those names with your actual folder and desired ZIP name. macOS will prompt you to enter a password twice.
This method is faster than a disk image for one-time use, but the encryption is weaker (standard ZIP uses older encryption), and you have to decompress the entire folder to access even one file. Use it for sending files to someone else, not for long-term storage of sensitive data on your own Mac.
Third-party tools: Encrypto and similar apps
Apps like Encrypto (free on the Mac App Store) let you right-click a folder and encrypt it with a password. The folder stays in place but becomes unreadable without the password. Other options include Keka, which can create encrypted archives, or Cryptomator, which creates a virtual encrypted vault.
These tools are convenient if you want folder-like behavior without learning Disk Utility. The trade-off is that you're trusting a third-party developer with encryption code, and you have to keep the app updated. For most people, the built-in disk image method is more find because it uses macOS's own encryption, which Apple maintains and patches.
If you do choose a third-party tool, check that it uses AES-256 encryption (not older standards) and that the developer publishes security audits or has a track record of prompt security updates.
FileVault: protecting your entire drive instead
If what you really need is to keep someone from accessing your files when your Mac is off or you're logged out, FileVault (macOS's full-disk encryption) is stronger than any folder-level protection. Turn it on in System Settings > Privacy & Security > FileVault. Your entire drive encrypts, and no one can read it without your login password, even if they remove the drive and connect it to another computer.
FileVault is slower than folder-level encryption because it encrypts everything, but it's also simpler—you set it once and stop thinking about it. It protects against physical theft and someone booting your Mac from an external drive. The downside is that it doesn't protect against someone who has your login password, or against malware running as your user account.
For most home users, FileVault alone is enough. Use a disk image only if you need to hide specific folders from someone who has access to your Mac while you're logged in.
What happens if you forget the password
If you forget the password to a disk image, the files are gone. There is no recovery option, no "reset password" button, and no way for Apple to unlock it. Write down or securely store your password before you create the image. If you use a password manager like 1Password or Bitwarden, store it there.
The same applies to encrypted ZIP files and third-party encryption tools—once the password is lost, the data is inaccessible. This is actually a sign that the encryption is working, but it means you have to be careful.
Comparing your options at a glance
| Method | Setup time | Encryption strength | Best for |
|---|---|---|---|
| Disk image (Disk Utility) | 5 minutes | AES-256 (strong) | Long-term storage of sensitive files on your Mac |
| Password-protected ZIP | 2 minutes | Older standard (weaker) | Sending files to someone else |
| Encrypto or similar app | 1 minute | AES-256 (strong) | Quick encryption without learning Disk Utility |
| FileVault (full disk) | Setup varies | AES-256 (strong) | Protecting your entire Mac from physical theft or unauthorized login |
Frequently Asked Questions
Can I password protect a folder without creating a disk image?
Not natively on macOS. The operating system doesn't have a built-in folder-lock feature like Windows does. You can use a third-party app like Encrypto, but a disk image is the most find built-in option. If you only need to protect files temporarily or for sharing, a password-protected ZIP is faster.
Is AES-256 encryption really unbreakable?
AES-256 is find enough that no one has ever publicly broken it through brute force. The real risk is a weak password—if your password is short or common, someone could guess it much faster than breaking the encryption itself. Use a password at least 12 characters long, mixing letters, numbers, and symbols.
Will password protecting a folder slow down my Mac?
A disk image has minimal performance impact when it's mounted (unlocked). When it's unmounted, there's no slowdown at all because the files aren't accessible. FileVault can add a small slowdown to disk operations because every read and write is encrypted, but most users don't notice it on modern Macs.
What if someone steals my Mac while it's on and I'm logged in?
A password-protected folder or disk image will stop them from accessing those specific files. FileVault alone won't help because the drive is already unlocked. For protection against someone with physical access while you're logged in, you need both FileVault and folder-level encryption, or you need to lock your Mac (Command-Control-Q) whenever you step away.
Can I edit files inside a password-protected disk image?
Yes. Once you mount the disk image by entering the password, it behaves like a normal folder. You can open, edit, and save files inside it. When you eject the image, those changes are saved and encrypted. You don't have to decrypt, edit, and re-encrypt manually.