How to Password Protect Folders and Individual Files on Mac

Keeping files private is a must for any Mac user. As hackers become more inventive daily, it's recommended that you password-protect files and folders on your MacBook. To enhance your private data protection even more, we suggest using MacKeeper's ID Theft Guard—it'll track any data leaks and protect your online activity from spies.

How to password-protect folders on your Mac

Password-protecting Mac folders rather than individual files is useful for a couple of reasons. As well as letting you lock multiple files or folders at once, it means you can easily add and remove files from your password-protected folder at any time.  

Password-protecting Mac files with built-in tools

Creating a password-protected folder is easy using macOS’s built-in Disk Utility. It simply creates a .dmg archive file, using AES encryption, which you can only open with a password.

Here’s how to password-protect folders with Disk Utility:

  1. Open Disk Utility from Applications > Utilities > Disk Utility.
  2. From the menu bar, select File > New Image > Image from Folder.
  3. Now select the folder you want to password-protect and click Choose.
  4. If you want to, choose a name or location for your protected folder. Open the Encryption, dropdown menu, and make a choice (128-bit AES encryption should be enough), and click Save.
  5. Enter a password, and click Choose when you’re done.
  6. Alternatively, click the key icon, and let macOS create a strong password for you. Again, click Choose when you’re finished.
  7. Expand Image Format and choose read/write. This will let you add and remove content from your protected folder later.
  8. Finally, click Save.
  9. Wait for Disk Utility to finish encrypting your folder.
  10. When it’s done, you’ll be left with a password-protected disk image and the original folder. If you don’t need the old folder, you can delete it.
  11. To open the locked folder on your Mac, simply double-click the .dmg file to open it, then enter your password when requested. With the correct password, the disk image will mount, and you’ll be able to access the contents, including adding or removing files and folders.
To password protect folders with Disk Utility on a Mac, opening Disk Utility first from Applications > Utilities.
Step 1. Applications > Utilities > Disk Utility
Then, when in the Disk Utility app, create a new image from the folder by going to File > New Image > Image from Folder.
Step 2. File > New Image > Image from Folder
To proceed further, choose fa older to encrypt in macOS Disk Utility, finding its location through the navigation pane. Click Choose.
Step 3. Select the desired folder > Choose
As a next step of the password protection process, name and locate your folder, choose the encryption type you prefer, and click on Save.
Step 4. Name and locate the folder > Encryption > Choose the type > Save
Now, the Disk Utility app will ask you to enter and verify your password. When it's done, click on the Choose option.
Step 5. Enter the password > Choose
As an alternative way to do it, you can click the key icon and let macOS create a strong password for you. Again, click Choose when you’re finished.
Step 6. Key icon > macOS creates a strong password for you
Now, in the Disk Utility app, choose read/write in as the encryption type to password protect the chosen content on Mac.
Step 7. Save As > Image Format > choose read/write
As your final settings for the encrypted folder in macOS Disk Utility, check the information you've entered and click on the Save button.
Step 8. Click Save
Now, you can observe the process of creating a folder disk image in macOS Disk Utility. Wait until it's finished.
Step 9. Wait until the encrypting of your folder is done
When the process of the folder password protection is finished n macOS Disk Utility, confirm it with Done.
Step 10. Now you have a password-protected image > Done
Now, you can see the final notification window asking you to enter the password one more time and finalize the file password protection on your Apple device.
Step 11. Enter your password > OK

Password-protecting Mac files with third-party tools

If you want more features, you might want to consider a third-party app to password-protect folders on your Mac. Another big drawback with the Disk Utility method is that anyone can find and even delete your password-protected folders. Third-party apps may help you to get around these limitations.

Check out these third-party apps if you want to lock folders on your Mac:

A note from our experts:

Data can have real value, and like anything valuable, sometimes it needs to be kept locked away to prevent other people from looking at or stealing it. Are you concerned about your privacy? Try MacKeeper’s ID Theft Guard to reach even more data protection—this time for your emails.

Here’s how to benefit from our tool:

  1. Download the MacKeeper app.
  2. Install and launch it on your Mac.
  3. Choose ID Theft Guard on the left.
  4. Click + to add all your current emails to be checked.
  5. Enable 24/7 Data Breach Monitor on the right.
  6. Enjoy the privacy of your email correspondence!
To reach even more data protection—this time for your emails, use MacKeeper's ID Theft Guard. In our app, choose this feature on the left, add the email with the + button, and activate the Data Breach Monitor.

How to password-protect individual files on Mac

Most of the time, it’s easier just to encrypt and lock Mac folders rather than trying to password-protect individual files. But if you only want to protect one or two files, it might make sense to do it this way instead.  

Password-protecting files using built-in Mac tools

macOS doesn’t actually have any way to do this, but you can lock individual files using certain native apps like Notes, Pages, and Numbers.

Simply follow these steps:

  1. In Pages, Numbers, and Keynote, choose Files > Set Password from the menu bar. Enter a password, and click Set Password.
  2. In Notes, right-click on a note, then select Lock Note. Enter a password, and select Set Password.
Password protecting a file in Apple Pages.
In Pages, Numbers, and Keynote
Password protecting a file in Apple Notes.
In Notes

Password-protecting files with third-party tools

Similar to native apps, often the best way to password-protect individual files is to use the apps they were created in.  

For example, you can password-protect files in:

  • Microsoft Office
  • Open Office
  • LibreOffice

You can also encrypt and password-protect files in Encrypto, but it just creates a locked version, leaving the old, unlocked version behind.  

Conclusion  

It’s useful to be able to password-protect individual files in apps like Office, but most of the time, it’s easier and more convenient to lock whole folders on your Mac. That way, you can add and remove files from your protected archive whenever you want, and you only have to remember one password for everything in each locked folder.  

If you don’t need any special features, then Disk Utility will be just fine for most purposes. Third-party encryption tools are worth checking out, particularly as ones like Encrypto and VeraCrypt are available free of charge.  

Whatever you do, make sure to use strong passwords to protect your valuable data. After all, there’s no point in password-protecting your Mac files and folders if your password is easy to crack.  

You can also protect your privacy further with MacKeeper’s ID Theft Guard feature, which alerts you if your website login details are stolen or uploaded to the web by hackers. Plus, it offers the Data Breach Monitor to keep your emails in tip-top condition 24/7.

Use your Mac to the fullest! Sign up and get:
Effective tips on how to fix Mac issues
Reliable advice on how to stay safe online
Mac-world news and updates

Thank you!

You’ll love exploring your Mac with us.

Oops, something went wrong.

Try again or reload a page.

Here’s another sign you need to upgrade your macOS ASAP:

30% off your MacKeeper subscription

Сopy the code now and use it in the MacKeeper checkout after the upgrade.

Copy Code

Please be aware that this code cannot be combined with any other discounts, offers, or promotions.

Contents

Unlocked

Want to protect your device?

Start Now
PC

MacKeeper - your all-in-one solution for more space and maximum security.

Try Now

Read more

How to Remove Trojan Horse Virus from Mac
How to Remove Trojan Horse Virus from Mac
Apple Security Alert
Apple Security Alert
arrow

Run Application

step_1

Click Continue

step_2

Click Install

step_1

Your macOS version is lower than OS 10.11. We’d like to offer you MacKeeper 4 to solve the cleaning, privacy, and security issues of your macOS.