To set an Excel workbook to read-only, the fastest method is to go to File > Info > Protect Workbook > Always Open Read-Only. This tells Excel to prompt any user who opens the file to open it in read-only mode, preventing accidental edits to your data while still allowing users to bypass the restriction if they have the permission or password to do so. This setting is ideal for templates, final reports, or shared documents where you want to ensure the original structure remains intact.
Setting a workbook to read-only serves as a soft barrier. It does not provide high-level security against determined users, but it effectively stops the most common cause of data loss: the accidental keystroke or the unintentional overwrite of a formula. By forcing a prompt upon opening, you ensure that the user is consciously choosing whether to edit the file or simply view it. This is particularly useful in corporate environments where multiple stakeholders need to review a spreadsheet but only one person should be responsible for updating the figures.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- An existing Excel workbook (.xlsx, .xlsm, or .xlsb) that you have permission to edit and save.
- Administrative access to the folder where the file is stored if you intend to use the operating system's file-level read-only attribute.
Step-by-Step
Depending on your goal, there are three primary ways to achieve a read-only state. The first is a "recommendation" within Excel, the second is a password-protected restriction, and the third is a hard lock via the operating system. Note that menu labels may differ slightly depending on your version of Excel or your region.
Method 1: The "Always Open Read-Only" Recommendation
This is the most common method. It does not lock the file with a password but asks the user if they want to open it as read-only.
- Open the Excel workbook you wish to protect.
- Click on the File tab in the top-left corner of the ribbon.
- Select Info from the left-hand sidebar.
- Click the Protect Workbook button (this is usually a large rectangular button with a lock icon).
- From the drop-down menu, select Always Open Read-Only.
- Save the workbook by clicking the Save icon or pressing Ctrl+S (Cmd+S on Mac) to apply the changes.
- Close the file and reopen it to test. You should see a yellow bar at the top stating that the author would like you to open the file as read-only, with an "Edit Anyway" button available.
Method 2: Setting a Password for Modification
If you want to ensure that only people with a password can make changes, use the Save As options.
- Open your Excel workbook.
- Click File and then select Save As.
- Choose the location where you want to save the file (e.g., Browse or a specific folder).
- In the Save As dialog box, look for the Tools button located next to the Save button at the bottom of the window.
- Click Tools and select General Options from the list.
- You will see two password fields. Leave the "Password to open" blank if you want anyone to see the data. In the Password to modify field, type your desired password.
- (Optional) Check the box that says Read-only recommended to add an extra prompt.
- Click OK, confirm the password by typing it again, and then click Save.
- If prompted to replace the existing file, click Yes.
Method 3: OS-Level Read-Only Attribute (Windows)
This method locks the file at the system level, meaning Excel cannot save changes to the original file regardless of internal settings.
- Close the Excel workbook if it is currently open.
- Open File Explorer and navigate to the folder containing your workbook.
- Right-click on the Excel file and select Properties from the context menu.
- In the General tab, look for the Attributes section at the bottom.
- Check the box labeled Read-only.
- Click Apply and then click OK.
- Now, when anyone opens the file, Excel will treat it as read-only. If they try to save changes, Excel will force them to save the file under a new name (Save As).
Common Mistakes
One of the most frequent errors is confusing "Read-Only Recommended" with "Password to Modify." The recommended setting is a suggestion; any user can click "Edit Anyway" and change the data. If you need to actually prevent changes from unauthorized users, you must use a modification password or the OS-level attribute. Another common mistake is forgetting to save the workbook after selecting "Always Open Read-Only." Because this is a metadata change to the file, it will not take effect until the file is saved and closed.
Users also often mistake "Protect Sheet" or "Protect Workbook Structure" for making the entire file read-only. Protecting a sheet prevents users from editing specific cells, and protecting the workbook structure prevents them from adding or deleting tabs, but neither of these prevents a user from saving changes to the file itself. To make the entire file read-only, you must use the methods described in the Step-by-Step section.
Tips
For those managing shared drives or SharePoint environments, consider using "Check-Out" features instead of read-only settings. Check-out ensures that only one person can edit a file at a time, preventing version conflicts. If you are using the OS-level read-only attribute on a network drive, be aware that some server permissions may override local file attributes, so always test the lock with a colleague's account.
When using a password to modify, keep a record of the password in a secure password manager. If you lose the modification password, you can still open the file as read-only to view the data, but you will be unable to save changes to the original file without using third-party recovery tools, which are often unreliable. For templates, combining the "Always Open Read-Only" setting with a dedicated "Template" folder is the best way to organize your workflow.
Troubleshooting
If you have set a workbook to read-only but it is still opening in edit mode, first check if you are the owner of the file. In some versions of Excel, the creator of the file may bypass certain "recommended" read-only prompts. To verify if the setting is working, try opening the file from a different user account or send it to a colleague to test.
If the "General Options" menu is missing during the Save As process, ensure you are using the desktop version of Excel. Excel for the Web (the browser version) has limited support for these specific file-level attributes and may not show the Tools menu. You will need to open the file in the desktop app to set these restrictions.
If you find that you cannot remove the read-only status, check the file properties in your operating system. If the "Read-only" box is checked in the Windows Properties menu, any settings you change inside Excel will be ignored because the OS is blocking the write-access to the disk. Uncheck the box in File Explorer, click Apply, and then you will be able to edit the file again.
Frequently Asked Questions
Can I make only certain cells read-only?
Yes, but this is called "Protect Sheet" rather than making the workbook read-only. You must unlock the cells you want to remain editable (Format Cells > Protection > uncheck Locked) and then go to the Review tab and select Protect Sheet.
Does a read-only file prevent people from copying my data?
No. Read-only settings prevent users from saving changes to the original file, but they can still copy and paste data into a new workbook or save a copy of the file as a new version on their own computer.
Will the read-only setting work if I email the file?
Yes, the "Always Open Read-Only" and "Password to Modify" settings are embedded in the file metadata and will travel with the file when sent via email or uploaded to a cloud service.
How do I remove the read-only prompt?
Go back to File > Info > Protect Workbook and click on "Always Open Read-Only" to toggle it off. Then, save the file. If you used a password, go to Save As > Tools > General Options and clear the password field.
Is a read-only workbook encrypted?
No. A read-only setting is a restriction on editing, not encryption. Unless you specifically set a "Password to Open," the data inside the file is not encrypted and can be read by anyone who has the file.