Where your unsaved work actually goes

When you close a document without saving, most programs don't delete it when ready. Instead, they store a temporary copy in a hidden folder on your computer. The location and how long it stays there depends on which program you use — Microsoft Word, Google Docs, LibreOffice, and others each handle this differently.

The key is knowing where to look and how quickly you need to act. Some programs keep unsaved versions for days; others overwrite them after a few hours. If your computer crashed or the power went out, you have a better chance of recovery than if you straightforward closed the program without saving.

Key Takeaways

  • Microsoft Word stores unsaved documents in a specific Windows or Mac folder and can recover them through the File menu without opening a terminal.
  • Google Docs automatically saves drafts as you type, so your document is almost always recoverable by opening your Google Drive.
  • LibreOffice and other open-source programs save recovery files in their own hidden folders, accessible through the Tools menu.
  • The sooner you try to recover a document after closing it, the more likely the temporary file still exists on your hard drive.
  • If your computer crashed, restart it and open your program when ready — recovery dialogs often appear automatically on startup.

Recovering unsaved Word documents on Windows

Microsoft Word saves unsaved documents to a recovery folder automatically. To find them, open Word and go to File > Info > Manage versions (or Recover unsaved documents depending on your Word version). A folder will open showing any unsaved files Word has stored.

If that menu option doesn't appear, you can navigate directly to the folder. Press Windows key + R, type %appdata%\Microsoft\Word, and press Enter. Look for a folder called UnsavedFiles. Any document stored there can be opened directly — double-click it to open it in Word.

Word typically keeps these files for four days. After that, they are deleted automatically. If your computer crashed, restart it and open Word right away — Word will often show a recovery pane on startup with recently closed documents.

Recovering unsaved Word documents on Mac

On a Mac, open Word and go to File > Recover unsaved documents. A Finder window will open showing the recovery folder. Select the document you need and click Open.

If that option isn't visible, you can find the folder manually. Open Finder, press Command + Shift + G, paste this path, and press Enter: ~/Library/Containers/com.microsoft.Word/Data/Library/Autosave Information. Any unsaved Word files will be listed there.

Like Windows, Mac Word keeps these files for about four days. If Word crashed, reopen it — the recovery pane usually appears automatically with a list of documents that were open when the crash happened.

Recovering unsaved Google Docs

Google Docs saves your work automatically as you type, so you almost never lose unsaved work. Open Google Drive in your browser and look for the document by name. If you can't find it in your main folder, check Trash — if you deleted it by accident, it will be there for 30 days.

If the document exists but you want to see an earlier version, open it and go to File > Version history > See version history. A timeline appears on the right showing every change made to the document. Click any earlier version to view it, and click Restore this version to go back to that point.

Google Docs also keeps a copy of every document you've ever opened. If you can't remember the name, go to Google Drive > Search and search by a phrase you remember typing, or filter by Last opened to find recently used documents.

Recovering unsaved LibreOffice and open-source documents

LibreOffice stores unsaved documents in a recovery folder. Open LibreOffice and go to Tools > Options > Load/Save > General. Make sure Always create a backup copy is checked — this ensures future documents are backed up automatically.

To find existing recovery files, open the file browser on your computer and navigate to the recovery folder. On Windows, press Windows key + R, type %appdata%\libreoffice\4\user\backup, and press Enter. On Mac, press Command + Shift + G and paste ~/Library/process Support/LibreOffice/4/user/backup.

Any files in this folder can be opened directly in LibreOffice. If LibreOffice crashed, restart it — a recovery dialog usually appears automatically asking whether you want to recover the document.

What to do if the recovery folder is empty

If you don't find your document in the recovery folder, the temporary file may have been deleted. This happens when you force-quit the program, when your computer loses power, or when several hours have passed since you closed the document.

At this point, your options are limited. Some third-party recovery software can scan your hard drive for deleted files, but success depends on whether the file has been overwritten by other data. Programs like Recuva (Windows) or EaseUS Data Recovery (Mac and Windows) can attempt this, though they work better on external drives than on your main drive.

The most reliable prevention going forward is to enable autosave features in your program. Word, Google Docs, and LibreOffice all have autosave options that save your work every few minutes without you having to do anything.

Preventing unsaved document loss in the future

The easiest way to avoid this problem is to turn on autosave. In Microsoft Word, go to File > Options > Save and check AutoRecover. Set it to save every 1 to 5 minutes. In LibreOffice, go to Tools > Options > Load/Save > General and check Always create a backup copy.

Google Docs has autosave on by default — it saves as you type and shows "All changes saved to Drive" at the top of the document. If you use a different cloud service like OneDrive or Dropbox, save your documents to that folder and enable autosave in your program. This way, your work is backed up both locally and in the cloud.

Another habit that helps: save your document with a name as soon as you start typing, rather than waiting until you're done. This ensures the file exists in your normal folder and isn't sitting in a temporary location.

Frequently Asked Questions

How long does Word keep unsaved documents?

Word keeps unsaved files for approximately four days before deleting them automatically. If your computer crashes, restart it when ready — Word will often show a recovery pane on startup with documents that were open when the crash happened.

Can I recover a document if I force-quit the program?

Force-quitting usually prevents the autosave from running, so the recovery file may not exist. However, if you force-quit and then when ready reopen the program, it may still have a temporary copy in memory. Check the recovery folder right away — the sooner you look, the better your chances.

What if I saved the document with the wrong name?

Search your computer for the content you remember typing. On Windows, use File Explorer's search box. On Mac, use Spotlight (Command + Space) and type a phrase from the document. You can also search within Google Drive or your cloud storage service by keyword.

Does closing the browser tab lose my Google Doc?

No. Google Docs saves automatically to your Google Drive, so closing the tab does not delete the document. Open Google Drive and search for the document by name, or look in your recent files. The document will be there.

Can I recover a document after restarting my computer?

Yes, as long as you restart and open your program quickly. The recovery files stay on your hard drive until they are overwritten by new data. The longer you wait and the more you use your computer, the less likely recovery becomes.