A Mac folder can be locked by placing it inside an encrypted disk image in Disk Utility, then opening it only with your password.
If you want to know how to password protect a folder on a Mac, the clean built-in route is not a Finder setting. A regular folder in Finder does not have its own password box. On macOS, the usual way to lock one folder is to place it inside an encrypted disk image, which acts like a small private drive that opens only after you enter the password.
That detail trips up a lot of people. They right-click, scan the menus, and expect a “lock with password” option. It is not there. Once you know the disk image method, the job gets a lot easier, and it works well for tax records, scans, client files, school work, or any folder you do not want sitting open on your desktop.
How To Password Protect A Folder On A Mac Without Extra Apps
The built-in method takes a few minutes and does not ask you to install anything. You choose a folder, turn it into an encrypted disk image, set a password, then use that image from then on.
The Built-In Method
- Open Disk Utility. You can find it with Spotlight or in Applications > Utilities.
- In the menu bar, click File > New Image > Image From Folder.
- Select the folder you want to lock, then click Choose.
- Name the new image file and pick where to save it.
- At Encryption, choose a password option and enter a password you will not forget.
- At Image Format, pick read/write if you plan to add or edit files later. Pick read-only if you want a sealed archive.
- Save the image. macOS creates a .dmg file. Open that file, enter the password, and your folder contents appear as a mounted drive in Finder.
Here is the part many posts skip: the encrypted image is a new file. Your old folder is still sitting there unless you remove it yourself. So after you test the new image and make sure every file opens as expected, move the old unprotected folder to the Trash and empty it if you do not need that plain copy anymore.
Before You Trash The Original Folder
Give the new image a quick check. Open a few files. Close it. Open it again. Make sure the password works and the contents match the old folder.
- Keep one backup of the encrypted image in another location.
- Do not save the only copy inside a Downloads or Desktop mess where it is easy to delete by mistake.
- Use a filename that makes sense six months from now, like “Personal-Docs-Locked.dmg”.
- On a shared Mac, leave the password-saving option turned off if you want the prompt every time.
Apple lays out the menu path in its Disk Utility steps for creating a disk image. If you want your whole startup disk locked at sign-in, Apple points to FileVault on Mac. If your private files live on a USB drive, Apple also shows how to encrypt a storage device with a password.
| Method | Good Fit | What You Should Know |
|---|---|---|
| Encrypted disk image from folder | One folder with private files | Standard built-in pick for most people; creates a separate .dmg file |
| Blank encrypted disk image | New private workspace | Good when you want an empty locked container and plan to drop files into it over time |
| Read/write image | Folders you update often | You can add, edit, and remove files after it is created |
| Read-only image | Archived records | Harder to change by accident; nice for finished documents |
| FileVault | Whole Mac protection | Locks the startup disk, not one folder |
| Encrypted external drive | USB or SSD storage | Works for data kept off the Mac; the drive may need erasing first |
| Compressed ZIP with a password | One-off sharing | Fine for sending an archive, but less handy than a disk image for daily editing |
Password Protecting A Mac Folder For Daily Use
If the folder is something you open all the time, the format you pick matters. A read/write image feels like a private drawer. You mount it, work inside it, then eject it when you are done. A read-only image works better when the contents are set and you mainly want the folder stored away behind a password.
Pick The Right Image Type
Read/write is the safe bet for most people. It keeps the folder flexible and saves you from remaking the image each time a file changes. Read-only is handy when you are storing records you do not want edited by accident. If you start with read/write and later want a sealed archive, Disk Utility can convert the image format later.
Also think about where you save the image. If it sits in iCloud Drive, Dropbox, or another sync service, it may upload each time you change the contents. That is fine for many setups, but large images can take time to sync. For bulky photo folders or video projects, a local spot on the Mac or an encrypted external SSD is often easier to live with.
| Situation | Pick This | Why It Works |
|---|---|---|
| You add files every week | Read/write image | No need to rebuild the locked container each time |
| You want a finished archive | Read-only image | Keeps the contents fixed after setup |
| The files live on a USB drive | Encrypt the drive itself | Cleaner than making one locked image for each folder |
| The Mac is shared with family or coworkers | Password prompt every open | Stops casual access from anyone already signed in |
Use A Password Prompt On Shared Macs
This one small setting changes the whole setup. Saving the password can make opening the image feel almost automatic. That is fine on a personal Mac. On a shared machine, it defeats the whole point. If other people can use your account while you are signed in, make them type the password each time.
When FileVault Makes More Sense
Some people do not need to lock one folder. They need the whole laptop protected in case it gets lost or stolen. That is where FileVault fits. It encrypts the startup disk, so someone who gets the Mac cannot read your files without the login password. On newer Macs, Apple says the data is already encrypted at a hardware level, and FileVault adds another layer tied to your sign-in.
Use FileVault when:
- You carry the Mac around often.
- You store private work files all over the machine, not in one folder.
- You want protection before anyone reaches the desktop.
Use an encrypted disk image when:
- You want to protect one folder, not the whole Mac.
- You need a locked container you can copy to another drive.
- You want one password for a private set of files even after login.
Mistakes That Leave The Folder Exposed
The biggest slip is leaving the original folder in place after making the encrypted image. The second is keeping the image mounted all day. Once the image is open, the files are open too. Eject it when you are done, just like unplugging a drive.
A weak password also ruins the setup. Skip pet names, birthdays, and short words. A longer passphrase is easier to live with and harder to guess. Do not park the password in a note file right beside the image. That is like locking the front door and taping the code to the frame.
Last, do not confuse Finder’s plain “Locked” checkbox with real password protection. That checkbox only blocks casual edits. It does not encrypt the files, and it does not stop someone from opening them if they already have access to your account.
A Cleaner Way To Keep Private Files Private
For most Mac users, the sweet spot is simple: turn the folder into an encrypted disk image, test it, remove the plain copy, and eject the image when you are done. That gives you a locked container without paying for extra software or changing how the whole Mac works.
Once you set it up, it feels natural. Double-click the image, type the password, do your work, then eject it. No drama. Just a private folder that stays private.
References & Sources
- Apple.“Create A Disk Image Using Disk Utility On Mac”Shows the menu path for turning a folder into an encrypted disk image and explains image types.
- Apple.“Protect Data On Your Mac With FileVault”Explains what FileVault protects and how it ties startup-disk access to your Mac login.
- Apple.“Encrypt And Protect A Storage Device With A Password In Disk Utility On Mac”Shows the built-in route for locking an external storage device when the private folder lives off the Mac.
