You were typing notes, a draft, or a list in Notepad, and then Windows restarted for an update, the power cut out, or the app closed without warning. You never pressed Save, so there is no file in Documents to open. It feels like the text is gone for good, but in Windows 11 that is often not true. The newer Notepad app saves your open tabs automatically as you type, and even older work can sometimes be found in temporary folders if you act quickly and in the right order.
This guide explains where Windows 11 keeps that work and how to check each place step by step. Work through the methods in order, because the first ones are safest.
Quick Answer
Open Notepad again first. In Windows 11, the updated Notepad app restores unsaved tabs automatically when you reopen it, because it saves your session in the background. If the tab is missing, do not create lots of new files. Check the Notepad session folder in AppData, look for temporary files, and restore an earlier copy from File History if it was turned on.
Why Unsaved Notepad Text Can Survive a Restart
Older versions of Notepad held everything only in memory. If the program closed, the text closed with it. The Notepad app in Windows 11 works differently. It keeps a working copy of each open tab, updates that copy as you type, and reloads it the next time you launch the app. That is why a restart for Windows Update often looks scary but ends well.
There are limits. If you closed the tab yourself and confirmed you did not want to save, the copy may have been removed on purpose. A crash or power cut is different: the app never got to ask you, so the session is usually still on disk.
What decides whether recovery is possible
- How Notepad closed: A crash or restart leaves the session copy intact far more often than a deliberate close.
- Your Notepad version: The modern Store app in Windows 11 has session restore. Very old or portable copies may not.
- Time and disk use: Temporary copies can be cleared by storage cleanup, so checking sooner gives you a better chance.
Method 1: Reopen Notepad and Let It Restore Your Tabs
Always start here. Do not reinstall Notepad, run a cleaner, or restart the PC again before trying this, because extra changes can overwrite the very copy you need.
- Click Start, type Notepad, and open the app normally.
- Wait a few seconds on the main window. Restored tabs often appear at the top without any prompt.
- Look through every open tab, not just the first one. Unsaved tabs usually show a dot or a generic title instead of a file name.
- If you find your text, click inside the tab, press Ctrl + A to select all of it, then Ctrl + C to copy it.
- Paste the text into a new document straight away and use File > Save as to save it with a clear name in Documents.
If Notepad opens blank, move to the next method. Do not reopen it repeatedly.
Method 2: Check the Notepad Session Folder in AppData
When the automatic restore fails, the session files can still be sitting in the app data folder. You will not edit these files directly. You are only looking to confirm they exist and to copy them somewhere safe before you try anything else.
- Press Windows key + R to open the Run box.
- Type %LocalAppData%\Packages and press Enter.
- Find the folder whose name starts with Microsoft.WindowsNotepad and open it.
- Open the LocalState folder, then look for a TabState or similar session folder inside it. Folder names can vary slightly between updates.
- Sort the files by Date modified and look for files changed at the time of the restart.
- Copy the whole LocalState folder to your Desktop. Work only from the copies, never from the originals.
- If you find plain text files among the copies, open them with Notepad to check the contents. Some session files are not plain text, so a file that looks garbled does not prove your note is lost.
Folder names vary between updates, so check the Microsoft Support for Windows help pages if yours look different. If this folder is empty, try the next method.
Method 3: Search for Temporary and Recent Files
This method helps when you had saved the file at least once before. It is quick and safe to check.
- Open File Explorer and click Home or Recent to see files Windows opened most recently.
- Use the search box and search for *.txt, then sort the results by date so the newest files are at the top.
- Search again for part of a phrase you remember typing, using the search box in File Explorer. Content search is slower, so give it time to finish.
- Press Windows key + R, type %Temp%, and press Enter. Sort that Temp folder by date and look for text files from around the time of the restart.
- Open any promising file from a copy, not from the original location, so you do not change it by accident.
If the note was important and you also work with documents, bookmarks, and downloads, our guide to recovering deleted files on Windows 11 with File History and recovery tools covers the wider recovery options for files that were saved and later lost.
Method 4: Restore an Earlier Version With File History
If you saved the Notepad file at least once and File History or OneDrive backup was on, you may be able to roll back to an earlier version. This does not help for text that was never saved at all, but it is the best option for a saved file that was overwritten or damaged during the restart.
- Go to the folder where the file was last saved.
- Right-click the file and choose Properties, then open the Previous Versions tab.
- If versions are listed, check the dates and times carefully.
- Select a version from before the restart and choose Copy to save it to a different folder first. Avoid choosing Restore straight away, because that replaces the current file.
- Open the copied version and confirm it holds the text you need before you replace anything.
If Previous Versions is empty, File History was probably not running.
Method 5: Check Settings So It Does Not Happen Again
Once you have your text back, or even if this attempt fails, change two habits. They take less than a minute and they prevent almost every future loss.
- In Notepad, open Settings using the gear icon.
- Find the option for what Notepad opens at startup and set it to continue or restore the previous session where that option is offered in your version.
- Turn on File History or OneDrive folder backup for Documents, so saved files gain version history.
- Build the habit of pressing Ctrl + S soon after you start typing, give the file a name, and then let autosave and backups protect you after that first save.
Common Mistakes That Reduce Your Chances
- Restarting again and again: Each restart and cleanup cycle can remove temporary session data. Check first, restart later.
- Running a disk cleaner right away: Cleaners delete Temp and app cache folders, which may include exactly what you are trying to recover.
- Saving over the only copy: When you find recovered text, save it under a new name first. Never overwrite the file you are still inspecting.
- Assuming a garbled session file means failure: Some session files store formatting data as well as text. Copy them safely and try opening them in Notepad before you give up.
- Waiting days to try: The longer the PC is used heavily, the greater the chance that temporary data is cleared or overwritten.
Conclusion
In most Windows 11 restarts, an unsaved Notepad note is not truly lost. Reopen Notepad and let the session restore do its work, then check the AppData session folder, search Recent and Temp files, and use Previous Versions if the file was saved before. Move carefully, copy anything you find before you edit it, and set up session restore plus File History today so the next update or power cut is a minor pause instead of a panic.
Frequently Asked Questions
Where does Windows 11 Notepad store unsaved tabs?
The modern Notepad app stores session data inside its package folder under LocalAppData, in LocalState. The exact subfolder name can change with updates, so sort by date modified and copy the whole folder before you inspect it.
Can I recover a Notepad file if I clicked Don’t Save?
Usually not through session restore, because clicking Don’t Save tells the app to discard that copy. You can still check Recent files, Temp, and Previous Versions in case an earlier saved copy exists somewhere else.
Does this work after a Windows Update restart?
Yes, this is one of the best cases. An update restart does not normally ask you to discard open tabs, so reopening Notepad restores the session in most cases on the updated Windows 11 app.
What if Notepad opens blank with no restored tabs?
Do not keep restarting or run a cleaner. Check the AppData LocalState folder, search for recent .txt files and Temp files, and use File History Previous Versions if the file had been saved at least once before.
How can I stop losing unsaved notes in future?
Keep session restore enabled in Notepad settings, save new notes with Ctrl + S as soon as you start them, and keep File History or OneDrive backup on for Documents so you have version history to fall back on.


[…] your lost work involves more than one program, our guide to recovering an unsaved Notepad file after a restart in Windows 11 explains the same copy-first approach for simpler editors, which is useful when a crash affected […]