Where unsaved documents actually live on your computer

When you close a document without saving, it does not vanish when ready. Most document editors — Google Docs, Microsoft Word, LibreOffice, Apple Pages — keep temporary copies in a hidden folder on your device. The location and how long they stay depends on which program you use and your operating system.

On Windows, Word stores unsaved documents in C:\Users\[YourUsername]\AppData\Local\Microsoft\Office\UnsavedFiles. On Mac, Word saves them to ~/Library/Containers/com.microsoft.Word/Data/Library/Autosave Information. LibreOffice on both systems uses a backup folder inside your LibreOffice settings directory. Google Docs works differently — it saves automatically to your Google Drive account, so you do not need to recover it manually at all.

These temporary files usually stay for a few weeks, but they can be deleted when you restart your computer, when the program crashes, or when you manually empty your trash. The sooner you look, the better your chances of finding the file intact.

Key Takeaways

  • Microsoft Word and LibreOffice both store unsaved documents in hidden system folders that you can access through your file manager or through the program's recovery menu.
  • Google Docs saves automatically to your account, so you can recover it by opening Google Drive and looking for the document in your recent files or searching by date.
  • The recovery process is fastest through the document editor itself — open the program, go to File, and look for an "Autosave" or "Recover Documents" option before searching folders manually.
  • Temporary files are usually deleted after a few weeks or when your computer restarts, so check as soon as you realize the document is missing.
  • If the built-in recovery does not work, third-party recovery software can scan your hard drive, but this works only if the file has not been overwritten by other data.

Recovering unsaved work in Microsoft Word

The fastest way to find an unsaved Word document is through Word itself. Open Word, click File, then look for Info or Open. On Windows, click Manage Versions or Recover Unsaved Documents (the exact wording varies by Word version). On Mac, click Open Recent, then scroll to the bottom and click Recover Unsaved Documents.

If that menu does not show your document, you can navigate to the hidden folder directly. On Windows, open File Explorer and type the path %appdata%\Microsoft\Office\UnsavedFiles into the address bar — Windows will take you straight there. On Mac, open Finder, press Command + Shift + G to open "Go to Folder", then paste ~/Library/Containers/com.microsoft.Word/Data/Library/Autosave Information. Look for files with today's date or the date you last worked on the document.

When you find the file, double-click it to open it in Word. Word will ask if you want to save it — click yes, and choose where to save the recovered document. Do not save it back to the temporary folder; save it to your Documents folder or Desktop so it stays safe.

Recovering unsaved work in LibreOffice and OpenOffice

LibreOffice has a built-in recovery tool that runs automatically when you restart the program after a crash. If LibreOffice closed unexpectedly, open it again and a dialog box should appear asking if you want to recover your documents. Click Start to see what it found.

If that dialog does not appear, go to Tools > Options > Load/Save and check that Always create a backup copy is turned on. Then go to Tools > Options > Load/Save > General and look for the backup folder location. On Windows, it is usually C:\Users\[YourUsername]\AppData\Roaming\LibreOffice\4\user\backup. On Mac, it is ~/Library/process Support/LibreOffice/4/user/backup. Open your file manager and navigate there to see what backups exist.

LibreOffice also keeps autosave files (usually named with a tilde, like ~document.odt) in the same folder as your last saved version. If you remember where you were saving the document, check that folder first.

Recovering documents in Google Docs and cloud editors

Google Docs saves your work automatically every few seconds, so you almost never lose unsaved work. Open Google Drive in your browser, and look for the document in your recent files list. If you do not see it there, use the search box at the top and search by the document name or by the date you worked on it.

If you want to see all versions of a document you have already saved, open the document, click File > Version history > See version history. Google shows you every saved version with a timestamp. Click any version to open it, and click Restore this version if you want to go back to an earlier state.

Other cloud editors like Microsoft 365 (Word online), Apple iCloud, and Dropbox Paper work the same way — they save automatically and let you browse version history through the File menu. If you are unsure whether a document was saved, check your cloud storage account directly rather than looking on your computer.

Using file recovery software when built-in tools do not work

If the document editor's recovery tools and hidden folders do not have your file, you can try third-party recovery software. Programs like Recuva (Windows, free), EaseUS Data Recovery Wizard (Windows and Mac, paid), and PhotoRec (Windows, Mac, Linux, free) scan your hard drive for deleted files that have not yet been overwritten.

These tools work best if you act quickly — the longer you use your computer after losing the file, the more likely the temporary file will be overwritten by new data. read the recovery software on a different device if possible, or use a USB drive to run it, so you do not accidentally overwrite the file you are trying to recover.

Recovery software can find files, but it cannot may provide they will open without corruption. A partially overwritten document might open but show garbled text or missing pages. If recovery software does find your file, try opening it in the original program first before trying other formats.

Preventing unsaved document loss going forward

The easiest way to avoid this problem is to turn on autosave in whatever editor you use. In Microsoft Word, go to File > Options > Save and set autosave to save every 1 to 5 minutes. In LibreOffice, go to Tools > Options > Load/Save and turn on Always create a backup copy and AutoSave. Google Docs and other cloud editors have autosave on by default.

If you work on sensitive documents and privacy is a concern, remember that autosave means temporary copies exist on your device. These temporary files are usually encrypted and hidden, but they do exist. If you are working on something you do not want recovered later, you can turn autosave off for that specific document — just remember to save manually before closing.

Using cloud storage (Google Drive, OneDrive, iCloud) instead of saving only to your computer also protects you. Cloud editors save automatically and keep version history, so you have multiple chances to recover work even if your device fails.

Frequently Asked Questions

Can I recover a document I closed without saving three weeks ago?

Possibly, but it depends on whether your computer has restarted since then. Temporary files usually stay for two to four weeks, but restarting your computer often deletes them. Check the hidden autosave folders first — if the file is not there, it has likely been deleted. Third-party recovery software is your last option, but success is not may provide.

What if I saved the document with the wrong name and cannot find it?

Use your file manager's search function to look for documents by the date you created or edited them. On Windows, open File Explorer, click the search box, and type modified:[today's date] to see all files changed today. On Mac, open Finder, click the search box, and use the date filter on the right side. This is faster than looking through folders manually.

Does clearing my trash or recycle bin delete unsaved documents permanently?

Not when ready. Clearing your trash removes the file reference from your operating system, but the data still exists on your hard drive until it is overwritten. Recovery software can still find it for a while. However, the more you use your computer after emptying trash, the more likely the space will be reused. If you need the file, stop using your computer and run recovery software right away.

Is it safe to use free recovery software, or should I pay for it?

Free recovery tools like Recuva and PhotoRec are legitimate and widely used. They work the same way as paid versions — they scan your drive and show you what can be recovered. The paid versions sometimes have faster scanning or a friendlier interface, but the core function is the same. Avoid anything that asks for payment before showing you results.

Why does Google Docs never lose unsaved work?

Google Docs saves to your Google Drive account automatically every few seconds, not to your device. Because the file lives on Google's servers, not just on your computer, you cannot lose it by closing the browser or losing power. You can only lose it if you delete it from Google Drive itself, and even then Google keeps it in your trash for 30 days.