Skip to content

How to encrypt a Mac folder

Rate this post

How to encrypt a Mac folder: Have you stored some old work files in various folders that you would now like to encrypt to avoid accidental changes? If you own a Mac you can do it quite easily without installing any additional programs on your computer.

That’s right! If you want to learn how to encrypt a Mac folder, all you have to do is open the Disk Utility included in OS X and follow the instructions below. Alternatively, you can also use a third-party application, but we will talk about this later.

If you are looking for a solution related to how to encrypt a Mac folder and you are not going to spend money to do it, I advise you to rely on theDisk Utility included “standard” in OS X. As you may already know, Mac Disk Utility is a very easy-to-use application that allows you to mount, partition and format hard drives, USB sticks and other storage devices. Among its many functions there is also one that allows you to transform simple folders into encrypted dmg files (i.e. disk images).

To encrypt a folder with Disk Utility, start the app from the folder Other of the Launchpad and select the item New> Disk image from folder from the menu File. So select the folder to encrypt and click on the button Image located at the bottom right.

In the window that opens, type the name you want to assign to the encrypted disk image you are about to create (by typing it in the field Save with name), set the option 128-bit AES encryption in the dropdown menu Codification and click on the button Save. Then type the password you want to use to protect the folder in the fields Password is Check, remove the tick from the entry Remember your password in the keychain and click on OK to complete the operation.

In this way you have created an encrypted “folder” that can be accessed only by entering the correct password after opening the dmg file, however it is an image in read only. This means that you can neither add nor remove files from inside it. You should copy the files out of the virtual drive, momentarily copy them to a folder on your Mac and create a new encrypted disk image after applying the desired changes.

To create a dynamic encrypted disk image, where you can freely add and delete files of any kind, follow the instructions I gave you in my guide on how to protect a Mac folder.


If you want encrypt a Mac folder in a simpler way, you can try the application Espionage which costs 29.99 euros but is available in a free trial version that allows you to take advantage of all the features for a period of 14 days.

To download Espionage on your Mac, connected to the application’s website and click on the button Download. Download is complete open, double clicking on it, the file you just downloaded (Espionage.dmg) and drag the icon to Espionage in the folder Applications of OS X to install the software on your computer.

At this point, to encrypt a folder with Espionage, start the app and follow the initial configuration procedure. You must first click on Next twice in a row and then on Agree. Then you have to type the password to use to enter the program in the fields Choose password is Verify password and always click on Next.

When the procedure is complete, click on the icon Espionage present in the notification area of ​​OS X (next to the clock), type the password to unlock the application and drag the folders to be encrypted in the box that opens. When you want to view the contents of the folders, all you have to do is call up the Espionage box, set it to ON the lever located next to their icons and double click on the name of the folder to open.