Most of the time, Excel attachments that will not open from Outlook are being blocked by Outlook's own security settings, not by Excel. If every .xlsx file fails but the same file opens fine when you save it to your computer first, the block is almost certainly in Outlook's Trust Center. If the file fails only when you double-click it directly from the message, the cause is usually Protected View, a stale temporary cache, or a registration glitch that ties .xlsx files to the wrong program. The steps below work through those causes in order, from the quickest check to the most thorough repair.

What You'll Need

  • A Windows PC or Mac with Outlook and Excel installed on the same machine (the menu paths below are written for the Windows desktop versions; Mac labels differ slightly)
  • The Excel attachment that will not open, still in the original email so you can retest after each change
  • Permission to change Outlook and Excel settings on your own computer, which normally means administrator rights
  • Note that button and menu labels can differ slightly by version, device and region, so look for the same idea rather than the exact wording

Step-by-Step

  1. Test the file outside Outlook first. Save the attachment to your desktop or Downloads folder by right-clicking it and choosing the save option (or using the save icon in the attachment area). Then double-click the saved copy. If it opens from the folder, the file itself is fine and the problem is in how Outlook passes it to Excel, so continue below. If the saved copy also fails, skip ahead to the troubleshooting section, because the file may be damaged or password-protected.
  2. Close and reopen Outlook, then try once more. Fully quit Outlook rather than just closing the window so the program and its background processes stop. Reopen it and double-click the attachment again. A single stuck temporary file will often clear itself this way.
  3. Clear Outlook's temporary files. Outlook caches attachments in its secure temporary folder, and a corrupted cached copy will fail every time. Close Outlook, open File Explorer and paste %TEMP% into the address bar. In that folder, look for folders whose names begin with OLK and delete them. If some of those files are open in another program, restart the computer and delete them again, since Windows will not remove files that are still in use. Nothing in these folders is email you need, so deleting them is safe in the sense that no messages or contacts are lost. Empty the Recycle Bin only if you want the space back, and then reopen Outlook and retry the attachment.
  4. Check Protected View in Excel. Excel opens files from email in Protected View by design, and if that mode is broken the file can hang or close without a message. Open Excel, go to File > Options > Trust Center > Trust Center Settings > Protected View. Review the three checkboxes and try turning off the one that covers files originating from the internet, just long enough to test. Retest the attachment, then decide whether to leave it off. Turning Protected View off lowers your protection against malicious files, so only do this if you trust the sender and the source.
  5. Check Outlook's attachment security settings. In Outlook, go to File > Options > Trust Center > Trust Center Settings > Attachment Handling. Look for the option to turn off attachment preview and for the setting that blocks potentially unsafe attachments. If the attachment bar at the top of the message says the file was blocked, that is your answer: Outlook has classified the file type as unsafe. Legitimate .xlsx files should not be blocked by default, so a block usually means the file has been renamed with an unusual extension or came from a source Outlook distrusts. Ask the sender to resend the file as a standard .xlsx from a normal mail account rather than changing settings to force a blocked file open.
  6. Repair the file association. If Windows opens the attachment with the wrong program, or nothing happens at all, the .xlsx association may be broken. Open Settings > Apps > Default apps and search for .xlsx in the file type list, then set it to Excel. On Windows 10 the equivalent page is Settings > Apps > Default apps > Choose default apps by file type. After changing it, close and reopen Outlook and try again.
  7. Run a quick repair of Office. Go to Settings > Apps > Installed apps (called Apps & features on older builds), find Microsoft 365 or Microsoft Office in the list, choose Modify, then Quick Repair. This checks the local Office files and fixes the common registration problems without deleting your email or documents. If Quick Repair does not help, run Online Repair, which takes longer and requires an internet connection, but be aware that it reinstalls the Office programs and any add-ins you added may need reinstalling afterward.
  8. Update both programs. In Outlook, go to File > Office Account > Update Options > Update Now. An old build can fail on new file formats or after a Windows update, and updating is the safest fix available.
  9. Retest with a fresh email. Ask the sender to attach the file again rather than forwarding the original message, because forwarding can carry over the same blocked attachment. If a fresh attachment opens normally, the original file or message was the problem.

Common Mistakes

  • Turning off all of Outlook's security protections as a blanket fix. Narrow the change to the specific setting causing the block, and turn the protection back on once the file opens.
  • Deleting the whole email, or moving it to another folder, instead of clearing the temporary cache. The cached copy is the problem, not the message.
  • Confusing Protected View with an error. A blank banner saying the file was opened in Protected View is normal and can be dismissed with the Enable Editing button, not a failure.
  • Changing the file extension to something Outlook allows. Renaming a file to slip past a block defeats the protection without making the file safer, and it can corrupt how Excel reads the file.
  • Uninstalling and reinstalling Office before trying Quick Repair, which is faster and keeps your settings.
  • Assuming the sender's file is fine without testing the saved copy on another computer. If the saved copy fails everywhere, the workbook is likely damaged and no Outlook setting will help.

Tips

  • Open the attachment by saving it to a folder first and working from there. It is more reliable than double-clicking inside Outlook and avoids the temporary cache entirely.
  • Keep a small separate folder for email attachments during busy periods and empty it regularly, so old files do not pile up.
  • If the workbook uses macros (.xlsm), Excel will still warn you before enabling content. Read the warning instead of clicking through it, and only enable content from senders you trust.
  • If the file is password-protected, Outlook cannot preview it and Excel will prompt for the password. The password comes from the sender, not from your settings.
  • Keep Windows and Office updated together. A mismatch between the two is a common source of attachment problems after an update.

Troubleshooting

Nothing happens when you double-click. Try right-clicking the attachment and choosing Open or Save As. If only Save As works, the association or Protected View is at fault, so return to steps 4 and 6.

Excel opens but the file is blank or shows garbled characters. That usually means the file was not actually an Excel workbook, or it is an older format that needs conversion. Ask the sender to save it as .xlsx and resend. If it is a CSV opened in Excel, columns may look wrong because of regional separator settings, not because the file is broken.

A warning says the file is corrupt. Try opening the saved copy with Excel's File > Open, and use the arrow beside the Open button to choose Open and Repair if available. A backup copy or a request for a resend is often faster than repairing.

The problem affects every attachment type, not just Excel. That points to Outlook itself, the temporary cache, or the Office installation rather than Excel. Clear the OLK folders, run Quick Repair and update Office before assuming the files are bad.

It works on another computer but not yours. Compare the Office versions and check Windows updates. If the other machine opens the same email fine, the settings on your machine are the cause, and a Quick Repair usually resolves it.

Still failing after all of the above. Create a new Outlook profile through Control Panel > Mail > Show Profiles > Add. This does not delete your email account, since the messages stay on the server for most account types, but note down your account settings first in case you need to re-enter them.

Frequently Asked Questions

Why do only some Excel attachments fail to open?

Those files are usually being flagged by Outlook's attachment handling, or they were cached in a corrupted state. Files marked as blocked or saved with an unusual extension fail while normal .xlsx files open. Test the saved copy to tell the two apart.

Is it safe to turn off Protected View?

It removes a layer of defence against malicious files, so treat it as a temporary test rather than a permanent change. If you need it off for a specific trusted folder, you can add that folder to Excel's trusted locations instead of disabling protection everywhere.

Can I open an Excel attachment on my phone?

Yes, if the Excel mobile app is installed and signed in. The steps differ from desktop: in the Outlook mobile app, tap the attachment and then choose to open it in Excel, or save it to the device first. Mobile apps have no Trust Center settings to change.

Why does the attachment open in a browser window instead of Excel?

Outlook may be handing the file to whatever program is registered for that file type. Reassign .xlsx to Excel in your default apps settings and reopen Outlook.

Will clearing Outlook's temporary files delete my emails?

No. The OLK folders hold working copies of attachments and previews, not your mailbox. Messages stay in their folders, though any attachment you had open at the time will need to be reopened.

What if the sender says the file opens fine on their end?

That only shows the file is intact. The block is on your side, so work through the Trust Center, Protected View and repair steps before asking them to resend.