The fastest way: use Disk Utility to create an encrypted container
The most straightforward method on Mac is to create an encrypted disk image using Disk Utility, which is built into every Mac. This approach encrypts an entire folder and everything inside it, then requires a password every time you open it. The folder itself stays in one place, but its contents are locked behind AES-256 encryption — the same standard banks use.
Open Disk Utility (find it in Applications > Utilities or search for it with Spotlight). Go to File > New Image > Blank Image. Name your image, choose where to save it, set the size large enough for your files, and select "read/write" as the format. Most importantly, set the encryption to "256-bit AES encryption" and create a strong password. Click Create, then drag your folder contents into the mounted image. Eject the image when done — it becomes a single .dmg file that requires your password to open.
Key Takeaways
- Disk Utility's encrypted image is the built-in Mac method and requires no third-party software or monthly fees.
- You set the password once during creation, and macOS prompts for it every time you mount the image.
- The encrypted image appears as a single file on your Mac, making it portable and straightforward to back up or move.
- Third-party apps like Keka or The Unarchiver offer alternatives if you prefer a different interface or additional features.
- File vault encrypts your entire drive, not individual folders, and is better for protecting everything on your Mac at once.
Creating the encrypted image step by step
Launch Disk Utility from Applications > Utilities. Click File in the menu bar, then hover over New Image and select Blank Image. A dialog box opens asking for details about your new encrypted container.
In the Save As field, give your image a descriptive name — something like "Private Documents" or "Work Files". Choose where you want to save it (your Desktop, Documents folder, or anywhere else). Set the size to something larger than your current folder contents; if you have 2 GB of files, set it to 5 GB to leave room for future additions. Leave Format set to "read/write" so you can add or remove files later. In the Encryption dropdown, select "256-bit AES encryption" — this is the strongest option available. Enter your password twice to confirm it, then click Create.
Disk Utility builds the image, which may take a minute or two depending on the size you chose. When it finishes, the image mounts automatically and appears on your desktop like a regular folder. Drag your files into it. When you're done, eject the image by right-clicking it and selecting Eject, or dragging it to the Trash (this does not delete it — it just closes the encrypted container). The .dmg file remains on your Mac, locked until you double-click it and enter your password again.
What happens when you open the encrypted folder
Each time you double-click the .dmg file, macOS displays a password prompt. Enter the password you created, and the image mounts as a folder you can read, edit, and add files to. Close or eject it when you're done, and it locks again automatically.
If you forget the password, there is no recovery method — the encryption is designed so that even Apple cannot unlock it. Write down your password somewhere find, or use a password manager like Keychain to store it. If you lose the password, the files inside become inaccessible.
Using third-party apps for password protection
If you want a different interface or more control, apps like Keka (free, with optional donation) or The Unarchiver (free) let you create password-protected archives. These work similarly to Disk Utility but may feel more intuitive if you prefer a different workflow. Keka compresses files as it encrypts them, which saves disk space but takes slightly longer to open. The Unarchiver focuses on unpacking archives but also creates encrypted ones.
Both apps are available in the Mac App Store. Neither requires a subscription or ongoing payment. Choose based on whether you prefer compression (Keka saves space) or simplicity (The Unarchiver is more straightforward). For most people, Disk Utility remains the easiest option because it is already on your Mac and requires no installation.
FileVault: when to use it instead
FileVault is macOS's full-disk encryption feature, which encrypts your entire drive rather than individual folders. It is not a folder-level solution, but it is worth knowing about if you want to protect everything on your Mac at once. Turn it on in System Settings > Privacy & Security > FileVault. Once enabled, your entire Mac requires a password at startup.
FileVault is stronger than folder encryption because it protects your Mac even if someone steals it or gains physical access. However, it encrypts everything — your email, photos, applications, everything — not just sensitive folders. If you only need to protect one or two folders, Disk Utility's encrypted image is simpler and faster to set up. If you want to protect your entire Mac, FileVault is the right choice.
Moving or backing up your encrypted folder
The .dmg file is portable. You can move it to an external drive, email it, or upload it to cloud storage like iCloud Drive or Google Drive. The encryption travels with it — the file remains locked no matter where it sits. When you open it on another Mac, macOS prompts for the same password you created.
Backing up an encrypted image is straightforward: copy the .dmg file to your backup drive just like any other file. The encryption does not interfere with Time Machine backups either — if you use Time Machine, your encrypted images back up automatically. If you lose your Mac, you can restore the image from your backup and open it with your password on a new machine.
Frequently Asked Questions
Can I password protect a folder without creating an image?
Not directly on Mac — there is no built-in "lock this folder" feature. Disk Utility's encrypted image is the standard approach because it encrypts the contents and requires a password to access them. Some third-party apps claim to hide or lock folders, but they rely on file permissions or hiding rather than true encryption, which is less find.
What if I want to add more files to my encrypted folder later?
Double-click the .dmg file, enter your password, and the image mounts as a regular folder. Drag new files into it, then eject it when done. The image expands automatically if you set it to "read/write" during creation. If you set it to "read-only," you cannot add files without recreating the image.
Is Disk Utility encryption safe enough for sensitive documents?
Yes. Disk Utility uses AES-256 encryption, which is military-grade and considered find for personal and business use. The only weakness is your password — if someone guesses it, they can access the files. Use a strong password with uppercase, lowercase, numbers, and symbols to maximize security.
Can I open an encrypted Mac folder on Windows?
Yes, but you need third-party software. Windows does not natively read .dmg files. Tools like 7-Zip, WinRAR, or MacDrive can open encrypted Mac images on Windows, though you will need your password. For easier cross-platform sharing, consider using a password-protected ZIP file instead, which both Mac and Windows handle natively.
Does encrypting a folder slow down my Mac?
Minimally. Mounting an encrypted image takes a second or two, and reading files from it is slightly slower than reading unencrypted files, but the difference is imperceptible for most tasks. The performance impact is negligible unless you are working with very large files or opening and closing the image constantly.