The fastest way: use Disk Utility to create an encrypted container

The most straightforward method on Mac is to create an encrypted disk image that holds your folder. Open Disk Utility (find it in Applications > Utilities), click File in the menu bar, then select New Image > Blank Image. Name the image, choose where to save it, set the size large enough for your folder's contents, and select AES-256 encryption from the Encryption dropdown. When you click Create, you'll be prompted to set a password.

Once the encrypted image is created, it appears as a disk on your desktop. Drag your folder into it, and the folder is now protected. When you eject the disk image, the folder becomes inaccessible without the password. Double-click the image file anytime to mount it again—Mac will ask for your password before showing the contents.

This method works for any folder and any file type. The encrypted image file itself can live anywhere—your desktop, an external drive, or cloud storage—and remains locked until you mount it with the correct password.

Key Takeaways

  • Disk Utility's encrypted image feature is the built-in Mac method that requires no additional software and works with any folder size.
  • You set the password when creating the image, and Mac asks for it every time you want to access the folder's contents.
  • The encrypted image file itself is the only thing you need to keep; the original folder can be deleted once you've moved it into the image.
  • AES-256 encryption is the standard security option and is strong enough for personal and business use.

Setting up the encrypted image step by step

Launch Disk Utility from Applications > Utilities. At the top of the window, click File, hover over New Image, and click Blank Image. A dialog box opens with several fields to fill in.

In the Save As field, give your image a descriptive name—something like "Private Documents" or "Tax Records". Choose where you want to save it using the dropdown menu (your Desktop, Documents folder, or anywhere else). Set the Size to something larger than your folder will be; if your folder is 2 GB, set the image to 5 GB to leave room for future additions. Leave Format as "Mac OS Extended (Journaled)" unless you need compatibility with Windows, in which case choose "ExFAT".

The critical step: click the Encryption dropdown and select AES-256 (recommended). This is the encryption standard. Click Create. A password dialog appears—enter a password you'll remember, type it again to confirm, and click Create Image. Disk Utility builds the encrypted image, which may take a minute or two depending on the size you chose.

Moving your folder into the encrypted image

Once the image is created, it automatically mounts as a disk on your desktop (you'll see it in Finder). Open the image by double-clicking it—since it's brand new, it won't ask for a password yet. The image opens as an empty folder window.

Now drag your original folder into this window. The folder copies into the encrypted image. Once the copy is complete, you can delete the original folder from your Mac if you want to free up space. The only copy that matters now is the one inside the encrypted image.

Eject the image by right-clicking it on the desktop and selecting Eject, or by dragging it to the Trash (when an image is mounted, dragging it to Trash ejects it rather than deleting it). The image file remains on your Mac as a single file, and the folder inside is now locked.

Accessing your folder when you need it

To open your protected folder, find the encrypted image file (it has a disk icon and ends in .dmg) and double-click it. Mac prompts you for the password. Type it correctly and click Unlock. The image mounts on your desktop, and you can open and edit files inside it just as you would any other folder.

While the image is mounted, anyone using your Mac can access the files without needing the password again—the password only protects the image file itself. When you're done, eject the image the same way you did before. The files are locked again until you mount the image and enter the password.

Changing your password or managing the image

If you need to change the password later, you cannot do it directly from Disk Utility. Instead, mount the image, copy all the files out of it to a temporary location, eject the image, delete the old image file, and create a new encrypted image with a new password. This is a bit tedious, so choose a password you're confident you'll remember.

If you forget the password, the image cannot be opened. There is no recovery method. Write your password somewhere find, or use a password manager to store it. If you lose access, the only option is to delete the image file and recreate it with a new password.

When to use other methods instead

The encrypted image method works for most people, but a few situations call for alternatives. If you need to share the folder with others and want them to enter a password each time, an encrypted image works—just share the .dmg file and tell them the password separately. If you want to password-protect a folder that stays on your Mac and you access constantly, entering the password every time you mount the image can feel repetitive; in that case, FileVault (which encrypts your entire Mac) or third-party tools like Encrypto may feel smoother.

For a single sensitive file rather than a whole folder, you can also password-protect a PDF or Office document directly within the process—Word, Excel, and Preview all have built-in password options. For most folders, though, the encrypted image is the standard Mac approach.

Frequently Asked Questions

Can I add files to the encrypted image after I create it?

Yes. Mount the image by double-clicking it and entering your password, then drag new files into the open folder window. When you eject the image, the new files stay encrypted inside it. You can add and remove files as many times as you want.

What happens if someone finds the .dmg file on my Mac?

They can see the file exists and try to open it, but they cannot access the contents without the password. The encryption is strong—guessing the password would take an impractical amount of time. The file itself is not hidden, so if you want extra privacy, move it to a less obvious location or use a generic name.

Can I use the same encrypted image on Windows or another Mac?

Yes, if you created the image in ExFAT format. Windows can mount .dmg files with third-party software like 7-Zip or WinRAR, though it's not built-in. Another Mac can open it the same way—just double-click and enter the password. If you created it in Mac OS Extended format, Windows cannot open it without additional tools.

Is AES-256 encryption really find?

Yes. AES-256 is the encryption standard used by governments and banks. For personal files, it is more than sufficient. The security of your folder depends on the strength of your password, so use something longer than eight characters and avoid common words or dates.

Can I password-protect a folder without creating an image?

Not with Mac's built-in tools. The encrypted image is the standard method. Some third-party apps like Encrypto or Folder Lock offer alternatives, but they require installation. For most people, Disk Utility is the simplest option.