To change an Excel file from read-only to editable, you usually need to do one of three things: turn off Protected View for that file, remove the read-only recommendation or password, or save a copy if the file is locked by another user. The exact fix depends on why Excel opened it read-only, so the first step is to read the yellow or red banner at the top of the window — it names the cause. The steps below cover each cause in order, from the most common and safest to the ones that need a password or a different file location. Menu labels can differ slightly by Excel version, device and region, but the paths below are the standard ones in current Microsoft 365 and Excel 2019–2021 on Windows and Mac.

What You'll Need

  • The file itself, open in Excel on desktop (Windows or Mac) or in Excel for the web.
  • The password, if the file is encrypted or protected — you cannot remove protection without it.
  • Edit permission on the file's location (local folder, OneDrive, SharePoint or network share).
  • For files on a shared drive or OneDrive, the person who locked it may need to close it first.

Step-by-Step

  1. Read the banner. When Excel opens a file read-only, a bar appears under the ribbon. It says one of: PROTECTED VIEW, READ-ONLY RECOMMENDED, READ-ONLY, or that the file is locked for editing by another user. Note the wording — it tells you which step below applies.
  2. If the banner says PROTECTED VIEW: click Enable Editing on the banner. This is the most common case for files downloaded from the internet or received by email. Excel blocks editing until you confirm the file is safe.
  3. If the banner says READ-ONLY RECOMMENDED: click Edit Anyway on the banner, or go to File > Info and click Edit Anyway next to the protection notice. This removes the recommendation for this session. To remove it permanently, see step 6.
  4. If the title bar says Read-Only and there is no banner: the file's own property is set to read-only. Close Excel. In File Explorer (Windows), right-click the file > Properties > General tab, clear the Read-only checkbox, click Apply, then OK. On Mac, select the file in Finder, press Command+I, and untick Locked under General. Reopen the file.
  5. If Excel says the file is locked for editing by another user: click Notify to ask them to close it, or open the file read-only and use Save a Copy (File > Save a Copy) to work on your own version. On OneDrive or SharePoint, the other person can also close the file from the version history or by signing out; if you own the file, you can open it in Excel for the web and use the editing options there to take over.
  6. If the file asks for a password to modify: type the password in the dialog and click OK. If you do not have it, click Read Only and save a copy under a new name — you cannot remove a modify password without knowing it.
  7. If the workbook itself is protected (sheet or workbook protection): go to Review > Unprotect Sheet or Review > Unprotect Workbook, and enter the password if prompted. This is different from file-level read-only: it stops changes to cells or structure, not to the file.
  8. If the file is in a folder you cannot write to: copy it to your Desktop or Documents, or ask the folder owner for write permission. On a network share, check with IT whether your account has modify rights.
  9. Save your changes. Once editing is enabled, press Ctrl+S (Command+S on Mac). If the file is still read-only, Excel will offer Save As — save to a location you can write to, such as your own OneDrive.

Common Mistakes

  • Confusing Protected View with read-only. Protected View is a security sandbox for downloaded files; clicking Enable Editing fixes it. Read-only is a file property or permission, and Enable Editing will not appear.
  • Editing a copy without realising it. If you click Save a Copy, your changes go to the new file, not the original. Others will not see your edits unless you share the copy.
  • Removing Read-only in file properties while the file is open. Windows will not apply the change until Excel closes the file. Close Excel first.
  • Assuming sheet protection is file protection. Unprotecting a sheet does not remove a password to open the file, and vice versa.
  • Ignoring OneDrive sync. A file that is still uploading or is set to Free up space can open read-only until it finishes syncing. Check the cloud icon in File Explorer.

Tips

  • Use File > Info to see the exact protection status: it lists Protected View, Read-Only Recommended, Encrypt with Password and Protect Workbook separately.
  • To stop the Read-Only Recommended prompt permanently, open File > Info > Protect Workbook > Always Open Read-Only and toggle it off (the label changes to Mark as Final options depending on version).
  • If you only need to view a file, opening it read-only is safer — it prevents accidental edits to shared workbooks.
  • For files on SharePoint or Teams, check whether the library has Check Out required; if so, use Check Out from the file's context menu to get edit rights.
  • Keep a backup before removing protection from a workbook you did not create.

Troubleshooting

If the banner does not appear and the file still opens read-only, work through these checks in order. First, close and reopen Excel — a stuck lock from a crashed session clears on restart. Second, check the file's location: files in Program Files, Windows or a synced folder with restricted rights often open read-only. Third, sign out of and back into your Microsoft account in Excel (File > Account > Sign out), which refreshes OneDrive and SharePoint permissions. Fourth, update Excel via File > Account > Update Options > Update Now; older builds can mishandle protected files. If the file came from email, save it to your Desktop first — attachments opened directly from Outlook often stay in Protected View. If a password to modify is set and you do not have it, the only route is to save a copy and edit that; there is no legitimate way to remove the password without it. For files on a company network, ask IT to confirm your account has modify permissions on the share. As a last resort, open the file in Excel for the web, which sometimes allows editing when the desktop app does not, then download the edited copy.

Frequently Asked Questions

Why does Excel open my file as read-only even though I created it?

Usually because the file is in a synced OneDrive folder that has not finished uploading, or because it was marked Always Open Read-Only in File > Info > Protect Workbook. Check the sync icon and the Protect Workbook menu.

Can I remove a read-only password without knowing it?

No. A password to modify or to open is encryption; without the password the only option is to save a copy and edit that, or ask the file's owner for the password.

What is the difference between Protected View and read-only?

Protected View is a security mode for files from the internet or email; click Enable Editing to leave it. Read-only is a file property, permission or password setting that persists after you close the file.

Why can't I click Enable Editing?

The button only appears in Protected View. If there is no banner, the cause is a file property, permission or password, so use the file properties or Review tab steps instead.

Does saving a copy keep my formulas and formatting?

Yes. Save a Copy duplicates the whole workbook, including formulas, formatting and sheets, into a new file you can edit freely.

Will removing read-only affect other people using the file?

Only if you change the file's properties or protection on a shared location. Clearing Read-only on a local copy affects just that copy; removing protection from a shared workbook changes it for everyone who opens it.