Fixes

How to Password Protect a Folder on Mac

To password protect a folder on a Mac, put it in an encrypted disk image in Disk Utility, because the Apple guides we read describe no password for a plain folder. Apple's secure-image steps (File > New Image > Blank Image, then copy the folder in) add a password, while its Image from Folder steps only say to choose an encryption option. Apple says that if you forget the password you cannot open the image or see any of the files.

By the Loop teamUpdated 23 November 20268 min read

Disk Image

Apple's Disk Utility guide turns an existing folder into a disk image, which is a file that holds other files and folders. These are Apple's steps:

  1. Open Disk Utility.
  2. Choose File > New Image, then choose Image from Folder.
  3. Select the folder in the dialog that appears, then click Open.
  4. Enter a filename, then choose where to save it.
  5. Click the Encryption pop-up menu and choose an encryption option.
  6. Click the Image Format pop-up menu and choose an option, then click Save and Done.

For the format, Apple lists read-only images that cannot be changed after they are created, and RAW Image, which lets you add, remove or edit files afterward. Choose by whether you will keep changing the folder.

Two things we could not confirm. Apple's folder steps do not describe a password prompt; the password step is in Apple's separate section on secure images, which says to enter and re-enter a password to unlock the image. We did not check that window in Disk Utility ourselves. And Apple's page does not name the encryption options. We did not check which labels Disk Utility shows on macOS 27. The built-in manual for hdiutil (type man hdiutil in Terminal) lists AES-128 and AES-256 and says the default is a 128-bit key.

Apple's warning in its secure-image section is plain: if you forget the password, you will not be able to open the disk image or see any of the files. Apple also says to drag the originals to the Trash and choose Finder > Empty Trash if you want them erased so they cannot be recovered. Open the image and check the files are inside before you erase anything.

Open and Lock

Per Apple, double-click the disk image to open it, and it appears on your desktop like a disk. When you finish, eject it. Apple says that as long as the image is on your desktop, anyone with access to your computer can use the documents on it. Ejecting is the lock.

Zip

A zip is the other built-in route. Apple's built-in manual for zip (type man zip in Terminal) describes -e as encrypting the contents with a password you type at a prompt that is not shown on screen. For a folder you also need -r, which the manual's own example uses:

zip -er name.zip foldername

We read -e and -r in the manual but did not run that exact pair, because the password prompt needs a live Terminal. Try it on a test folder first. Do not use -P to put the password in the command: the manual marks it "THIS IS INSECURE!" The manual also calls zip's standard encryption relatively weak. Our zip guide covers the Gmail and Windows 11 limits on password zips.

File Names

This is the difference between the two routes, and the one we tested. On macOS 27.0.1, with throwaway files in a scratch folder:

We built the image with Terminal's hdiutil using AES-256, not through Disk Utility's window, so treat it as a test of the image type. If the names of your files are sensitive (a client list, a case name), use the disk image.

Not a Password

Three Apple features turn up in searches and are not a password on a folder:

Apps

Other apps exist, and we did not review them all. These four we read on their own sites on 23 November 2026:

We could not confirm that files from Keka, BetterZip or Encrypto open on Windows.

A password on a link is a different thing. It does not lock the folder on your Mac. It guards the page where someone downloads it, and the files themselves stay as they were. Dropbox's plans page lists "password protect files" under Standard, not Plus, at $15 a user a month billed yearly. WeTransfer's help page says Ultimate comes with "unlimited transfers, with custom expiration, password protection, branded pages, and Access Control", and we do not quote a price. For the email side, see how to send a folder by email.

Loop

Loop is a Mac app that turns files and folders into your own links. Its link settings include a Password, and on a folder link the password covers every file inside it and the Download All button. Loop stores a salted hash of the password, never the password itself.

What the reader sees:

Loop does not send the password, so tell the reader another way, such as a call or text message. You can set an expiry of 1, 7, 30 or 90 days, but it is optional and defaults to Never. Loop shows a Mac notification once for each reader's browser for each link, only while Loop is running. It sends no email or phone alert. Loop runs on a Mac on your side only, and we do not promise a maximum file size.

Try Loop free for 14 days

Your own branded link, with notes on the exact second. $49 once.

Download for Mac

Limits

How We Tested

On 2 November 2026 we ran a small test on a Mac running macOS 27.0.1, with throwaway files in a scratch folder. We made a password zip and an AES-256 encrypted disk image (with Terminal's hdiutil, not Disk Utility's window), then listed the zip and searched the raw image for the file's name and the folder's name. The zip listed Secret/a.txt without a password, and a wrong password still stopped the file being read. The image held neither name. On 23 November 2026 we re-ran the names test with an unencrypted image as a control, which showed both names, and the result held. We did not run zip -er on a folder, click through Disk Utility's window, or test Windows.

Last tested: 23 November 2026

Cost

Disk Utility and Terminal were on our Mac running macOS 27.0.1, and no Apple page states a price.

ToolWhat it doesCost, one person
Disk UtilityEncrypted disk imageOn our Mac; no Apple price
Terminal zipPassword zip, weakerOn our Mac; no Apple price
KekaAES-256 7z archivesSite: no price; App Store $6.49
EncryptoAES-256, Mac and WindowsFree
BetterZipAES-256 archives$35, major upgrades extra
CryptomatorEncrypted vault, any folderFree, personal use
Dropbox StandardPassword on a link$180 a year
LoopPassword on a link$49 once

These are US dollars for one person, read on 23 November 2026, and we could not confirm whether tax is included. Dropbox is $15 a month billed yearly, which is $180, from an archived US copy of its plans page. Keka's $6.49 is the Mac App Store price, and its website shows a download button and donation buttons but no price.

A folder shared as a Loop link lives in your own Cloudflare account, with 10 GB free. Past that, Cloudflare charges you. Its pricing page, updated 30 October 2026, lists $0.015 per GB-month with no data-transfer charge. For a large folder, 100 GB held for a month comes to about $1.35 for storage alone after the free 10 GB, and Cloudflare also charges per request above its free monthly allowance.

The 14-day trial starts the first time Loop runs, and you pay nothing to begin. During it, a small "Shared with Loop" badge shows on the page a folder's reader gets, and the badge goes with a license, which is $49 once for one person.

FAQ

Password protecting a folder on Mac, answered.

Open Disk Utility, choose File > New Image > Image from Folder, pick the folder, choose an encryption option and save. Apple's secure image steps say to enter and re-enter a password, and warn that if you forget it you cannot open the image or see any files. See Apple's guide.

The Apple guides we read describe no password for a plain folder. Its Lock a document page is a Locked option that stops accidental changes, and it says to change permissions to protect folders and disks.

Double-click the disk image, enter the password, and it appears on the desktop like a disk. Eject it when you finish, because Apple says anyone with access to your Mac can use the files while it is on the desktop.

A password zip made with zip -e uses encryption that Apple's zip manual calls relatively weak, and in our test it listed its file names without the password. The encrypted disk image we tested hid them.

Apple says you will not be able to open the disk image or see any of its files. Keep the password in a password manager, and keep a copy of the originals somewhere safe until you are sure you can open the image.

We could not confirm that a Windows PC opens an encrypted disk image. A password zip is a different case, and our zip guide has Microsoft's note on Windows 11 and encrypted archives.

A disk image is. Apple's hdiutil manual lists AES-128 and AES-256, with a 128-bit key as the default. A Loop link password is not encryption; it is a gate on the page.

Disk Utility and Terminal zip were on our Mac, and Apple's pages state no price. Keka's website shows no price and its Mac App Store version is $6.49, Encrypto is free, BetterZip is $35 with major upgrades extra and Cryptomator is free on desktop for personal use. For a link password, Dropbox Standard is $180 a year, while Loop is a $49 one-off after a 14-day trial.

From each vendor's own pages, read on 23 November 2026. The steps are from Apple's Disk Utility guide, Lock a document, FileVault and Encrypt a disk pages, which print no date. The Terminal facts are from the zip and hdiutil manuals built into macOS 27.0.1. We ran a small test on a Mac with throwaway files and did not test Windows. Tools are from Keka, MacPaw, BetterZip and Cryptomator. Dropbox's price is from an archived plans page and Cloudflare's from its pricing page.

We could not confirm the labels or default strength in Disk Utility's Encryption menu, whether the Image from Folder flow asks for the password in the same window, whether Windows opens an encrypted disk image, whether Encrypto's recipient needs Encrypto, whether Keka's or BetterZip's files open on Windows, zip -er run on a folder, WeTransfer's price today, or whether Finder offers Encrypt on a single folder.

We could not confirm whether tax is included in any price.

Try Loop free for 14 days.

Pay once. Yours forever.