How to Recover a Deleted Excel File (And What Actually Affects Your Chances)

Deleting an Excel file by accident is one of those stomach-drop moments — especially if it contained hours of work. The good news: deleted doesn't always mean gone. The less-good news: how recoverable a file actually is depends on several factors that vary from person to person. Here's what you need to know.

What Happens When You Delete a File?

When you delete an Excel file — or any file — your operating system doesn't immediately erase the data. It typically removes the file's entry from the directory and marks that space as available for reuse. The actual data often sits on your storage drive until something new overwrites it.

This is why speed matters. The longer you wait after deletion, and the more you use your computer, the higher the chance that new data overwrites the old file. Acting quickly gives you meaningfully better odds.

Method 1: Check the Recycle Bin (Windows) or Trash (Mac)

This is always the first stop. If you deleted the file using standard deletion (not Shift+Delete on Windows, and not bypassing the Trash on Mac), it's probably sitting there untouched.

  • Windows: Open the Recycle Bin on your desktop, search for the file by name or sort by Date Deleted, right-click it, and select Restore.
  • Mac: Open the Trash from the Dock, find the file, right-click it, and select Put Back.

If the file isn't there, it was either permanently deleted, the Recycle Bin/Trash was emptied, or a policy on your device automatically bypassed it.

Method 2: Recover from OneDrive or SharePoint (Microsoft 365 Users) ☁️

If you were working in Microsoft 365 and had OneDrive sync enabled, your file may have been backed up automatically — even if it's been deleted from your local machine.

  • Sign into OneDrive and check the Recycle Bin (found in the left-hand panel). Files deleted from synced folders go here and are typically retained for 30 days before permanent deletion.
  • If your organization uses SharePoint, deleted files are recoverable from the SharePoint Recycle Bin, sometimes through a second-stage recycle bin with an extended retention window.

This recovery route is reliable when sync was active at the time of deletion — but it only applies to files that were stored inside a synced folder, not files saved exclusively to a local drive.

Method 3: Use Excel's Built-In AutoRecover

This one is slightly different — it's about recovering unsaved versions, not deleted files. But many people conflate the two, so it's worth covering.

Excel's AutoRecover feature periodically saves a temporary backup of open files. If Excel crashed or closed unexpectedly, you may find a recent version the next time you open Excel — it will prompt you to restore it.

You can also manually check: go to File → Info → Manage Workbook → Recover Unsaved Workbooks. These temp files are stored in a system folder and are deleted automatically after a period, so this window is narrow.

AutoRecover won't help with a file you fully saved and then deleted — it's a session recovery tool, not a deletion recovery tool.

Method 4: Check File History or Backup Services

Recovery SourceWhat It CoversKey Requirement
Windows File HistoryPrevious versions of files in backed-up foldersMust have been enabled before deletion
macOS Time MachineSnapshots of your drive at regular intervalsRequires an external or network backup drive
OneDrive Version HistoryPrior saved versions of a fileFile must have been stored in OneDrive
Third-party backup toolsVaries by softwareDepends on backup schedule and retention policy

If File History (Windows) or Time Machine (Mac) was enabled, you may be able to browse to the folder where the file lived and restore a previous version — even after permanent deletion. Right-clicking a folder in Windows and selecting Restore previous versions is the starting point.

Method 5: File Recovery Software

If none of the above apply, file recovery software can scan your drive for data that hasn't yet been overwritten. Tools in this category work by reading the raw storage sectors and reconstructing files whose directory entries have been removed.

Recovery success here is highly variable and depends on:

  • How much time has passed since deletion
  • How actively the drive has been used since then
  • Whether the drive uses SSD or HDD — SSDs often run a background process called TRIM, which proactively clears deleted data blocks to maintain performance, making recovery significantly harder than on traditional HDDs
  • Whether the drive is encrypted — full-disk encryption can make raw recovery tools ineffective

Some well-known categories of recovery software include tools designed for home users with simple interfaces, and more advanced forensic-grade tools typically used by IT professionals. Results are not guaranteed regardless of which type you use.

The Variables That Determine Your Outcome 🔍

Not everyone is in the same position when they lose an Excel file. Your recovery options — and their likelihood of success — shift depending on:

  • Where the file was saved: Local drive only, OneDrive, SharePoint, or a network location all behave differently
  • Whether any backup system was active: File History, Time Machine, and cloud sync need to be set up before the file is deleted to be useful
  • Your storage type: SSD vs. HDD changes the physics of how deleted data persists
  • How quickly you act: Every minute of regular computer use after deletion can reduce your odds
  • Your Microsoft 365 plan: Business and enterprise plans often include extended retention and compliance features that consumer plans don't

A person who saves everything to OneDrive and has an active Microsoft 365 subscription has a very different recovery experience than someone who saves locally to an SSD with no backup tools configured.

Understanding which of those situations applies to you is what determines which steps to try first — and how realistic recovery actually is for your specific file.