logo
search
Data Protection Issues

How to Encrypt and Password-Protect an Excel File on Mac

Camila MilosovichCamila Milosovich Sep 30, 2026 872 views

Question details

The user needs to secure an Excel workbook on a Mac by applying encryption and requiring a password to open or modify the document.

How to Encrypt and Password-Protect an Excel File on Mac
Product
Microsoft Excel for Mac
Device & OS
Mac
Scenario
Protecting sensitive data in an Excel workbook from unauthorized viewing or editing.
Observed behavior
Upon applying the correct settings, a password prompt is successfully enforced whenever someone attempts to open or modify the encrypted Excel file.
Before you start

Before setting a password, save it in a reliable password manager and ensure your Mac's keyboard layout is set to the correct language so you do not accidentally type the wrong characters.

Solution 1Recommended

Set a Password to Open or Modify the Excel File

Use the built-in Passwords feature in Excel for Mac to require a password to open (encrypt) or modify the workbook.

Excel provides two distinct types of passwords for document security. The 'open' password encrypts the file and completely prevents unauthorized viewing. The 'modify' password allows users to view the spreadsheet but restricts editing. For full encryption, you must apply an open password.

1
Open the Passwords menu

Open your workbook in Excel for Mac, click on 'File' in the top Apple menu bar, and select 'Passwords...' from the dropdown list.

2
Enter an open password

In the 'Password to open' text box, type a strong and memorable password. This is the only setting that actively encrypts your file.

3
Enter a modify password (Optional)

If you want to allow users to view but not alter the file without authorization, enter a different password in the 'Password to modify' box.

4
Confirm and save

Click 'OK'. Excel will prompt you to re-enter the passwords to confirm them. Once confirmed, save the workbook to apply the encryption.

Set a Password to Open or Modify the Excel File
Password Recovery Warning: Microsoft cannot recover lost Excel passwords. If you lose the password required to open the file, your data will become permanently inaccessible.
Secure Your Data with WPS Office

How to Encrypt Spreadsheets Easily in WPS Office

WPS Office provides a fast, lightweight, and highly compatible alternative to Microsoft Office. You can easily encrypt your spreadsheets and protect sensitive data across macOS, Windows, and mobile devices.

  1. 1. Open your file in WPS Office: Launch WPS Spreadsheet on your Mac and open the workbook you want to protect.
  2. 2. Access the encryption settings: Click on 'Menu' (or 'File' in the top bar), navigate to 'File Information', and select 'Encryption'.
  3. 3. Set your document password: Enter your desired password in the 'Document Password' field to encrypt the file. You can also specify an 'Editing Password' to grant read-only access.
  4. 4. Confirm and save: Click 'OK' and save the document. Your spreadsheet is now securely encrypted and ready to be shared safely.
Provides robust, built-in document encryption to secure your spreadsheets, documents, and presentations.Seamlessly compatible with Microsoft Excel formats, ensuring your .xlsx and .xls files retain their formatting.Free to use with a lightweight installation package that runs smoothly on Mac.Cross-platform support ensures your protected files can be opened securely on Mac, PC, or mobile devices.
microsoft office alternative - wps office

Frequently Asked Questions

What is the difference between a password to open and a password to modify in Excel?

A password to open fully encrypts the Excel file, meaning no one can view the contents without it. A password to modify allows users to open and view the file in read-only mode, but requires a password to make and save changes.

Can Microsoft recover my forgotten Excel password on Mac?

No, Microsoft does not have the ability to retrieve or reset a lost or forgotten Excel password. It is highly recommended to keep a backup of your passwords in a secure password manager.

Can I remove the password from my Excel file later?

Yes, as long as you know the current password. Open the file using the password, go to File > Passwords, clear the contents of both password fields, click OK, and save the file.

Does setting a 'password to modify' encrypt the workbook?

No. Setting only a password to modify does not encrypt the file. It merely restricts editing capabilities within the application. To ensure data privacy through actual encryption, you must set a password to open.