Where Excel stores files you can recover
Excel keeps temporary copies of your work in two places: a hidden folder on your computer, and OneDrive or SharePoint if you use Microsoft 365. If you closed a file without saving, or your computer crashed, you can often find a recent version through one of these routes without buying recovery software.
The easiest place to start is the file itself. Open Excel, go to File, then Open Recent. If the file appears in the list, click it. If it shows a version with a timestamp next to the name (like "Document Name [Autosaved]"), that's a backup Excel created automatically.
If the file doesn't appear in Recent, check whether you saved it to OneDrive or SharePoint. Files stored there have built-in version history — you can see every change made in the last 93 days and restore any earlier version without losing the current one.
Key Takeaways
- Excel's AutoRecover feature saves temporary copies every 10 minutes by default, and you can find them through File > Open Recent or in the UnsavedFiles folder.
- OneDrive and SharePoint automatically keep version history for 93 days, letting you restore any earlier copy of a file without losing the current one.
- If you permanently deleted a file from OneDrive, the Recycle Bin keeps it for 93 days before it's gone for good.
- Windows File History and Mac Time Machine can recover files if you set them up before the loss happened, but they won't help if you never turned them on.
- Third-party recovery software can sometimes find deleted files on your hard drive, but success depends on whether the space has been overwritten.
Finding AutoRecover files on your computer
When Excel closes unexpectedly or you shut down without saving, it stores a temporary copy in a hidden folder. The location depends on your operating system. On Windows, look in C:\Users\[Your Username]\AppData\Local\Microsoft\Office\UnsavedFiles. On Mac, check ~/Library/Containers/com.microsoft.Excel/Data/Library/Autosave Information.
The easiest way to reach these folders is through Excel itself. Open Excel and go to File > Info > Manage Versions (Windows) or File > Recover Unsaved Workbooks (Mac). A window will open showing any unsaved files from the past few days. Click the file you want and select Open.
If you find the file but it's incomplete or corrupted, try opening it in Safe Mode. On Windows, hold Ctrl while launching Excel. On Mac, hold Shift. Safe Mode disables add-ins that might be causing the problem and sometimes lets you open files that won't load normally.
Restoring from OneDrive or SharePoint version history
If you saved your file to OneDrive or a SharePoint site, you have access to every version saved in the past 93 days. Right-click the file in OneDrive or SharePoint and select Version History. A panel opens showing each saved version with a timestamp. Click any version to see a preview, then select Restore to make it the current file.
Restoring a version doesn't delete the current file — it creates a copy with the old version's name and date. You can keep both, delete the current one, or rename the restored version. This means you can experiment without risk.
If you deleted the file entirely from OneDrive, it goes to the Recycle Bin first. Open OneDrive in your web browser, click Recycle Bin on the left, find the file, and select Restore. Files stay in the Recycle Bin for 93 days. After that, they're permanently deleted and can't be recovered through OneDrive.
Using Windows File History or Mac Time Machine
If you set up File History on Windows or Time Machine on Mac before the file was lost, you can restore an earlier version. These tools take automatic snapshots of your entire hard drive at regular intervals — File History every hour by default, Time Machine every hour.
On Windows, go to Settings > System > Storage > Advanced Storage Options > Backup Options. Click Restore Files from a Current Backup, navigate to the folder where your Excel file was stored, and select the version you want. On Mac, click the Time Machine icon in the menu bar and use the timeline to navigate to the date before you lost the file.
These tools only work if you turned them on before the loss happened. If you never set up File History or Time Machine, they won't have any snapshots to restore from. Going forward, turning on either one takes about five minutes and can save you from data loss in the future.
When to use third-party recovery software
If the file isn't in AutoRecover, version history, or your backup system, third-party recovery software can sometimes find it on your hard drive. Programs like EaseUS Data Recovery Wizard, Recuva, or R-Studio scan your disk for deleted files that haven't been overwritten yet. They work best if you stop using your computer immediately after the loss — every file you save or program you run risks overwriting the deleted data.
Download the recovery software on a different computer if possible, then run it on the computer where the file was lost. Most programs let you preview files before paying to recover them, so you can confirm the file is there before spending money. Recovery success depends on how long ago the file was deleted and how much you've used the computer since.
These tools cost between $30 and $100 for a single license. They're worth considering if the file is important and the other methods haven't worked, but they're not may provide to find anything. If the deleted space has been overwritten by new files, recovery software can't help.
Preventing future loss with automatic backups
Excel's AutoRecover is on by default, but you can adjust how often it saves. Go to File > Options > Save (Windows) or Excel > Preferences > Save (Mac). Look for AutoRecover and change the interval from the default 10 minutes to whatever works for you — shorter intervals mean less work lost if something goes wrong, but they use more disk space.
For files you store locally on your computer, turn on File History or Time Machine. On Windows, plug in an external hard drive, go to Settings > System > Storage > Advanced Storage Options > Backup Options, and toggle on Backup Now. On Mac, open System Settings, click General > Time Machine, and select an external drive.
For files you use regularly, consider saving them to OneDrive or SharePoint instead of your local drive. These services keep version history automatically and sync across your devices, so you have a backup even if your computer fails completely.
Frequently Asked Questions
How long does Excel keep AutoRecover files?
Excel keeps AutoRecover files for three days by default. After that, they're deleted automatically. If you need to recover a file older than three days, check your backup system — File History, Time Machine, or OneDrive version history — instead.
Can I recover an Excel file if I never saved it?
Yes, if Excel closed unexpectedly. AutoRecover creates a temporary copy every 10 minutes, even if you never manually saved. Open Excel and go to File > Recover Unsaved Workbooks (Mac) or File > Info > Manage Versions (Windows). If you closed Excel normally without saving, there's no temporary copy to recover.
What if the file is corrupted and won't open?
Try opening it in Safe Mode — hold Ctrl while launching Excel on Windows, or Shift on Mac. If that doesn't work, right-click the file, select Open With, and choose a text editor like Notepad. You'll see the raw data, which you can sometimes copy and paste into a new Excel file. For OneDrive files, restore an earlier version from version history.
Does OneDrive keep deleted files forever?
No. Files in the OneDrive Recycle Bin stay for 93 days, then they're permanently deleted. After that, they can't be recovered through OneDrive. If you have a backup system like File History or Time Machine set up, you might still recover them from there.
Is recovery software safe to use?
Legitimate recovery software from established companies like EaseUS, Recuva, or R-Studio is safe. Download only from the official website, not from third-party download sites. Be cautious of programs that promise may provide recovery or ask for payment before showing results — those are often scams.