How to Recover an Excel File That Was Deleted

Accidentally deleting an Excel file is one of those moments that sends a cold wave of panic through anyone who's ever lost hours of work. The good news: deleted doesn't always mean gone. Depending on how the file was deleted, how much time has passed, and what system you're working on, recovery is often possible — sometimes completely, sometimes partially.

Here's a clear breakdown of every realistic recovery path, what each one depends on, and what affects your odds.

Where Deleted Files Actually Go 🗂️

When you delete a file on Windows or macOS, it usually moves to the Recycle Bin or Trash rather than being immediately erased. The actual data stays on the drive until something else overwrites it — which is why fast action matters.

There are three general deletion scenarios:

  • Soft delete — file moved to Recycle Bin/Trash (easiest recovery)
  • Hard delete — file permanently deleted or Bin emptied (harder, but often still possible)
  • Cloud or version-based deletion — file removed from OneDrive, SharePoint, or similar (often reversible via the platform)

Method 1: Check the Recycle Bin or Trash First

Before anything else, open your Recycle Bin (Windows) or Trash (macOS). Search for the filename or sort by Date Deleted. If it's there, right-click and select Restore — the file returns to its original location.

This works if:

  • The file was deleted normally (not Shift+Delete on Windows)
  • The Bin hasn't been emptied since deletion
  • Storage-saving tools haven't auto-purged it

Method 2: Use Excel's Built-In AutoRecover

If the file wasn't manually saved before deletion, Excel's AutoRecover feature may have a temporary version saved independently.

On Windows:

  1. Open Excel and go to File → Info → Manage Workbook
  2. Look for unsaved versions listed there
  3. Alternatively, go to File → Open → Recent and scroll to the bottom for Recover Unsaved Workbooks

Default AutoRecover folder locations:

  • Windows: C:Users[Username]AppDataRoamingMicrosoftExcel
  • macOS: ~/Library/Containers/com.microsoft.Excel/Data/Library/Preferences/AutoRecovery/

AutoRecover files are temporary and are deleted once Excel closes normally — so this path is most useful if Excel crashed or closed unexpectedly before you saved.

Method 3: Restore from Windows File History or macOS Time Machine

Both major operating systems include built-in backup features that can restore previous versions of files — including ones that have been deleted.

Windows File History:

  1. Navigate to the folder where the file was stored
  2. Right-click inside the folder → Restore previous versions
  3. Browse available snapshots and restore the relevant version

macOS Time Machine:

  1. Open the folder where the file lived
  2. Launch Time Machine and scroll back through backups
  3. Locate the file and click Restore

This only works if File History or Time Machine was enabled before the deletion occurred and the backup drive was connected at the relevant time. Many users discover these tools weren't set up until after a loss — which is a common and frustrating situation.

Method 4: Recover from OneDrive, SharePoint, or Google Drive 🔄

If the Excel file was stored in a cloud folder, the cloud platform likely has its own recycle bin and version history.

PlatformRecycle Bin RetentionVersion History
OneDrive (Personal)30 daysUp to 30 days
OneDrive (Business/Microsoft 365)93 days (first + second stage)Per admin settings
SharePoint93 daysPer library settings
Google Drive30 daysUp to 30 days
Dropbox (Free)30 days30 days
Dropbox (Plus/Professional)180 days180 days

To recover from OneDrive: go to onedrive.com, click the Recycle Bin in the left sidebar, and restore from there.

For SharePoint, site admins may have access to a second-stage recycle bin even after users have emptied their own.

Method 5: Use Third-Party File Recovery Software

If the file was permanently deleted and no backup exists, dedicated recovery tools can scan your drive for recoverable data. These tools work by locating file fragments that haven't yet been overwritten.

What affects success:

  • Time since deletion — the longer you wait, the more likely the data has been overwritten
  • Drive type — recovery from HDDs is generally more successful than from SSDs, because SSDs use a process called TRIM that more aggressively clears deleted data
  • Drive activity since deletion — every file written to the drive after deletion reduces recovery odds
  • File size and fragmentation — larger or heavily fragmented files are harder to reconstruct fully

Common tools in this category include Recuva, Disk Drill, and PhotoRec, among others. Results vary significantly based on the factors above.

Method 6: Check Email Attachments and Shared Copies

It's worth a quick search through your email for any version of the file you may have sent or received as an attachment. Similarly, check:

  • Teams or Slack file history
  • Shared drives where colleagues may have a copy
  • Browser downloads folder if you downloaded it from a web-based platform

This isn't a recovery method in the technical sense — but it's often the fastest path to getting the data back.

What Actually Determines Whether Recovery Works ⚠️

The realistic outcome depends on a combination of factors unique to your setup:

  • Whether AutoSave or AutoRecover was enabled in Excel
  • Whether the file lived on a local drive, network drive, or cloud folder
  • Whether any backup solution was active and current
  • The type of storage (SSD vs HDD, and whether TRIM is active)
  • How much time and drive activity occurred after deletion
  • Your operating system version and what built-in tools are available to you

Someone using Microsoft 365 with OneDrive sync enabled will have a very different recovery experience than someone working offline on a personal laptop with no backup configured. The technical steps are straightforward — but which steps apply, and how well they'll work, comes down entirely to the specifics of your own environment.