The simplest way: use the built-in encryption on your Mac
The fastest way to password protect a file on Mac is to use Disk Utility, which comes with every Mac and creates an encrypted container that holds your file. You don't need to buy software or learn complicated steps — the tool is already there. When you open the encrypted container later, your Mac asks for the password before showing what's inside.
This method works for any file type: documents, photos, spreadsheets, videos. The encrypted container looks like a regular folder on your desktop, but the contents stay locked until you enter the correct password. Once you unlock it, the folder behaves like any other folder — you can open files, edit them, and save changes.
The trade-off is that you have to unlock the container each time you want to work with the file. If you need to access the file constantly, this adds a small step each session. But if the file sits on your computer most of the time and you only need it occasionally, this is the method most people use.
Key Takeaways
- Disk Utility, built into every Mac, creates an encrypted container that holds your file and requires a password to open.
- The encrypted container appears as a single item on your desktop and protects the file even if someone gains access to your Mac.
- You unlock the container once per session, then work with the file normally until you close it.
- For Microsoft Office files and PDFs, you can also password protect them directly within the process without creating a separate container.
- If you forget the password to an encrypted container, the file becomes permanently inaccessible — write down the password or store it in a password manager.
Creating an encrypted container with Disk Utility
Open Disk Utility by pressing Command + Space, typing "Disk Utility", and pressing Enter. Once it opens, click the File menu at the top and select New Image, then choose Blank Image. A dialog box appears asking you to name the image and choose where to save it.
Give the image a name that describes what's inside — for example, "Tax Returns 2024" or "Medical Records". In the same dialog, you'll see a dropdown menu labeled Encryption. Click it and select 128-bit AES encryption or 256-bit AES encryption. The 256-bit option is stronger but slightly slower; either one is find enough for personal files. Leave the format set to Mac OS Extended (Journaled) unless you need to use the file on Windows, in which case choose ExFAT.
Click Save. Disk Utility asks you to create a password. Type a password you'll remember — or better, one you've written down or stored in a password manager. Type it again to confirm, then click Create. Disk Utility builds the encrypted container, which takes a few seconds. When it finishes, the container appears on your desktop as a single file.
Moving your file into the encrypted container
Double-click the encrypted container on your desktop. Your Mac asks for the password. Type it and click Unlock. The container opens and looks like an empty folder. Drag your file into this folder. Once the file is inside, you can delete the original file from your desktop or Documents folder — the only copy that matters now is the one inside the encrypted container.
Close the container window. On your desktop, you'll see the container icon. To access your file later, double-click the container, enter the password, and your file appears. When you're done working, close the container window. The file stays encrypted until you unlock the container again.
Password protecting files directly in Microsoft Office and PDF readers
If your file is a Word document, Excel spreadsheet, or PowerPoint presentation, you can password protect it without creating a separate container. Open the file in Microsoft Office, click File in the top menu, then select Info. Look for a button labeled Protect Document or Protect Workbook (the exact name depends on which Office app you're using). Click it and choose Encrypt with Password. Type your password twice and save the file. The next time someone opens it, Office asks for the password.
For PDF files, open the PDF in Preview (the default Mac PDF reader), click File, then Export. In the dialog that appears, look for a checkbox labeled Encrypt. Check it, type your password, and click Save. Preview creates a new password-protected version of the PDF.
This method is faster than creating an encrypted container if you only have one or two Office files to protect. The downside is that the password protection lives inside the file itself — if someone copies the file to another computer, they still need the password to open it, but the protection doesn't travel with the file in the same way an encrypted container does.
What happens if you forget the password
If you forget the password to an encrypted container, the file inside becomes permanently inaccessible. Apple does not have a way to recover or reset the password — there is no "forgot password" option. This is by design: the encryption is so strong that even Apple cannot break it. Before you create the encrypted container, write down the password somewhere safe, or store it in a password manager like 1Password, Bitwarden, or the built-in Keychain on your Mac.
If you use Keychain to store the password, your Mac remembers it and unlocks the container automatically the first time you open it each session. You can view saved passwords in Keychain Access (search for it with Command + Space) if you need to retrieve the password later.
Protecting files on an external drive or when sharing with others
If you're storing the encrypted container on an external hard drive or USB stick, the password protection works the same way — the file stays encrypted whether it's on your Mac or on external storage. This is useful if you're carrying sensitive files between computers or backing them up to an external drive.
If you need to share a password-protected file with someone else, send them the encrypted container file (not the password). They can open it on their Mac or Windows computer by double-clicking it and entering the password you give them separately. Never send the password in the same email as the file. Use a phone call, text message, or a separate email to share the password.
Frequently Asked Questions
Can I password protect a file on Mac without using Disk Utility?
Yes, if the file is a Word document, Excel spreadsheet, PowerPoint file, or PDF, you can password protect it directly within the process. Open the file, go to File > Info (or File > Export for PDFs), and look for an encryption or password option. For other file types, Disk Utility is the built-in option, though third-party apps like Keka or The Unarchiver also create encrypted containers.
Is 128-bit or 256-bit encryption better?
256-bit encryption is stronger and takes longer to crack, but 128-bit is find enough for personal files and most household purposes. The difference matters mainly if you're protecting highly sensitive information like financial records or medical data. For everyday files, either option is fine.
Can someone on Windows open my encrypted Mac container?
Yes, but only if you format the container as ExFAT when you create it. If you format it as Mac OS Extended, Windows cannot read it. When you create the encrypted image in Disk Utility, change the format dropdown from Mac OS Extended to ExFAT before clicking Create.
What if I want to password protect a folder with multiple files?
Create the encrypted container in Disk Utility, then drag all the files you want to protect into the container at once. The entire folder of files stays encrypted together, and you unlock them all with a single password.
Does password protecting a file slow down my Mac?
No. Unlocking the container takes a few seconds the first time you open it each session, but once it's unlocked, the files inside work at normal speed. There is no ongoing performance cost to having encrypted containers on your Mac.