Where Excel stores earlier versions of your file
Excel keeps copies of your work automatically, but where it stores them depends on which version you use and how you save. If you closed the file without saving your latest changes, or if you want to go back to a version from hours or days ago, you have several places to look before assuming the work is gone.
The most common recovery route is AutoRecover, a feature that saves a temporary copy of your file every 10 minutes by default. This copy exists separately from your actual file and stays on your computer even if Excel crashes or you force-close the program. On Windows, AutoRecover files live in C:\Users\[YourUsername]\AppData\Local\Microsoft\Office\UnsavedFiles. On Mac, they're in ~/Library/Containers/com.microsoft.Excel/Data/Library/Application Support/Microsoft/Office/UnsavedFiles. You don't need to navigate there manually — Excel will offer to recover these files the next time you open the program after a crash.
If you saved the file but want to go back to an earlier saved version, your options depend on where the file lives. Files stored in OneDrive or SharePoint have version history built in. Files saved only to your local computer or a network drive may have a version history if your IT department set it up, but more often you'll need to use the File Recovery feature or check your backup system.
Key Takeaways
- AutoRecover saves a temporary copy every 10 minutes; if Excel crashes, it will offer to recover these files when you reopen the program.
- OneDrive and SharePoint files keep a version history you can access directly from Excel by clicking File > Info > Version History.
- For files saved only locally, use File > Info > Recover Unsaved Documents to find files you closed without saving.
- Windows File History and Mac Time Machine can restore earlier versions if you set up backups before the file changed.
- If none of these work, check your Recycle Bin or Trash — deleted files stay there for 30 days on Windows before permanent removal.
Recovering unsaved work after closing Excel
If you closed a file without saving your changes, or if Excel crashed before you could save, open Excel and go to File > Info > Recover Unsaved Documents (on Windows) or File > Recent > Recover Unsaved Workbooks (on Mac). A window will open showing temporary files Excel saved automatically. Look for the file name and the timestamp — pick the version closest to when you were working on it.
When you open a recovered file, Excel displays it in read-only mode. If the content is what you need, click Save As and choose where to save it. Do not click the regular Save button, because that will overwrite your last saved version with the recovered one — and if the recovered version is incomplete or corrupted, you'll lose the good copy.
AutoRecover files are temporary and will be deleted after a few days, so recover and save them as soon as you find them. If you don't see any recovered files listed, it means Excel didn't create an AutoRecover copy — this can happen if the file was very new, or if AutoRecover is turned off in your settings.
Getting back to an earlier version in OneDrive or SharePoint
If your Excel file is stored in OneDrive or SharePoint, you have access to version history — a list of every saved version going back weeks or months, depending on your storage plan. Open the file in Excel, then click File > Info > Version History. A panel will open on the right showing a timeline of saved versions with timestamps and, in some cases, the name of the person who saved each version.
Click any version in the list to open it in a read-only preview. You can see the content and confirm it's the version you want. If it is, click the three dots next to that version and select Restore. This makes that version the current file — the newer version you want to undo becomes an older version in the history, so you can always go back to it if you change your mind.
Version history is turned on by default for OneDrive and SharePoint files, but the number of versions kept depends on your subscription. Microsoft 365 subscribers keep versions for up to 93 days. If your file is older than that, the oldest versions will have been deleted automatically.
Restoring from Windows File History or Mac Time Machine
If your file is saved only to your local computer or a network drive, and you set up backups before the file changed, you can restore an earlier version using your backup system. On Windows, this is File History. Open File Explorer, right-click the folder where your Excel file is stored, and select Restore previous versions. A window shows backup snapshots with dates and times. Select the date you want, then click Restore. Windows will recover the entire folder as it existed on that date.
On Mac, use Time Machine. Click the Time Machine icon in the menu bar and select Enter Time Machine. Navigate to the folder containing your Excel file, then use the timeline on the right to move backward through dates. When you find the version you want, select the file and click Restore.
Both systems restore the file to its state on that date — you cannot pick a single version from a backup the way you can with OneDrive version history. If you backed up multiple times per day, you may have several snapshots to choose from. If you backed up once daily, your options are more limited. File History and Time Machine must be turned on before you need them; if you've never set them up, they won't have any backups to restore from.
Checking your Recycle Bin or Trash
If you deleted the Excel file itself, check your Recycle Bin (Windows) or Trash (Mac) before doing anything else. On Windows, open File Explorer and click Recycle Bin in the left sidebar. Look for your file by name. Right-click it and select Restore. The file will return to its original location.
On Mac, click the Trash icon in the Dock, find your file, right-click it, and select Put Back. The file returns to where it was before deletion.
Deleted files stay in Recycle Bin or Trash for 30 days on Windows before being permanently removed. After that, recovery becomes much harder and may require data recovery software or professional help. If you deleted the file more than 30 days ago, it's likely gone for good.
Turning on AutoRecover if it's off
AutoRecover is on by default in Excel, but it's worth checking if you've never seen a recovery offer after a crash. On Windows, click File > Options > Save. Look for the section labeled "AutoRecover exceptions" and make sure the checkbox next to Save AutoRecover information every [X] minutes is checked. The default is 10 minutes; you can change this to a shorter interval if you want more frequent backups, though this uses slightly more disk space.
On Mac, click Excel > Preferences > Save. Check that AutoRecover is turned on. You can adjust how often it saves — the default is also 10 minutes.
You can also set Excel to keep a backup copy of your file each time you save. On Windows, go to File > Options > Save and check Always create backup copy. This creates a file with a .bak extension in the same folder as your Excel file. On Mac, this option is in Excel > Preferences > Save. Backup copies take up extra disk space but give you one more recovery option if something goes wrong.
When recovery isn't possible
If you've checked AutoRecover, version history, your backup system, and the Recycle Bin or Trash, and none of them have the version you need, the file may be unrecoverable through standard methods. This can happen if the file was very new and never saved, if backups weren't set up before the loss occurred, or if the file was deleted more than 30 days ago.
At this point, your options are limited. Data recovery software like EaseUS Data Recovery or Recuva can sometimes find deleted files on your hard drive, but success depends on whether the disk space has been overwritten. These tools cost money and don't always work. If the file is critical and you have the budget, a professional data recovery service can attempt recovery, but this is expensive and still not may provide.
The best protection going forward is to set up automatic backups before you need them — either through File History or Time Machine, or by storing important files in OneDrive or SharePoint where version history is automatic.
Frequently Asked Questions
How far back does version history go in OneDrive?
Microsoft 365 subscribers can restore versions from up to 93 days ago. Free OneDrive accounts keep versions for 30 days. After that, older versions are deleted automatically and cannot be recovered through version history.
Can I recover a file if I saved over it with the wrong data?
Yes, if the file is in OneDrive or SharePoint. Use File > Info > Version History to find the version before you saved over it, and click Restore. If the file is stored locally, you'll need a backup from before the overwrite — check File History on Windows or Time Machine on Mac.
What's the difference between AutoRecover and Save?
AutoRecover creates a temporary copy every 10 minutes that you can recover if Excel crashes, but it doesn't replace your saved file. When you manually save, you're updating the actual file. If you close Excel without saving, AutoRecover can recover your unsaved work, but the last manually saved version remains unchanged.
Will AutoRecover recover my file if my computer loses power?
Yes. When you turn the computer back on and open Excel, it will detect that the program closed unexpectedly and offer to recover AutoRecover files. This works even if the power cut off in the middle of your work.
Can I recover a file from a shared network drive?
If the network drive has backups set up by your IT department, yes — ask them whether they keep version history or snapshots. If not, you'll need to check your local computer's File History or Time Machine, since those back up files regardless of where they're stored.