Setting a password to open an Excel workbook as read-only prevents others from making changes unless they know the password, while still allowing them to view and copy content. This is useful for sharing reports, financial data, or templates without risking accidental or unauthorized edits. You need Microsoft Excel 2010 or later (Windows or Mac) and a file you want to protect. No additional tools or plugins are required.

What You'll Need

  • A Microsoft Excel file (.xlsx or .xls) you want to protect
  • Microsoft Excel 2010 or later (Windows or macOS)
  • A strong password you can remember (at least 8 characters, including letters and numbers)

Step-by-Step

  1. Open the Excel workbook you want to protect.
  2. Click the File tab in the top-left corner of the Excel window.
  3. Select Save As from the left-hand menu.
  4. Choose the location where you want to save the file (e.g., Desktop, OneDrive, or a folder).
  5. In the Save As dialog box, click the Tools button near the bottom-right corner (it appears as a small arrow or dropdown next to the Save button).
  6. From the dropdown menu, select General Options.
  7. In the General Options window, you’ll see two password fields: Password to open and Password to modify.
  8. Leave the Password to open field blank. This ensures the file can be viewed without a password.
  9. Click inside the Password to modify field and type your chosen password. Use a mix of uppercase letters, lowercase letters, and numbers for better security.
  10. Click OK.
  11. You’ll be prompted to retype the password to confirm it. Type it again exactly as before and click OK.
  12. Click Save in the main Save As dialog box.
  13. Close the file and reopen it to test the protection. You should be able to open and view the file normally, but when you try to make any edits (like typing in a cell or deleting a row), Excel will display a message saying the file is read-only and prompt you to save a copy if you wish to modify it.

Common Mistakes

  • Entering the password in the wrong field — putting it in Password to open instead of Password to modify will force users to enter a password just to view the file, which defeats the purpose of read-only access.
  • Forgetting the password — there is no way to recover a lost password for Excel files. If you forget it, you cannot remove the restriction without specialized tools, which may violate terms of service.
  • Not saving the file after setting the password — if you skip clicking Save after entering the password, the protection won’t be applied.
  • Using a weak password like "123456" or "password" — this makes it easy for someone to guess or crack the password, defeating the purpose.
  • Trying to protect a file opened from a read-only source (like email attachment or network drive) without first saving it locally — Excel may not allow you to access the Tools menu if the file is locked by the system.

Tips

  • Store your password securely using a trusted password manager, never in plain text on your desktop or in an email.
  • Always test the protection by closing and reopening the file before sending it to others — verify you can view it but cannot edit it without being prompted to save a copy.
  • Use the "Save As" function to create a protected copy instead of overwriting the original — this gives you a backup in case something goes wrong.
  • If you need to edit the file later, open it in Excel, click File > Info > Protect Workbook > Encrypt with Password, then remove the password in the General Options dialog.
  • For team collaboration, consider using Excel Online with shared workbooks and permission levels instead of password protection for better version control.
  • Remember that read-only protection does not encrypt the file — someone with technical skills can still extract data using third-party tools. For sensitive data, combine this with file encryption (e.g., BitLocker or FileVault) on your device.

Troubleshooting

  • "Tools" button is missing. Make sure you’re using Excel 2010 or later. If you’re on Excel for Mac, the button might be labeled "Security" instead of "Tools" — click it and select "Password Protection". If you’re using Excel Online or Excel Mobile, password protection for read-only access is not supported — use the desktop app instead.
  • Excel says the password is incorrect after I retype it. Double-check for accidental capitalization, spaces, or keyboard layout issues (e.g., NumLock on/off). Try retyping slowly. If it still fails, you may have entered a different password during confirmation — you’ll need to start over.
  • I can still edit the file after setting the password. You likely saved the file before applying the password. Close Excel completely, reopen the file, and repeat Steps 2–13. Ensure you clicked Save after confirming the password.
  • I can’t find the "General Options" menu. Make sure you clicked "Tools" after selecting "Save As" — not after clicking "Save". The Tools button only appears in the Save As dialog, not in the normal file menu.
  • The file is still editable on another computer. Check that the protected version is the one you sent. Sometimes people accidentally send the original unsecured file. Compare file sizes — the protected version will be slightly larger due to encryption metadata.

Frequently Asked Questions

Can I still copy data from a read-only protected Excel file?

Yes. Read-only protection only prevents editing. Users can select, copy, paste, and print content normally. The restriction only blocks changes to the original file structure or data.

Does password protecting for read-only encrypt the file?

No. This only adds a write-protection layer. The file’s content is not encrypted. Someone with access to the file can extract its data using third-party tools. For true encryption, use "Encrypt with Password" under File > Info > Protect Workbook.

Can I remove the read-only password later?

Yes. Open the file, go to File > Save As > Tools > General Options, delete the password in the "Password to modify" field, click OK, then Save. This removes the restriction.

Is this protection effective against someone with technical skills?

Not fully. Password protection for read-only access is not encryption. A determined user can bypass it by opening the file in a text editor and modifying its XML structure, or using specialized software. For confidential data, combine with device-level encryption.

Can I apply this to Excel files on a Mac?

Yes. The process is nearly identical on macOS Excel. Click File > Save As > then click the "Security" button (instead of "Tools") and select "Password Protection" to set the modify password.

What happens if I forget the password to modify the file?

There is no official way to recover or reset it. Microsoft does not provide password recovery. You will need to recreate the file from a backup or start over. Always keep a backup without protection if the data is critical.