To make an Excel file read only in Microsoft 365, you protect the workbook structure or set file permissions so others can view but not edit. This prevents accidental changes, enforces compliance, or shares finalized reports. No special tools are required—just Microsoft Excel in Microsoft 365, and a file you own or have edit access to.

What You'll Need

  • A Microsoft 365 subscription with Excel installed (desktop or web)
  • An Excel file (.xlsx or .xlsb) you have edit permissions for
  • Access to the file’s location (OneDrive, SharePoint, or local drive)

Step-by-Step

  1. Open the Excel file you want to make read only in Microsoft Excel (desktop app or Excel for the web).
  2. Click the File tab in the top-left corner of the ribbon.
  3. Select Info from the left-hand menu. This shows file properties and protection options.
  4. Under Permissions, click Protect Workbook, then choose Encrypt with Password if you want to require a password to open the file. Skip this step if you only want to restrict editing, not access.
  5. Back in the Protect Workbook menu, select Restrict Editing. This opens the Restrict Editing pane on the right side of the screen.
  6. In the Restrict Editing pane, check the box labeled Allow only this type of editing in the document.
  7. From the dropdown menu below, select Read Only. This prevents users from making any changes to the content unless they unprotect the file.
  8. Click Yes, Start Enforcing Protection at the bottom of the pane.
  9. When prompted, enter a password to unlock editing later (optional but recommended). Type the password in the first box, then confirm it in the second box. Click OK. If you leave this blank, anyone can remove the restriction without a password—avoid this in shared or sensitive files.
  10. Save the file. If it’s stored in OneDrive or SharePoint, changes are saved automatically. If it’s local, press Ctrl + S or click Save in the top-left.
  11. Close and reopen the file to verify the protection works. You should see a message at the top saying This workbook is protected and be unable to edit cells unless you click Unprotect Workbook and enter the password.

Common Mistakes

  • Forgetting to click Yes, Start Enforcing Protection after selecting Read Only—this is the most common error and leaves the file unprotected.
  • Leaving the password field blank, which allows anyone to remove protection without authorization.
  • Using Protect Sheet instead of Protect Workbook: Protect Sheet only locks individual sheets, not the entire workbook structure. Users can still add, delete, or rename sheets.
  • Assuming file permissions set in OneDrive or SharePoint automatically make Excel read only—these control access to the file, not what users can do inside Excel once opened.
  • Not saving after applying protection—changes are lost if you close without saving.

Tips

  • Use a strong, unique password for protection—avoid common words or birthdays. Store it securely in a password manager.
  • If sharing via email or cloud, also set the file’s cloud permissions to View Only in OneDrive or SharePoint for layered security.
  • Test the protection by opening the file in a different user account or device to confirm it works as intended.
  • For team collaboration, consider using Excel’s Shared Workbook feature with tracked changes instead of read-only if edits are needed but must be logged.
  • Keep an unprotected copy as a backup before applying restrictions, in case you need to make future edits.
  • Use the Read-only recommended option (under Save As > Tools > General Options) to prompt users to open as read only, but allow them to bypass it—useful for gentle enforcement.

Troubleshooting

  • The file still allows editing after applying protection: Confirm you clicked Yes, Start Enforcing Protection. If you skipped this, the setting is inactive. Reopen the file and repeat steps 5–9.
  • Forgot the password: Microsoft cannot recover lost passwords. You must restore from a backup or recreate the file. Always store passwords securely.
  • Can’t find the Restrict Editing option: Make sure you’re in Excel, not Excel for the web. The web version has limited protection features. Use the desktop app for full control.
  • Users can still delete or rename sheets: You must use Protect Workbook > Restrict Editing > Read Only. Protecting individual sheets won’t prevent structural changes.
  • Protection disappears after saving: Ensure you saved the file with the protection applied. If using cloud storage, check that auto-sync didn’t revert to an older version.
  • Receiving an error when opening the file: If you encrypted with a password, ensure you’re entering it correctly. If the file is corrupted, try opening it on another device or repair it via File > Open > Browse > select file > click arrow next to Open > Open and Repair.

Frequently Asked Questions

Can I make an Excel file read only without a password?

Yes, but it’s not secure. You can select Read Only in Restrict Editing and leave the password field blank. Anyone can then click Unprotect Workbook to remove restrictions. Use this only for internal, low-risk files.

Does read-only protect the file in Excel for the web?

Yes, if the protection was applied in the desktop app. Excel for the web honors workbook-level protections like Read Only and password locks. However, you cannot apply or modify these protections in Excel for the web—use the desktop app to set them.

Can multiple people edit a read-only Excel file at the same time?

No. If the workbook is protected with Read Only, no one can edit it unless they unprotect it with the password. Even in co-authoring mode, edits are blocked until protection is removed.

Will read-only protection work if I email the file?

Yes, as long as the recipient opens it in Excel (desktop or web) and the file is saved with protection. The restriction travels with the file. But if they save a copy and remove protection, the original remains unchanged.

What’s the difference between read-only and password protection?

Read-only restricts editing but allows viewing. Password protection (via Encrypt with Password) requires a password to even open the file. You can use both: password to open, then read-only to prevent edits.

Can I make only certain cells read-only in Excel?

Yes, but it requires a different method. Unlock the cells you want editable, then protect the sheet (Review > Protect Sheet). By default, all cells are locked. You must first unlock desired cells via Format Cells > Protection > uncheck Locked, then protect the sheet. This protects sheet content but not workbook structure.