​

How To

How to encrypt and password protect files on your Mac

Posted on by

How to encrypt and password-protect files on your Mac

Different files call for different levels of security. Sometimes you want to encrypt your whole drive so a lost Mac doesn’t turn into a data breach. Other times you need to send one document to a client without worrying about who else might open it along the way.

The good news is your Mac already has everything you need for both situations. The catch is that macOS doesn’t have one single Mac encryption button that works for every file type. Setting up full-disk encryption for your Mac or an external drive requires a different step than locking an individual folder or file.

This guide explains how to encrypt your Mac’s internal drive and any external drive you use, as well as how to password-protect different types of files.

The quickest way to password-protect a file on Mac

You usually don’t need extra software to encrypt a file on a Mac. The steps depend on what you’re trying to protect:

  • PDFs: Use Preview to encrypt the PDF and set a password.
  • Pages, Numbers, and Keynote files: Use the password protection feature built into the app.
  • Microsoft Word, Excel, and PowerPoint files: Set a password from the app’s password protection options.
  • Multiple files or a folder: Use Disk Utility to create an encrypted disk image and add them to it.
  • An external drive: Encrypt the drive using Finder or Disk Utility, depending on what your Mac supports.
  • Your entire Mac: Turn on FileVault to protect the files on your startup disk.

How to protect your Mac’s internal storage

FileVault protects the files on your Mac’s startup disk. A strong password and screen lock help too. They stop someone using your account when you step away, but don’t encrypt files on their own.

Update your password settings

You probably set up a password when you first turned on your Mac. However, if you want to switch to a stronger password, you can update it in a few quick steps:

  1. Click the Apple logo in the top-left corner of your screen and open System Settings > Users & Groups.
  2. Click the Info button next to your username.
  3. Click Change next to Password.
    User account settings panel in macOS System Settings.
  4. Enter your current password, type your new password, then re-enter it to confirm.
  5. Add a hint if you would like a reminder in case you ever forget it.
  6. Click Change Password.

Next, you can choose how quickly your Mac screen locks when it’s idle or you’re not using it. This is particularly helpful for times you forget to lock it manually:

  1. Click the Apple logo in the top-left corner of your screen and open System Settings > Lock Screen.
  2. Next to Require password after screen saver begins or display is turned off, pick a time frame. Setting this to Immediately locks your Mac the second the display goes dark.
    Lock Screen settings in macOS System Settings.
  3. Enter your password if prompted.

Turn on FileVault

FileVault helps protect your files if your Mac is ever lost or stolen. On Macs with Apple silicon or a T2 chip, the storage is already encrypted, and FileVault adds protection using your login password. On older Intel Macs, turning it on also starts encrypting the drive.

To turn FileVault on:

  1. Click the Apple logo at the top-left corner of your screen and select System Settings > Privacy & Security.
  2. Scroll down and click FileVault. If the switch is already on, leave it on. If not, turn it on. Your Mac might ask for your admin password to confirm the change.
  3. Follow the recovery options shown on your Mac. You may be able to use your Apple Account or create a recovery key to regain access if you forget your login password.

FileVault configuration view within macOS Privacy & Security settings.

If you get a recovery key, keep it somewhere secure. A safely stored paper copy or a password manager can work. Make sure you can reach it from another device, and don’t keep the only copy on this Mac.

On older Intel Macs, the initial encryption happens quietly in the background. It may take a while if you have a lot of stored files, but you can keep using your Mac while it finishes. On Apple silicon and T2 Macs, turning on FileVault is usually quick because the storage is already encrypted.

If you share your Mac, FileVault protects the startup disk, rather than locking each user’s files separately. If you see Enable Users, follow the prompts so those users can unlock the disk with their own passwords. Once someone is signed in, FileVault doesn’t stop them or malware from accessing files available to that account.

Set a firmware password

On Intel-based Macs, setting a firmware password adds an extra layer of protection by blocking unauthorized attempts to:

  • Start up your Mac from a disk other than the one selected as your startup disk.
  • Start up your Mac from macOS Recovery.
  • Use Erase All Content and Settings on an Intel Mac with a T2 chip.

You can set it up through these steps:

  1. Start up your Mac from macOS Recovery.
  2. From the Utilities menu at the top of the screen in Recovery, choose Startup Security Utility (or Firmware Password Utility).
  3. When asked, enter an administrator’s login password.
  4. Click Turn On Firmware Password, then create a new password. Be sure to keep a copy of this password in a safe place, as it can’t be easily reset if forgotten.
  5. Quit the utility, then click the Apple logo in the top-left corner of your screen and choose Restart from the menu.

How to encrypt external drives on Mac

You can encrypt an external hard disk drive (HDD) or solid-state drive (SSD) to protect the files stored on it. This is worth doing for any drive you carry around, so your files stay private even if it gets lost or left behind.

Using Finder

Before you begin, back up any files you need. Depending on your drive or Mac, you may be able to encrypt the drive from Finder:

  1. Plug in your external drive or flash drive.
  2. Open Finder, Control-click the drive’s icon in the left sidebar, and select Encrypt [drive name].
  3. Set a strong password and hint and click Encrypt Disk. Save the password in a password manager or another secure spot. If you lose this password, you lose access to everything on the drive.

Larger drives with lots of files may take longer to encrypt, but you can leave it running in the background and keep using your Mac.

Using Disk Utility

If you don’t see the encrypt option in Finder, it might not be available for your drive or Mac. In that case, you can encrypt the drive through Disk Utility. Keep in mind that this method would erase the external drive completely. Copy any files you want to keep somewhere else and check that the copies open before you start.

This route has a few more steps and uses some technical terms, but you can follow it without knowing what they mean. It’s a good option if the drive is already empty or you’ve backed up its contents. If you’re giving a drive away, follow separate secure-disposal guidance.

Here’s how to encrypt with Disk Utility:

  1. Connect the drive to your Mac and confirm it appears on your Desktop (your Mac’s wallpaper screen) or in the Finder sidebar.
  2. Open Disk Utility. You can find it by opening Finder and clicking Applications > Utilities, or by pressing Command + Space bar to search for the app with Spotlight.
  3. In the menu at the top of your screen, click View > Show All Devices. This makes sure you’re looking at the actual drive, not just a section of it.
  4. Select the drive in the sidebar. Double-check that you have the right one selected before moving on.
  5. Click Erase near the top of the window.
  6. Set the Scheme to GUID Partition Map. If that setting isn’t visible, go back to the sidebar and confirm you selected the main drive rather than a section of it.
  7. Under Format, choose APFS (Encrypted) or APFS (Case-sensitive, Encrypted), enter a password and hint, then click Choose.
    Note: Both formats keep your files equally secure; the second option treats capitalized and lowercase file and folder names as distinct. Keep in mind these formats only work on a Mac, so you won’t be able to open the drive on a Windows computer.

    Erase dialog sheet in macOS Disk Utility.

  8. Type a name for your drive.
  9. Click Erase to begin. When the process finishes, click Done.

How to encrypt files on Mac

If you want to protect several files or an entire folder, you can create an encrypted disk image with Disk Utility. Think of it as a password-protected container that you can add files to. The files inside stay encrypted when the disk image is closed.

  1. Open Disk Utility. The quickest way is to press Command + Space bar, type “Disk Utility,” and press Return. You can also find it in Finder under Applications > Utilities.
  2. Click File in the menu at the top of your screen and go to New Image > Blank Image.
  3. Give the disk image a name and choose where to save it.
    New disk image creation dialog in macOS Disk Utility.
  4. In the Size field, enter the maximum amount of storage space you want to set aside for this disk image.
  5. Click the Format menu and choose how the file system should be organized. If you’ll only open it on a Mac, APFS works well. These steps are for Mac use. Choosing FAT or ExFAT inside the image doesn’t mean Windows can open the encrypted image itself.
  6. Click the Encryption menu and select your preferred protection level (128-bit or 256-bit AES encryption). Enter and verify a strong password, then click Choose.
  7. Leave the Partitions menu set to what it shows. You don’t need to change it.
  8. Click the Image Format menu to choose how the disk image behaves. Sparse Bundle Image is a good option since it grows only as you add more files, so it uses only the space it needs.
  9. Click Save.
  10. Once Disk Utility finishes setting up the file, click Done.

Disk Utility will save the file where you requested, and the new encrypted disk image will appear like a drive on your desktop and in the Finder sidebar. Drag or copy your files directly into it. Before removing any originals, open the image and check that the files are present and readable. Copying them into the image leaves the originals where they were. Other copies may also remain in backups, cloud storage, or version history.

When you’re done working with your files, click the eject icon next to the disk image’s name in the sidebar. While the image is mounted, someone using your account can still open its files. Ejecting it locks them back up. To open it later, double-click the saved file and enter your password.

Note: Take a moment to save your password somewhere safe. If you forget it, you may not be able to recover the files in the encrypted disk image.

How to encrypt documents in file apps

Encrypting the data stored on your Mac covers one risk, but sending a file to someone else is a different story. If you need to email or message a sensitive document, you can lock the file itself with a password. Use a password to open the file for this. Restricting editing or printing alone won’t keep someone from reading it.

Password-protect a PDF in Preview

The Preview app on your Mac has different security features, including a redaction tool that can help hide certain information. Preview also lets you password-protect any PDF:

  1. Open the PDF in Preview: Control-click the file, hover over Open With, and choose Preview.
  2. Click File in the menu bar at the top of your screen, then select Export.
  3. To keep your original document unlocked, type a new name for this copy. Otherwise, keep the original name to overwrite it.
  4. Click Permissions, then choose how you want to protect the file:
    • Require a password to open: Check Require Password To Open Document. Type your password, then enter it a second time to confirm.
    • Set permissions: Check the box beside any action you want to allow without needing a password. Leave them unchecked to require the owner password for those actions.

    Document security and encryption dialog in macOS Preview.

  5. Enter a password in the Owner Password field, then type it a second time. You can use the same password you set for opening the document, or a different one.
  6. Click Apply, then Save. The password protection takes effect the next time someone opens the file.

If you’re working with a different file type, you can convert it into a password-protected PDF directly from the print window:

  1. Open the file and click File in the menu bar at the top of your screen, then select Print (or press Command + P).
  2. In the bottom-left corner of the print window, open the PDF drop-down menu and select Save as PDF.
  3. Choose a name and location where you want to save the new file.
  4. Click Security Options to set up your protection. Select Require password to open document, then enter and verify your password. You can also set passwords for copying or printing.
    PDF Security Options configuration modal in macOS.
  5. Click OK, then click Save. The next time someone opens the file, they’ll need to enter a password to access its content.

Password-protect Pages, Numbers, and Keynote files

Apple’s Pages, Numbers, and Keynote apps can encrypt individual documents with a password:

  1. Open the document in Pages, Numbers, or Keynote: Control-click on it, select Open With, and click the app you want to use.
  2. Click File in the menu bar at the top of your screen, then select Set Password.
  3. Enter and verify your password, and add a hint if you would like one.
  4. Choose how you want to unlock the file:
    • If you don’t use Touch ID, check Remember this password in my keychain so the password saves in your Keychain. This way, you won’t have to re-enter it every time.
    • If your Mac has Touch ID, check Open with Touch ID to unlock the document with your fingerprint.

    Password protection dialog in Apple Numbers on macOS.

  5. Click Set Password. Someone opening it on another device will need the password. On your Mac, Touch ID or a saved password may unlock it for you.

Password-protect Word, Excel, and PowerPoint files on Mac

Microsoft Office lets you password-protect Word documents, Excel spreadsheets, and PowerPoint presentations directly inside each app.

For Microsoft Word:

  1. Open the document and click the Review tab at the top.
  2. Click Protect > Protect Document.
  3. A small menu will open. Set a password to open the file, then re-type it to confirm. You can also set extra protection against certain actions.
    Password Protect dialog in Microsoft Word on macOS.
  4. Click OK when you’re done, then save the document.

For Microsoft Excel:

  1. Open your spreadsheet and click File in the menu bar at the top of your screen, then select Passwords.
  2. A small window will pop up. Use Password to open to encrypt the file. Password to modify is a separate editing control. Type in your chosen password, select OK, and then enter it one more time to make sure there are no typos.
  3. If you want to prompt people not to make changes, check the Read-only recommended box. Keep in mind that this is just a gentle prompt that pops up when someone first opens the file. The person can still choose to bypass it and edit the document, unless you set a password to prevent this.
    File Passwords dialog modal in Microsoft Excel on macOS.
  4. Click OK after setting the passwords, then save the workbook.

If you want to keep people from altering the overall setup of your file, you can lock the Excel workbook structure too. This stops others from adding, moving, renaming, or revealing sheets, though they can still open and view the workbook itself. This doesn’t encrypt the file. To set this up:

  1. Open the document and click the Review tab at the top.
  2. Click Protect Workbook.
  3. Check the Protect structure box and type in a password. While a password is optional, not using one means anyone can easily turn off the protection and change your layout.
    Workbook protection dialog in Microsoft Excel on macOS.
  4. Enter the password one final time to confirm, then click OK.

For Microsoft PowerPoint:

  1. Open your presentation, click File in the menu bar at the top of your screen, then select Passwords.
  2. Under the Password to open section, check the Encrypt this presentation and require a password to open box to encrypt the presentation.
    Password protection dialog in Microsoft PowerPoint on macOS.
  3. Type your password, re-enter it to make sure it matches, and click Set Password.
  4. If you want to limit who can make changes to the slides, you can do the same under Password to modify. Check the Require a password to modify the presentation box to restrict editing, set your password, and confirm it.
  5. Click OK, and then save your presentation.

Be sure to store your passwords somewhere secure. If you lose them, Microsoft has no way to reset them for you.

How to encrypt your backups

Encrypting your Mac doesn’t do much good if an unencrypted backup of the same data is sitting on a drive somewhere. If you use Time Machine, it’s worth encrypting your backup drive too. You can turn on encryption when setting up a new backup. For an existing backup, check the notes below before changing anything.

Before changing an existing network backup to encryption, save any backup history you need elsewhere. Time Machine erases the old unencrypted backup set and starts a new encrypted one. Make sure you have another usable copy before continuing.

If you’re setting up a new Time Machine backup:

  1. Connect your backup drive, click the Apple logo in the top-left corner of your screen and go to System Settings > General > Time Machine.Time Machine configuration screen in macOS System Settings.
  2. Select Add Backup Disk, pick your storage device, and click Set Up Disk.
  3. If your Mac asks to erase the device, only agree if you’ve copied any files you need elsewhere. Otherwise, select a different drive or volume.
  4. If your Mac asks to claim existing backups from another computer, accept only if you want this Mac to continue using that backup history.
  5. Click Encrypt Backup and create a password when prompted. Keep this password somewhere safe, as you’ll need it whenever you restore your files.

If your current Time Machine backup is on a directly connected drive and isn’t encrypted yet:

  1. Open Finder, Control-click your backup drive, and choose Encrypt.
  2. Enter a password, confirm it, and add a hint.
  3. Select Encrypt Disk.
Note: If you back up to Time Capsule or another network drive, the password for the drive itself is separate from your backup encryption password. Someone who knows the network drive’s password may be able to read unencrypted backups stored on it. Encrypting the backup keeps your files private, even from others or network managers who know the drive’s main password.

How to share files securely

While encrypting a file keeps its contents more private, how you share it matters just as much. If you send the file and its password through the same channel, anyone who intercepts the message gets everything they need to open the file.

A safer habit is to split them up. You might send the document by email or a storage link, then share the password separately over an end-to-end encrypted messaging app like iMessage.

You can also send files using services such as Mail Drop, iCloud, Dropbox, or OneDrive. Their sharing controls and encryption options differ, so check who can open the link and set an expiration date if available. Adding an opening password protects the document after someone downloads it too.

Remember that files can be intercepted or accessed if you share them insecurely. Encryption guards the document itself, while a safe delivery route keeps it out of the wrong hands along the way.

Protect your files while you use them

Encryption keeps your files private, but it doesn’t check them for malware. Before opening an unfamiliar download, you can use Intego ONE Antivirus to scan the file or folder:

  1. Open Intego ONE, go to Antivirus, and choose Custom Scan.
    Antivirus dashboard in the Intego ONE Mac app.
  2. Select the file or folder, then start the scan.
    macOS file picker dialog overlay within Intego ONE.
  3. Review the results and follow the app’s guidance for any flagged files.

If your files are in an encrypted disk image, unlock and mount it first, then scan the files inside. A closed, password-protected container may prevent the app from checking its contents. If a file can’t be scanned, don’t assume it’s safe.

A scan adds a useful check alongside encryption and careful sharing. It doesn’t guarantee that every file is safe.

Protect your Mac with Intego ONE

How we checked this guide

We tested the steps for encrypting an external drive, creating an encrypted disk image, and password-protecting files on a MacBook Pro (M2, 2022) running macOS Tahoe 26.5.2. We used Preview 11.0, Pages 12.0, Disk Utility 22.7, and Microsoft Word, Excel, and PowerPoint 16.114.1.

We confirmed the FileVault, firmware password, and Time Machine guidance against Apple’s support documentation, and the Office password steps against Microsoft’s documentation.

Last checked: October 24, 2026. Menus and available options may differ by Mac model or software version.

Frequently asked questions

What’s the easiest way to password-protect a file on Mac without using Terminal?

It depends on what you’re protecting. For everyday documents, apps like Preview, Pages, Numbers, Keynote, and Microsoft Office software come with built-in password features. If you need to lock several items at once or protect an entire folder, setting up an encrypted disk image with Disk Utility is usually the simplest route.

Can I password-protect a Word or Excel document on Mac?

Yes. You can encrypt Word documents, Excel sheets, and PowerPoint decks by setting a password to open the file inside the Office apps, without needing extra apps or macOS settings.

Does FileVault also encrypt files on external drives?

No, FileVault only covers the main drive inside your Mac. If you use an external drive, you’ll want to encrypt it separately through Finder or Disk Utility. You can also place files inside an encrypted disk image, which works neatly whether stored on your Mac or moved to an external drive.

Can someone on Windows open a password-protected zip file created on Mac?

Usually, yes, if the recipient’s app supports the archive’s encryption method. Windows support varies by version and method; Windows 11 version 24H2 does not handle encrypted archives in its built-in tools. The recipient may need an app such as 7-Zip or WinRAR, as well as the password.

What’s the difference between FileVault and encrypting a single file or folder?

FileVault protects everything on your Mac’s startup disk at once. It helps protect stored files if your Mac is lost or stolen, but files available in an unlocked account can still be accessed. Encrypting a single file or folder protects just that item, which is useful when you need to share or store one specific piece of data securely without encrypting your whole drive.

About Kamso Oguejiofor-Abugu

Kamso specializes in researching and writing about cybersecurity, digital privacy, and tech products. With a degree in mechanical engineering and a strong passion for technology, he brings a thoughtful, analytical approach to his work. Outside of work, you’ll likely find him on the basketball court, shooting hoops. View all posts by Kamso Oguejiofor-Abugu →
Intego ONE Intego ONE
Limited Offer

Even Macs need antivirus software.

Get Intego ONE today and

SAVE 25%

Get Offer
Rated #1 by Macworld
★★★★★