How to Encrypt Files on macOS

Tyler Tyler (285)
Total time: 5 minutes 
Updated: July 22nd, 2020

This guide shows how to encrypt a folder on macOS with password protection.

Posted in these interests:

macos
PRIMARY
40 guides
security
23 guides

You can create a folder directly in Finder. Navigate to the desired directory and create a folder. We will create an encrypted disk image from this folder. The files we want to secure will go inside of this folder.

Move any files that you wish to protect inside of the folder you just created.

You can find the Disk Utility app in Applications > Utilities or just hit cmd + space bar and search for “Disk Utility”.

Create a new Disk Image from this folderCreate a new Disk Image from this folder

Click on File > New Image > Image From Folder.

A Finder window will appear. Find and select the folder you want to encrypt, then click Choose.

Choose a name and location for the imageChoose a name and location for the image

Choose a name and location for the image.

Keep in mind, “.dmg” will be automatically appended to the name you choose.

Then select either either 128 or 256 bit encryption.

By default, this will create a read-only image. If you’ll need to write to this folder again in the future, change the Image Format to read/write.

Set the password for the imageSet the password for the image

Enter the password, verify, and click save.

This password will be required when you try to mount the disk image to view the contents so you should write down this password.

Use a strong password, and store it securely. Consider using a password manager like 1Password or Dashlane.

Test out the imageTest out the image

To test the image you’ve created, find the image in Finder and click to open. When prompted, enter the password you set previously. This will mount the image and display the contents of the folder.

When you’re finished, make sure to unmount the image. You’ll see the image in the left column of finder and you can click the eject icon to unmount.

We’re hiring!
Are you a passionate writer? We want to hear from you!

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Leave a Reply

Your email address will not be published. Required fields are marked *