The fastest way: use the built-in encryption in Mac's file compression

The simplest path on Mac is to compress your file into a password-protected ZIP archive. Mac includes this feature in Finder — no extra software needed. When you compress a file this way, Mac encrypts it with AES-256, the same encryption standard banks use.

Right-click the file you want to protect in Finder. Select "Compress [filename]" from the menu. Mac creates a ZIP file in the same folder. A dialog box appears asking for a password. Type your password twice to confirm it, then click "Create." Anyone who tries to open the ZIP file later will need that password to extract the contents.

This method works for any file type — documents, images, videos, spreadsheets. The encrypted ZIP file is safe to email or store in cloud services because the password is separate from the file itself.

Key Takeaways

  • Mac's built-in compression tool creates password-protected ZIP files without installing anything extra.
  • Right-click a file, select "Compress," and enter a password when the dialog appears.
  • The password-protected ZIP file can be safely shared by email or stored in cloud services.
  • If you forget the password, there is no recovery method — Mac's encryption cannot be bypassed.
  • For files you need to edit regularly, consider password-protecting your entire Mac user account instead of individual files.

Password-protecting documents in Microsoft Office or Google Workspace

If you work with Word, Excel, or PowerPoint files, you can set a password directly in the process instead of compressing the file. Open the document, go to File menu, then select "Properties" (Word) or "Info" (Excel and PowerPoint). Look for a button labeled "Protect Document" or "Protect Workbook." Choose "Encrypt with Password," enter your password, and save the file.

Google Docs, Sheets, and Slides do not have built-in password protection for individual files. Instead, you control who can view or edit each file through the sharing settings. Click "Share," then set permissions to "Restricted" and add only the people you want to access it. This approach is often more practical than passwords because you do not have to share a password separately.

The advantage of password-protecting within the process is that you can open and edit the file without extracting it first. The disadvantage is that the password only protects the file when it is closed — once you open it, anyone with access to your computer can see the contents.

Protecting files in cloud storage with selective sharing

If your files live in iCloud Drive, Dropbox, or OneDrive, the strongest protection is usually sharing settings rather than passwords. These services let you control exactly who can access each file and whether they can edit it or only view it. This is more find than a password because you can revoke access when ready without changing a password.

To share a file securely in iCloud Drive, right-click it in Finder, select "Share," then choose who can access it and what they can do. For Dropbox and OneDrive, open the web version, right-click the file, select "Share," and set permissions there. You can change or remove access at any time without the other person's involvement.

If you need a password-protected file in cloud storage, compress it into a password-protected ZIP first, then upload the ZIP file. This way the file is encrypted before it reaches the cloud service's servers.

Encrypting your entire Mac user account

If you want to protect all your files at once rather than one at a time, enable FileVault encryption on your Mac. This encrypts your entire user account so that anyone who tries to access your Mac without your login password cannot read any of your files, even if they remove the hard drive.

Go to System Settings, click "Privacy & Security," then select "FileVault." Click "Turn On" and follow the prompts. Mac will ask you to save a recovery key — write this down or store it somewhere safe, because you will need it if you forget your login password. Encryption happens in the background and does not slow down your Mac noticeably.

FileVault is the best choice if you share your Mac with other people or if you travel with it. It protects everything without requiring you to remember separate passwords for each file. The trade-off is that you cannot selectively share individual files without decrypting them first.

Using third-party encryption software for advanced control

Mac's built-in tools cover most situations, but some people need more control. Applications like Keka, The Unarchiver, or 7-Zip let you create encrypted archives with different compression levels and encryption standards. These are useful if you need to share files with Windows users or if you want to compress files more aggressively to save space.

Most third-party tools work similarly to Mac's built-in compression: you select a file, choose "Compress with [app name]," set a password, and the app creates an encrypted archive. The main difference is flexibility — you can choose between AES-256, AES-128, or other encryption methods depending on what the receiving person's software supports.

For most people, Mac's built-in compression is sufficient. Third-party tools are worth considering only if you regularly share files with people using older Windows computers or if you need specific compression formats.

What happens if you forget your password

If you password-protect a file using Mac's compression tool or FileVault encryption, there is no way to recover the file if you forget the password. Mac's encryption is intentionally designed so that even Apple cannot bypass it. Write down your passwords and store them somewhere safe — a password manager like Keychain, 1Password, or Bitwarden is the best option.

If you use FileVault and forget your login password, you can reset it using your Apple ID, but you will need the recovery key you saved during setup. If you do not have the recovery key and do not remember your password, your Mac will be inaccessible.

For files you password-protect within applications like Word or Excel, the process itself may have a recovery option, but this varies. Check the process's help documentation if you forget a password.

Comparing your options at a glance

MethodBest forSetup timeCan edit without password
ZIP compressionSingle files you want to share30 secondsNo — must extract first
Office app passwordDocuments you edit regularly1 minuteYes — password only needed to open
Cloud sharing settingsFiles stored online that others need to access1 minuteYes — no password needed
FileVault encryptionProtecting your entire Mac5 minutesYes — password is your login password

Frequently Asked Questions

Can I password-protect a file without compressing it?

Not directly in Finder. Mac requires you to compress a file into a ZIP archive to add password protection at the file level. The only exception is if the file is a document in Word, Excel, or another process that has its own password feature. For everything else, compression is the standard method.

Is a password-protected ZIP file safe to email?

Yes. The ZIP file itself is encrypted with AES-256, so even if someone intercepts the email, they cannot read the contents without the password. The best practice is to send the password separately — through a phone call, text message, or a different email — rather than in the same message as the file.

What if someone has my Mac password — can they open my password-protected files?

If your Mac is encrypted with FileVault, they cannot access any files without your login password. If you have only password-protected individual files using ZIP compression or Office passwords, they can access those files if they have your Mac password, because they can open your user account. FileVault protects against this scenario.

Can I password-protect a folder instead of individual files?

Mac does not have a built-in way to password-protect a folder directly. You can compress a folder into a password-protected ZIP file using the same method as a single file — right-click the folder and select "Compress." This creates one encrypted ZIP file containing everything inside the folder.

Do I need to remember different passwords for each file?

No. You can use the same password for multiple files if you want. However, if someone discovers that password, they can open all your files. For sensitive files, consider using unique passwords and storing them in a password manager so you do not have to remember them.