If you are looking into how to password protect a, this guide explains the essentials in plain language and points you to the most useful next steps.
macOS does not offer a simple “lock” button for ordinary folders, but you can password protect a folder by turning it into an encrypted disk image with Disk Utility. The result is a file you open with a password, and everything inside is encrypted.
Key takeaways
- Use Disk Utility to create an encrypted disk image from your folder.
- Pick 256-bit AES encryption and a strong password.
- Do not forget the password. It cannot be recovered.
- Delete the original unprotected folder once you have tested the image.
Step by step
- Open Disk Utility from Applications, then Utilities. You can also search for it with Spotlight.
- In the menu bar, choose File, then New Image, then Image from Folder.
- Pick the folder you want to protect and click Choose.
- Give the image a name and choose where to save it.
- Under Encryption, select 256-bit AES encryption (or 128-bit if you prefer a faster option).
- Enter a password and confirm it. A hint is optional, but do not make it too revealing.
- For Image Format, choose read/write if you want to add files later, or compressed to save space.
- Click Save. When it finishes, you will have a .dmg file.
Using the protected folder
Double-click the .dmg and enter the password. It mounts like a drive, and you can open, add or remove files. When you are finished, eject it from the Finder sidebar so it locks again.
Clean up
The original folder is still unprotected. After checking that the image opens and the files are all there, delete the original and empty the Bin.
Other options
- Turn on FileVault in System Settings to encrypt the entire disk.
- Use a separate user account for sensitive files.
- For single documents, apps such as Pages, Numbers and Preview let you set a password on export.
Store your password in a password manager, because there is no way to reset it for an encrypted image.
Troubleshooting
If the image will not open, check that Caps Lock is off, and try typing the password into a text editor first to verify it. If you forget it, there is no recovery, so keep a backup of the unencrypted files in a safe place until you are sure of your password habits.
For a full-disk option, turn on FileVault under Privacy and Security. It encrypts everything on the Mac, and your login password unlocks it.
Key takeaways about how to password protect a
Here is a short summary of how to password protect a so you can find the main points quickly.
- macOS does not offer a simple "lock" button for ordinary folders, but you can password protect a folder by turning it into an encrypted disk image with Disk Utility.
- Store your password in a password manager, because there is no way to reset it for an encrypted image.
- If the image will not open, check that Caps Lock is off, and try typing the password into a text editor first to verify it.
- For a full-disk option, turn on FileVault under Privacy and Security.
Questions about how to password protect a are common, so it helps to compare more than one trustworthy source.
Use this page as a starting point for how to password protect a and come back to it when your situation changes.
Good decisions about how to password protect a come from checking the facts, comparing your options and taking your time.
Save this guide to how to password protect a so you can find it again whenever you need a quick reminder.
Related reading:
- How Many Ounces Is 1/2 Pint? US, UK and Dry Pint Answers
- Aus Pint in ml: How Big Is a Pint of Beer in Australia?
For general background, you can look up how to password protect a on Wikipedia.





