What happens to unsaved Excel files

When you close Excel without saving, the file itself disappears — but Excel keeps a temporary copy on your computer for a limited time. Microsoft Excel stores these recovery files in a hidden folder, and Windows keeps its own backup of recent versions. The longer ago you closed the file, the less likely recovery becomes, but you have several places to check before assuming the work is gone.

The recovery process depends on which version of Excel you use and whether you had autosave turned on. Desktop versions of Excel (2016, 2019, 2021, and Microsoft 365) handle recovery differently than Excel Online. If you were working in Excel Online through OneDrive or SharePoint, your file may already be saved automatically — you just need to know where to look.

Key Takeaways

  • Excel's AutoRecover feature stores temporary copies every 10 minutes by default, and you can open these files through File > Open > Recent or through the recovery folder on your computer.
  • If you used Excel Online or had OneDrive syncing, check your OneDrive trash or version history before looking for local recovery files.
  • Windows File History and System Restore can recover older versions of Excel files if AutoRecover files are no longer available.
  • The recovery files are temporary and may be deleted after a few days, so act quickly if you remember closing the file without saving.

Checking AutoRecover files in Excel

Open Excel and go to File > Open > Recent. Scroll to the bottom of the recent files list and look for a button that says Recover Unsaved Documents (in Excel 2016 and later) or Show Recovered Files. Click it to see a list of files Excel has saved automatically.

If you see your file in that list, click it to open it. Excel will open the recovered version in a new window. Before you close it, go to File > Save As and save it with a new name in a location you choose. Do not just click Save — that may overwrite the original location or cause confusion about which version you are working with.

If the Recover Unsaved Documents button does not appear, AutoRecover may be turned off or the recovery files may have been deleted. Move to the next method.

Finding recovery files in the hidden folder

Excel stores AutoRecover files in a hidden system folder. On Windows, the path is usually C:\Users\[Your Username]\AppData\Local\Microsoft\Office\UnsavedFiles. On Mac, it is ~/Library/Containers/com.microsoft.Excel/Data/Library/Autosave Information.

To access this folder on Windows, open File Explorer and click the View tab at the top. Check the box next to Hidden items to show hidden files and folders. Then navigate to the path above. Look for files with names like .xlsx or .xls that match the file you were working on. The file name may include a timestamp or a temporary identifier.

Copy any file that looks like it could be your work to your Desktop or Documents folder, then open it in Excel. If it opens and contains your data, save it immediately with a clear name. If it does not open or is corrupted, try the next method.

Checking OneDrive and cloud recovery

If your Excel file was stored on OneDrive or you had OneDrive syncing turned on, the file may have been saved automatically even if you did not click Save in Excel. Open OneDrive in your web browser and navigate to the folder where the file should be. Look for the file name — if it exists, you can download it or open it directly.

If you deleted the file or it was overwritten, check the OneDrive trash. Click the trash icon in the left sidebar and look for your file. If you find it, right-click and select Restore. OneDrive keeps deleted files in trash for 93 days before permanently removing them.

For files in OneDrive or SharePoint, you can also check the version history. Right-click the file name, select Version history, and you will see a list of saved versions with timestamps. Click any version to open it. This works even if you never manually saved — OneDrive creates versions automatically as you work.

Using Windows File History to recover older versions

If the AutoRecover files are gone and the file was not on OneDrive, Windows File History may have a backup. File History is a Windows feature that automatically copies files to an external drive or network location if you have set it up. To check, open Settings > System > Storage > Advanced storage options > Backup options. If you see a drive listed under "Back up my files", File History is active.

To recover a file, open File Explorer and navigate to the folder where your Excel file should be. Right-click in the empty space and select Restore previous versions (on Windows 10) or Show more options > Restore previous versions (on Windows 11). A window will open showing dated backups. Select the date closest to when you were working on the file and click Restore. The file will be copied back to its original location.

System Restore as a last resort

If none of the above methods work, System Restore can roll your computer back to a point in time when the file may have been saved. This is a more drastic step because it affects your entire system, not just the one file. Open Settings > System > About > Advanced system settings > System Protection tab > System Restore. Click Next and select a restore point from a date when you know the file existed.

System Restore will restart your computer and revert Windows to that earlier state. Any programs you installed or updates you applied after that date will be removed. This can take 30 minutes or more. Only use this method if the file is critical and other recovery methods have failed.

Preventing this from happening again

Turn on AutoSave if you use Excel Online or Excel through Microsoft 365. In Excel Online, AutoSave is on by default and saves every few seconds. In desktop Excel, go to File > Options > Save and check the box for AutoRecover. The default interval is every 10 minutes — you can change this to a shorter time if you want more frequent backups.

Store your files on OneDrive or another cloud service so they sync automatically. This gives you version history and trash recovery as a safety net. If you work on files stored only on your computer, enable Windows File History and connect an external drive or network location where backups can be stored.

Get in the habit of pressing Ctrl+S (Windows) or Command+S (Mac) frequently as you work. It takes one second and eliminates the risk of losing work to a crash or accidental close.

Frequently Asked Questions

How long does Excel keep AutoRecover files?

AutoRecover files are temporary and are usually deleted when you close Excel normally or after a few days of inactivity. If your computer crashed or Excel closed unexpectedly, the recovery files may persist longer. Check the recovery folder as soon as you realize the file is missing — waiting a week makes recovery much less likely.

Can I recover a file if I never saved it even once?

Yes, if AutoRecover was turned on. Excel begins saving temporary copies as soon as you start typing, even if you have never clicked Save. If AutoRecover was off and the file was never saved, recovery is not possible — there is nothing for the system to restore.

What if the recovered file is corrupted or incomplete?

AutoRecover files are snapshots taken every 10 minutes, so they may not contain your most recent work. If the recovered file is corrupted, try opening it in Safe Mode: hold Ctrl while launching Excel and select Safe Mode when prompted. If that does not work, try opening it in a different version of Excel or converting it to CSV format to extract the data.

Does closing the file without saving delete it permanently?

No. Closing without saving removes the file from your active work, but AutoRecover copies and system backups remain on your computer. The original file location is untouched. You are only losing the changes you made since the last save.

Can I recover a file from a computer that will not start?

If Windows will not boot, you can remove the hard drive and connect it to another computer using a USB adapter, then navigate to the recovery folders described above. If the drive is encrypted or you cannot access it this way, you may need a data recovery service, which can be expensive. This is why regular backups to cloud storage are important.