Where Excel stores older versions of your files
Excel keeps copies of files you've worked on, but where those copies live depends on which version you use and how you save. If you use Microsoft 365 (the subscription version) and save to OneDrive or SharePoint, Excel automatically saves versions every few minutes — you can go back days or weeks. If you use Excel 2021 or Excel 2019 (the one-time purchase versions) and save to your computer's hard drive, you have fewer options, and they depend on settings you may have turned on or off.
The most common recovery routes are: checking your file's version history in OneDrive or SharePoint, using Excel's AutoRecover feature, looking in your Recycle Bin or Trash, or restoring from a backup if you set one up. Each route works in different situations, and some are faster than others.
Key Takeaways
- Microsoft 365 users with OneDrive or SharePoint can see version history by right-clicking the file and selecting "Version history" — you can restore any version from the past 93 days.
- Excel's AutoRecover feature saves a temporary copy every 10 minutes by default, and you can find it in File > Info > Manage versions on Windows or File > Recent on Mac.
- If you deleted the file, check your Recycle Bin on Windows or Trash on Mac first — restoring from there is the fastest route.
- If you saved over the file and have no version history, your options narrow significantly, which is why setting up regular backups now prevents this problem later.
Recovering from OneDrive or SharePoint version history
If your Excel file is stored in OneDrive or SharePoint and you use Microsoft 365, you have automatic version history going back 93 days. Open OneDrive or SharePoint in your web browser, find the file, right-click it, and select "Version history" from the menu. A panel opens on the right side showing every saved version with a timestamp. Click any version to preview it, and if it's the one you need, click the three dots next to it and select "Restore." The file reverts to that version, and the current version moves to the version history so you don't lose it.
This method works even if you accidentally saved over the file, deleted content, or made changes you want to undo. The version history is automatic — you don't have to do anything to turn it on. If you're using Excel on your desktop and the file is synced to OneDrive, you can also right-click the file in File Explorer, select "Version history," and restore from there without opening a web browser.
Using AutoRecover to find unsaved or recently closed files
Excel's AutoRecover feature saves a temporary copy of your file every 10 minutes (or whatever interval you've set). If Excel crashed, your computer lost power, or you closed the file without saving, AutoRecover may have a copy. On Windows, open Excel, go to File > Info, and look for a section called "Manage versions" or "Recover unsaved documents." Click "Recover unsaved documents" and you'll see a list of files Excel saved automatically. On Mac, go to File > Recent and look for a section labeled "Recover unsaved documents."
If you see your file in the list, click it to open it. Excel will open the recovered version in a new window so you can see what it contains before you decide to save it. If you want to keep it, go to File > Save As and save it with a new name or overwrite the original. AutoRecover files are temporary — if you don't save them, Excel deletes them after a set period, so act quickly if you find one you need.
To check or change how often AutoRecover saves, go to File > Options > Save (Windows) or Excel > Preferences > Save (Mac) and look for the AutoRecover interval. The default is 10 minutes, but you can change it to save more or less frequently.
Checking your Recycle Bin or Trash
If you deleted the Excel file and haven't emptied your Recycle Bin (Windows) or Trash (Mac), you can restore it from there. On Windows, open File Explorer, click "Recycle Bin" in the left sidebar, find your file, right-click it, and select "Restore." The file goes back to the folder it was in before you deleted it. On Mac, click the Trash icon in the Dock, find your file, right-click it, and select "Put Back."
This method only works if the file is still in your Recycle Bin or Trash — once you empty it, the file is much harder to recover. If you've already emptied it, you'll need to try one of the other methods or use a file recovery tool (which is beyond what this guide covers).
Restoring from a backup if you set one up
If you use Windows Backup, Mac Time Machine, or a third-party backup service like Backblaze or Carbonite, you may be able to restore an older version of your file from a backup. The steps vary depending on which backup system you use. On Windows, go to Settings > System > Storage > Advanced storage options > Backups, or search "Backup" in the Start menu. On Mac, open System Preferences > Time Machine and click "Enter Time Machine" to browse backups by date.
Backups only help if you set them up before you needed them. If you haven't set up a backup yet, now is the time to do it — it's the most reliable way to recover files after a major problem. Many people use both automatic cloud backup (like OneDrive or iCloud) and a local backup (like Time Machine or Windows Backup) so they have options.
What to do if none of these methods work
If you saved over your file, didn't have version history turned on, and have no backup, your options are limited. Excel cannot recover a file that was overwritten and not backed up anywhere. Some people try third-party file recovery software, but these tools work best on files that were deleted, not overwritten — and they don't always work.
The best step now is to prevent this from happening again. Turn on AutoRecover if you haven't already. If you use OneDrive or SharePoint, version history is automatic, so you're already protected. If you save to your computer's hard drive, set up a backup using Time Machine (Mac) or Windows Backup (Windows), or use a cloud backup service. You can also save important files with version numbers in the name — for example, "Budget_v1," "Budget_v2" — so you keep multiple copies manually.
Frequently Asked Questions
How far back can I go in OneDrive version history?
OneDrive keeps version history for 93 days. After that, older versions are deleted automatically. If you need to keep versions longer, you can download and save them manually, or use a backup service.
Will AutoRecover save my file if I force-quit Excel?
AutoRecover saves every 10 minutes, so if you force-quit Excel, you'll lose any changes made after the last AutoRecover save. The most recent AutoRecover file will still be there, but it may be 10 minutes old.
Can I recover a file if I saved over it with a different file?
If you saved a different file with the same name and overwrote the original, version history (if you have it) or AutoRecover may still have the old file. If not, recovery becomes very difficult. This is why backups matter.
Does Excel's cloud sync work the same way on all devices?
Version history works the same way whether you access the file from Windows, Mac, or the web. AutoRecover works on each device separately, so a file recovered on your desktop won't automatically sync to your phone.
What's the difference between saving to OneDrive and saving to my computer?
OneDrive gives you automatic version history and cloud backup. Saving to your computer means you only have what's on your hard drive unless you set up a separate backup. OneDrive is safer for recovery, but both can work if you set up backups.