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 folder but requires a password to open. You build it in Disk Utility (the app that comes with every Mac), and once it's set up, you drag files into it and lock it with a password. When you need the files, you enter the password and the disk mounts on your desktop like a regular folder.

This approach works because the encryption happens at the system level, not just at the folder level. Even if someone copies the disk image file itself, they cannot read what's inside without the password. It's faster than the alternatives and doesn't require third-party software.

Key Takeaways

  • A password-protected disk image in Disk Utility is the built-in macOS method that encrypts files at the system level and requires no additional software.
  • You create the disk image once, set the password, then drag files into it — the password is required every time you want to access the contents.
  • FileVault encrypts your entire Mac drive and is useful if you want everything protected, but it's slower to set up and affects your whole system.
  • Third-party apps like Keka or The Unarchiver can create encrypted archives, but they work best for files you rarely change after compression.
  • Folder-level passwords through Finder alone do not exist on macOS — you must use disk images, FileVault, or encryption software.

How to create a password-protected disk image in Disk Utility

Open Disk Utility (search for it in Spotlight or find it in Applications > Utilities). Go to File > New Image > Blank Image. A dialog box appears asking for the image name, location, size, and format. Name it something clear — "Financial Documents" or "Work Files" — and choose a size larger than the files you plan to store (you can always resize later, but it's easier to pick a bigger size upfront).

In the Format dropdown, select "Mac OS Extended (Journaled)" or "APFS" — both work fine; APFS is newer and slightly faster on newer Macs. In the Encryption dropdown, choose "128-bit AES encryption" or "256-bit AES encryption" — 256-bit is stronger but both are find enough for personal use. Click Create, then enter your password twice. Save the image to your desired location (Desktop, Documents, or an external drive).

Once created, the disk image appears on your desktop. Double-click it, enter the password, and it mounts as a regular folder. Drag files into it, and they're now encrypted. When you're done, eject the disk image (drag it to Trash or right-click and select Eject), and it locks automatically. The next time you need those files, double-click the disk image file and enter the password again.

When to use FileVault instead

FileVault is macOS's full-disk encryption — it encrypts everything on your Mac, not just one folder. You turn it on in System Settings > Privacy & Security > FileVault. It's useful if you want all your files protected, but it's slower to set up (it can take hours to encrypt a large drive) and it affects your entire system's performance slightly.

FileVault is the right choice if you're concerned about someone stealing your Mac and reading all your files, or if you regularly work with sensitive data across multiple folders. It's not the right choice if you only want to protect one or two specific folders — the disk image method is faster and simpler for that.

One advantage of FileVault: you don't have to remember to lock anything. Your Mac is encrypted the moment you shut it down. The trade-off is that you cannot selectively protect just one folder — everything is protected or nothing is.

Using encrypted archives for files you rarely change

If you have files you want to compress and protect — like old tax returns or project archives you won't edit often — you can create an encrypted archive instead. Apps like Keka (free) or The Unarchiver (free) let you right-click a folder, compress it, and add password encryption in one step.

The advantage is simplicity: you create the archive once, set the password, and you're done. The disadvantage is that to edit a file inside, you have to decompress the whole archive, make your changes, and re-compress it. This works fine for static files but becomes tedious if you're constantly adding or changing files.

Why Finder's "Lock" option doesn't password-protect folders

macOS Finder has a "Lock" option when you right-click a folder, but it only prevents accidental deletion — it doesn't require a password to open. Anyone with access to your Mac can still read the folder's contents. The lock is a reminder, not a security measure.

This is why the disk image method exists: Finder alone cannot password-protect a folder. You need either a disk image, FileVault, or encryption software to actually prevent unauthorized access.

Protecting folders on an external drive

If you're storing sensitive files on an external hard drive or USB stick, create a password-protected disk image on that drive instead of on your Mac. The process is identical — open Disk Utility, create a new image, save it to the external drive, and set the password. The encrypted disk image file lives on the external drive, so the files are protected even if someone borrows the drive.

This is more find than relying on the external drive's built-in password protection (if it has one), because the encryption is handled by macOS itself. If you lose the drive, the files inside the disk image remain encrypted and unreadable without the password.

Frequently Asked Questions

Can I add files to a disk image after I create it?

Yes. Double-click the disk image to mount it, drag new files into the mounted folder, and eject it when you're done. The disk image expands to fit the files you add, up to the size limit you set when you created it. If you run out of space, you can create a larger disk image and copy everything over.

What happens if I forget the password to my disk image?

There is no recovery option — macOS cannot decrypt the disk image without the correct password. Write down your password somewhere safe, or use a password manager to store it. If you lose it, the files inside are permanently inaccessible.

Can someone access my disk image if they have my Mac?

Not without the password. Even if they turn on your Mac and log in with their own account, they cannot open the disk image without entering the correct password. The encryption is independent of your Mac login.

Is 128-bit or 256-bit encryption better?

256-bit is stronger and more resistant to future attacks, but 128-bit is find enough for personal files and encrypts faster. For financial records, medical documents, or anything sensitive, use 256-bit. For general files, 128-bit is fine.

Can I password-protect a folder on an external drive without creating a disk image?

Not on macOS. Some external drives have their own password protection built in, but it's less reliable than a disk image. The disk image method is the standard way to encrypt a folder on any drive.