If you closed a Mac app and need a document you had open, reopen the same app first, then look for the document in its window or Open/Recent list. If it had already been saved at least once, the app may have saved later edits automatically, or macOS may have an earlier version to restore. A new document that was never saved is less certain: recovery depends on the app retaining it, and there is no universal macOS command that restores every unsaved document.

1. Reopen the app and check its documents

Launch the app you were using. Some apps restore windows when reopened; if the document appears, use the app’s Save command and choose a name and location if it asks. If no document appears, check the app’s File menu for Open Recent or a similar list. These are ways to locate documents the app knows about; they are not guaranteed recovery lists, and menu names vary by app.

For Apple’s TextEdit, the current user guide says documents save automatically as you work. It also documents File > Save for naming a document and choosing where it is stored. If you used TextEdit, reopen it and check its open windows and document list, then save any recovered content under a recognizable name and location. That guidance applies to TextEdit; don’t assume every third-party app behaves the same way. (Create, open, and convert documents in TextEdit on Mac — Apple Support)

If you closed only a document window but left the app running, check the app’s Window menu as well as File > Open Recent. A still-open document can be hidden behind another window or minimized. If you quit the app, reopening it may restore prior windows, but window restoration and recovery of unsaved text are separate behaviors: a restored window does not by itself prove that the latest edits were saved.

2. Determine whether the document had ever been saved

The recovery path depends on what “unsaved” means. If the document had a filename and location before you closed the app, search for that file in Finder or use the app’s Open command. Check likely locations such as Documents, Desktop, Downloads, and iCloud Drive only if you use it. Search by part of the filename, or by a file type such as Pages or RTF when you know the format. If you find the file, open it in its app and check its current contents before making changes.

For documents in Apple apps such as Pages and Numbers, autosaving and version history can help with edits to an existing document. Apple says Pages automatically saves a document as you work after its first save, and each saved document version can be browsed. The important distinction is that version history belongs to a saved document; it is not a general recovery bin for every new file that was closed before its first save. (Save and name a document in Pages on Mac — Apple Support; Restore an earlier document version in Pages on Mac — Apple Support)

If you had never named or saved the document, reopen the app and look for a recovered window or draft first. If the app offers no recovery and the document does not reappear, macOS does not provide one built-in, app-independent “recover unsaved document” feature that can recreate it. Avoid relying on hidden temporary-file folders or commands found in generic tips: Apple’s documented recovery steps depend on the app or on a backup, and temporary data may be incomplete or already removed.

3. Restore an earlier version of an existing file

If you locate the document but some edits are missing, open it and look for the app’s version controls. In Pages, choose File > Revert To > Browse All Versions. Review the available versions before restoring anything. Apple explains that restoring replaces the current document with the selected version; if you want to preserve the current copy, hold Option and choose Restore a Copy when that option is available. You can also copy needed text or objects from an earlier version into the current document. (Restore an earlier document version in Pages on Mac — Apple Support)

The equivalent action is documented for Numbers: open the spreadsheet and choose File > Revert To > Browse All Versions. Examine a candidate version before choosing Restore, because restoration replaces the current version. Use Restore a Copy if you want a separate copy and the option is available. Other apps may provide different version-history features, so consult that app’s own menus or support documentation rather than assuming these Apple app steps apply everywhere. (Restore an earlier version of a spreadsheet in Numbers on Mac — Apple Support)

4. Check backups and the Trash when appropriate

If the file existed and was deleted, look in the Trash before emptying it. This can recover a file that was moved there, but it will not bring back unsaved edits that never became a file. Apple also notes that after restarting, the Trash can contain a “Recovered Files” folder of temporary files left by apps that quit unexpectedly. Review any such files and retrieve useful items by dragging them out of the Trash; their contents and usefulness depend on the app and circumstances. (If the Trash contains recovered files on Mac — Apple Support)

If you use Time Machine, open the folder where the missing or older file should be, then open Time Machine and browse backups for that location. Select the file and click Restore. Apple also notes that many apps support browsing document versions through File > Revert To > Browse All Versions. A Time Machine backup can help with a file that existed when a backup was made; it cannot restore work that was never saved or backed up. (Restore items backed up with Time Machine on Mac — Apple Support)

Why reopening windows may not recover the document

macOS has a setting called “Close windows when quitting an application,” and it can restore app windows after quitting or logging back in. This controls whether windows reopen; it does not promise that an unsaved document’s contents were saved. Apple documents the setting in System Settings > Desktop & Dock on macOS Ventura or later, and in System Preferences > General on earlier versions. If the app is not reopening its windows, check its own settings too. (Prevent apps and windows from reopening on Mac — Apple Support)

Wallo can help you organize Mac windows and to-dos around a goal while you are working, but it does not restore closed sessions or recover unsaved documents. For this task, rely on the app’s own recovery and version features, a saved file, or a backup. Wallo’s window organization is useful after you have reopened the work you need.

A quick recovery sequence

  1. Reopen the same app; check restored windows, its Window menu, and File > Open Recent.
  2. If the document appears, save it with a clear name and location.
  3. If it had been saved before, find and open that file; use the app’s version history if edits are missing.
  4. If a saved file was deleted, check the Trash and any Time Machine backup for its folder.
  5. If it was never saved and the app has no recovered draft, recognize that there may be no documented recovery route.

This sequence distinguishes a missing window, a saved document with lost edits, a deleted file, and a new document that never reached disk. Those situations have different recovery options, and checking them in that order gives you the best chance of finding the actual file without treating window restoration as proof of saved content.

Sources