If your Excel file won't open, the cause is usually one of a few things: the file is blocked by Windows or macOS security, Excel is in a crashed or safe-mode state, the file is corrupted, or it's stored in a location Excel can't reach (OneDrive, a network share, an email attachment). The fix is to work from the simplest check outward: confirm the file isn't blocked, open Excel cleanly, then try repair tools. Most files open within a few minutes of following the steps below.

What You'll Need

  • The file itself, plus its exact location (local folder, OneDrive, email attachment, USB drive, or network share).
  • Excel installed and signed in with the same Microsoft account that owns the file, if it's stored in OneDrive or SharePoint.
  • Permission to open the folder or share where the file lives.
  • A second device or a colleague's machine to test whether the problem is the file or your computer.

Step-by-Step

  1. Check whether the file is blocked. Files downloaded from the internet or received by email can carry a Windows mark that stops them opening. In File Explorer, right-click the file and choose Properties. On the General tab, look for an Unblock checkbox near the bottom. If it's there, tick it, click Apply, then OK, and try opening the file again. On macOS, right-click the file, choose Open With, and confirm you want to open an app from an unidentified developer if that prompt appears.
  2. Open Excel first, then the file. Launch Excel with no document open, then use File > Open and browse to the file. This separates a double-click association problem from a file problem. If the file opens this way, the issue is how Windows is launching it, not the file itself.
  3. Start Excel in safe mode. On Windows, hold Ctrl while launching Excel, or press Windows key + R, type excel /safe, and press Enter. On Mac, hold Shift while launching Excel. If the file opens in safe mode, an add-in is the likely culprit. Go to File > Options > Add-ins, and disable add-ins one at a time to find the one causing the crash.
  4. Check the file location and permissions. If the file is on OneDrive, SharePoint, or a network drive, open it through the web version of Excel first (sign in at office.com and open the file from there). If it opens in the browser but not on the desktop, the local sync or the desktop app is the problem. For network shares, confirm you have read access to the folder and that the drive is still mapped.
  5. Use Excel's repair tools. With Excel open, go to File > Open > Browse, select the file, click the arrow next to the Open button, and choose Open and Repair. Choose Repair first; if that fails, choose Extract Data to pull out the values and formulas. Be aware that Extract Data may lose formatting, charts, and some formulas, so save the recovered copy under a new name.
  6. Test the file on another device. Copy the file to a USB drive and open it on a different computer with Excel installed. If it fails there too, the file is likely corrupted or password-protected in a way you don't have the password for. If it opens fine elsewhere, the problem is your Excel installation or your user profile.
  7. Update or reinstall Excel. In Excel, go to File > Account > Update Options > Update Now. On Mac, use Help > Check for Updates. If updates don't help, repair the Office installation from Windows Settings > Apps > Installed apps > Microsoft 365 > Modify > Quick Repair, then Online Repair if needed. Reinstalling Office is the last resort and does not delete your files.

Common Mistakes

  • Assuming the file is lost. A file that won't open is often intact; the block or the app is the problem. Try the repair tools before giving up.
  • Re-saving over the original. When you use Open and Repair or Extract Data, save the recovered version under a new name so you don't overwrite the original file.
  • Ignoring the password prompt. If the file asks for a password you don't have, you cannot open it by changing settings. Ask the sender for the password or an unprotected copy.
  • Opening email attachments directly. Attachments opened straight from the mail app can be blocked or opened in Protected View. Save the file to a local folder first, then open it.
  • Disabling all add-ins at once. You won't know which one caused the problem. Disable them one at a time and test after each change.

Tips

  • Keep a copy of important files in OneDrive or SharePoint; version history can restore a previous working copy if the current one is damaged.
  • If the file is large or has complex links, open it with calculation set to manual: in Excel, go to Formulas > Calculation Options > Manual before opening, then recalculate when ready.
  • Check the file extension. A file named .xls or .xlsb may need a different handler than .xlsx; renaming the extension does not convert the file.
  • When sharing files, send a copy rather than a link if the recipient reports it won't open; link permissions are a common cause.

Troubleshooting

If the steps above did not work, work through these in order:

  • Excel opens but the file shows a blank window. Close Excel, reopen it in safe mode, and try the file again. If it opens in safe mode, an add-in or a hardware acceleration setting is the cause. Disable add-ins one by one as described above.
  • You see a message about the file format or extension not matching. Do not click Yes to open it unless you trust the source. This usually means the file was renamed or is not a real Excel file. Ask the sender to resend it in .xlsx format.
  • The file is in Protected View and won't leave it. Go to File > Options > Trust Center > Trust Center Settings > Protected View and review the settings. Only disable Protected View for files you trust; it is a security feature.
  • OneDrive shows the file but Excel can't open it. Check that OneDrive is running and signed in. Right-click the OneDrive icon in the taskbar, choose Settings, and confirm the account. Then open the file from the OneDrive folder on your PC rather than from a shortcut.
  • You get a "file in use" or "locked for editing" message. The file may be open on another device or by another user. Wait a few minutes, or open it read-only to view the contents. If you need to edit, ask the other user to close it.
  • Nothing works and the file is important. Try opening it in Google Sheets or LibreOffice as a last resort to recover the data, then save it back to Excel format. Expect some formatting loss.

Frequently Asked Questions

Why does Excel say the file is corrupted when it opened yesterday?

The file may have been damaged during a save, a sync, or a transfer. Use Open and Repair, then Extract Data if repair fails. Check OneDrive version history for a previous copy.

Can I open an Excel file without Excel installed?

Yes. You can open .xlsx files in Excel for the web (free with a Microsoft account), Google Sheets, or LibreOffice. Features and formatting may not carry over exactly.

Why won't my Excel file open on my phone but opens on my PC?

The mobile Excel app may be out of date, or the file may be stored in a location the app can't access. Update the app and sign in with the same account, then open the file from within the app rather than from a file manager.

What does "Protected View" mean and should I turn it off?

Protected View opens files in a restricted mode to protect against malware. You can enable editing for a specific file by clicking Enable Editing, but do not disable Protected View globally unless you understand the risk.

Can a password-protected Excel file be opened without the password?

No. If you don't have the password, ask the sender for it or for an unprotected copy. There is no legitimate way to bypass the password.

Will repairing a file delete my data?

Open and Repair tries to keep everything. Extract Data recovers values and formulas but may drop formatting, charts, and some features. Always save the repaired copy under a new name so the original stays intact.