When Windows 11 Notepad failed to autosave, your tabs are usually not gone. The new Notepad stores open tabs in a session folder on your PC, and a failed autosave often means the save step hit a snag, not that the text was deleted. Start with recovery, then fix the cause.

What Matters Most

  • Unsaved tabs are usually still on your PC in the Notepad session folder, even when autosave reports a failure.
  • Check the LocalState folder first, before you repair or reinstall anything.
  • OneDrive sync, file permissions, and corrupted session data are the most common causes.
  • Repair the app before you reset it. Reset wipes the session data you are trying to save.
  • Keep a copy of important notes outside Notepad until autosave works again.

Where Unsaved Tabs Are Stored

If Windows 11 Notepad failed to autosave after a crash or restart, this folder is the first place to look.

The session data lives here:

%localappdata%\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState

Open File Explorer, paste that path into the address bar, and press Enter. Before you touch anything, copy the whole LocalState folder to your Desktop as a backup. Then reopen Notepad and see whether your tabs come back on their own. If a tab opens blank, the files in this folder may still hold your text, and opening them in Notepad will tell you quickly.

Do not reinstall or reset the app until you have checked this folder. A reset deletes the session data, and with it any chance of getting the text back.

If a Windows update caused the problem, see how to fix the Windows 11 25H2 install error.

Why Autosave Stops Working

CauseSignHow common
OneDrive sync conflictNotes sit in a synced folder, sync shows errorsCommon
File or folder permissionsError started after an update or a new user profileCommon
Corrupted session dataTabs vanish after every restartCommon
Disk fullOther apps fail to save tooLess common
App updated mid-sessionError appeared right after a Store updateOccasional

Most cases come down to the first three. Notepad saves tabs to its session folder automatically, so anything that blocks writes to that folder, or to a synced folder your notes live in, breaks autosave.

Fix Autosave in Order

  1. Open Notepad, go to Settings, and check When Notepad starts. Set it to Open content from previous session.
  2. Check your disk space. A full drive stops every app from saving, not just Notepad.
  3. If your notes live in a OneDrive folder, pause syncing and move a copy to a local folder, then test again.
  4. Repair the app: go to Settings, then Apps, then Installed apps, find Notepad, open Advanced options, and click Repair. Repair keeps your data.
  5. If repair does not work, use Reset on the same page. Reset signs you out of nothing, but it wipes the session data, so only use it after you have recovered your tabs.
  6. If the error is still there, uninstall Notepad and reinstall it from the Microsoft Store.

Work through the steps in order. Jumping straight to reset is the most common way people lose the very tabs they are trying to save.

Turn Autosave On or Off

Autosave in the new Notepad is tied to session restore. When When Notepad starts is set to Open content from previous session, Notepad saves your open tabs as you type and brings them back next time. When it is set to Open a new window, closed tabs are gone for good.

Leave it on if you draft notes, keep lists open for days, or close Notepad without thinking. Turn it off only if you open sensitive notes on a shared PC and do not want them restored for the next person who opens the app.

Keep Autosave On or Turn It Off: Which Setting Fits You

This is a small decision, and it comes down to how you use the app.

Keep autosave on if Notepad is where your drafts, lists, and half-written ideas live. The risk of losing a note is higher than the risk of someone seeing it on your own PC.

Turn it off if you share the PC, or if you use Notepad as a scratch pad for passwords and private text you never want stored. In that case, save anything worth keeping to a file yourself, and close Notepad knowing the tabs will not come back.

Either way, do not rely on autosave as your only copy of anything important. A quick save to a real file takes two seconds.

Frequently Asked Questions

Why is Notepad not autosaving?

Windows 11 Notepad failed to autosave usually points to a session or permissions problem, not a missing feature. Check the session setting first, then OneDrive sync, then repair the app. In most cases one of those three fixes it.

How do I turn autosave on or off in Notepad?

Open Settings in Notepad and change When Notepad starts. Choose Open content from previous session to restore tabs, or Open a new window to start fresh. If Windows 11 Notepad failed to autosave even with the right setting, repair the app from Settings, then Apps, then Installed apps.

Can I get back a tab I closed by accident?

If session restore is on, reopening Notepad usually brings it back. If not, check the LocalState folder for the session files. Once you reset the app, the session is gone, so check the folder before you reset anything.

Save Your Work First, Then Fix the Setting

A failed autosave feels like lost work, and most of the time it is not. Recover your tabs from the session folder, fix the cause in order, and keep a real saved copy of anything that matters. Autosave is a safety net, not a filing system.

Categorized in:

Technology,

Last Update: December 2, 2026