To open a read-only Excel file, you usually just double-click it and work in the copy Excel offers to save under a new name, or you can clear the flag that made it read-only in the first place. The exact route depends on why the file is read-only: it may be marked as final, shared by someone else who locked editing, sitting in a protected folder, stored on OneDrive with view-only permissions, or simply flagged read-only on disk. The correct fix is to find which of those applies before you fight the warning. If you only need to look at the data, opening it read-only is the safe choice and nothing bad happens. If you need to edit it, the steps below walk through each cause in order, from the simplest to the most involved.

What You'll Need

  • Excel on desktop (Microsoft 365, Excel 2021 or 2019), Excel for the web, or a mobile version of Excel — the menus differ, so the steps below note where they do.
  • The file itself, saved locally or in OneDrive, SharePoint or Teams.
  • Edit permission on the file if it belongs to someone else — a view-only share can't be bypassed from your side.
  • Write access to the folder where the file lives, if you plan to save changes over the original.

Step-by-Step

Work through these in order and stop as soon as the file opens normally. Menu labels can differ slightly by version, device and region, so if a name looks unfamiliar, look for the closest equivalent. The first three steps are written for Excel on Windows and Mac desktop; the later steps cover the web and mobile versions.

  1. Check whether the file is simply marked read-only in the heading. Open the file and look at the title bar or the yellow message bar. A banner that says the file is read-only, or that editing is locked, tells you the file itself is fine but flagged. If the banner offers Edit Anyway or Enable Editing, click it. On a file marked as final, the banner may say it is marked final and offer an edit button. That single click resolves most cases.
  2. Look at the file's own properties. Close the file, right-click it in File Explorer (or Ctrl-click on Mac and choose Get Info), open Properties, and check the General tab. On Windows, clear the Read-only attribute and click Apply. On Mac, check the Sharing & Permissions section at the bottom of Get Info, and make sure your account has Read & Write rather than Read only. If the padlock at the bottom right is locked, click it and enter your Mac password to unlock the permissions, then change your access to Read & Write.
  3. Check the folder, not just the file. If the file sits in a folder where you only have read access, the file inherits that restriction and changing the file's own attribute won't stick. Move or copy the file to a folder you own, such as Documents or Desktop, then open the copy. Copying is also the safest move if the original is shared with other people, because you get a working file while leaving the original untouched.
  4. Rule out Protected View. Files downloaded from the internet or received as email attachments open in Protected View, which shows a yellow bar saying editing is disabled. Click Enable Editing in that bar. If the bar is missing, open File > Options > Trust Center > Trust Center Settings > Protected View on Windows and check which view is switching on. Only turn a Protected View setting off for files you trust and have scanned, because those settings exist to block malicious documents.
  5. Check whether the workbook is shared or password-protected for editing. A workbook saved with a password to modify opens read-only unless you enter the password. If you see a prompt asking for a password to modify, you need the password from whoever created the file; there is no legitimate way around it. Similarly, a workbook marked as shared for collaboration may limit certain edits. Ask the owner rather than experimenting with the file.
  6. Check cloud permissions for OneDrive, SharePoint and Teams files. If the file is stored online, read-only usually means your account has view-only access. Open the file in Excel for the web and look for an Editing or view-only indicator near the top of the window. If it says view-only, request edit access from the share dialog, or ask the owner directly. Sign out of Excel and sign back in if you are sure you should have edit rights, because a stale sign-in can leave you on the wrong account. Files opened from a shared link sometimes carry the link's restrictions, so open them from your own OneDrive rather than a pasted link.
  7. Use Save As to keep your changes. If you have decided you only need your own copy, click File > Save As (or File > Make a Copy), pick a new name and a folder you can write to, and save. Editing that copy is never blocked, and the original stays as it was. This is the right answer when someone sends you a template and expects the original back unaltered.
  8. Use Excel for the web deliberately for read-only use. Opening a workbook in Excel for the web is a quick way to inspect data without touching the desktop copy. The web version shows a view-only badge when you lack edit rights and a full editing bar when you have them. Downloading from the web version gives you a local copy you own.
  9. Know the mobile behaviour. Excel on iPhone and Android opens shared files in view mode when you lack permissions and shows an edit button when you have them. If the button is greyed out, the restriction is on the file or account, not the phone, so check permissions in OneDrive or SharePoint rather than reinstalling the app.

Common Mistakes

  • Turning off Protected View for all files just to get past the yellow bar. That removes a real security layer; enable editing per file instead.
  • Changing the read-only attribute on the file without checking the folder — the attribute reverts as soon as the parent folder is read-only for you.
  • Editing a shared original and assuming others won't notice. If you need changes for your own use, save a copy under a new name.
  • Confusing a password to modify with a password to open. One lets you read but not edit; the other won't open at all without the password.
  • Downloading and re-uploading a cloud file as a workaround for permissions. It creates duplicate versions and doesn't change your access to the original.
  • Closing the file after clicking Enable Editing and then wondering why the banner returns. The change isn't permanent unless the file's attribute or permissions change.

Tips

  • When you need to inspect a file someone sent, open it read-only on purpose so you can't accidentally type into it. In Excel, use File > Open and choose the read-only option in the open dialog on desktop.
  • If you're the owner and want to stop people editing, share with view-only permission or mark the workbook as final, rather than relying on the read-only file attribute, which doesn't travel with cloud files.
  • Name your working copy clearly, for example with your initials and a date, so the recipient knows it differs from the original.
  • Keep the original untouched until your copy is saved and verified; then you can compare or replace.

Troubleshooting

If the file still won't open for editing, start with the simplest checks. Restart Excel, then restart the device — a locked temp file or a stuck process can hold a workbook in read-only mode. Look for a matching lock file in the same folder (a hidden file beginning with a tilde), which means someone else, or a crashed session, still has it open; closing the other session usually clears it. If the file lives on a network share, copy it locally and try again, since share permissions are often the cause and are outside your control.

If you get an error rather than a read-only banner, note the exact message — it usually points to permissions, corruption or a format mismatch. A workbook in a newer format opened in very old Excel opens read-only or not at all; ask for a compatible copy. If the file is password-protected and you don't have the password, contact the owner; there is no safe shortcut. As a last resort, sign out of all Microsoft accounts in Excel and Office, sign back in with the account that should have access, and reopen the file. Reinstalling the app rarely fixes permissions problems and should come after everything above.

Frequently Asked Questions

Does opening a file read-only protect the original?

Yes, in the sense that Excel won't let you save over the original from a read-only session. You can still save a copy under a new name.

Why does my own file open read-only?

Usually a folder permission, a read-only file attribute, Protected View after downloading, or a synced cloud folder where your account lacks write access. Check the banner text first.

Can I remove a password to modify without the password?

No. If the workbook requires a password to edit, only the person who set it can supply it. Ask the owner for an unprotected copy.

What's the difference between read-only and view-only?

Read-only usually means the file opens but edits can't be saved to it. View-only is the cloud-sharing term for an account that can see the file but not change it; the effect for you is similar.

Will read-only files still update if someone else edits them?

Only if you reopen the file or the shared version refreshes. Your read-only session won't change under you while it's open.

Does this work the same on Mac and Windows?

The concepts are the same, but the menus differ: Windows uses file Properties and Trust Center, while Mac uses Get Info and the Excel Preferences privacy settings.