Open Notepad from Previous Session in Windows 11
In this article
Yes, you can reopen Notepad with the same files from your previous session in Windows 11, but only if you had Notepad set to restore windows when reopened. By default, Notepad does not automatically save session data, but a built-in setting allows it to remember and reopen your last files. This guide shows how to enable and use that feature so you can pick up right where you left off.
What You'll Need
- A Windows 11 PC with administrator access (to change settings if needed)
- Notepad version that supports session restore (included in all standard Windows 11 installations)
- Previously opened text files in Notepad (for the feature to have something to restore)
Step-by-Step
- Open Notepad. You can do this by pressing Windows + S, typing "Notepad", and pressing Enter, or by searching for it in the Start menu.
- Once Notepad is open, click the three dots (⋯) in the top-right corner to open the Settings and more menu.
- Select Settings from the dropdown menu. This opens the Notepad settings panel.
- In the Settings window, go to the Startup section.
- Under "On startup", select the option Open previous windows and tabs. This tells Notepad to remember all open files the next time it starts.
- Close Notepad completely. Make sure all Notepad windows are closed. You can check Task Manager (Ctrl + Shift + Esc) under the Processes tab to confirm "Notepad" is not running.
- Reopen Notepad using the same method (Start menu, Run dialog, or search). If the setting was applied correctly, Notepad should automatically reopen with all the files that were open in the last session.
- Verify that your previously opened .txt files are displayed in tabs or separate windows, depending on how many were open.
Common Mistakes
- Forgetting to enable the startup setting: Many users assume Notepad remembers sessions by default. It does not unless you manually select "Open previous windows and tabs".
- Not closing Notepad fully: If Notepad is still running in the background, reopening it may not trigger a true session restore. Always ensure it’s fully closed before restarting.
- Using third-party editors: Some users confuse Notepad with other text editors like Notepad++ or WordPad. This feature only applies to the built-in Windows Notepad app.
- Expecting unsaved files to restore: Only saved or named files (even if modified) are restored. Untitled, unsaved documents may not reappear after a system restart or crash.
Tips
- Save your files before closing: Even if you plan to restore them, saving ensures the content is preserved and properly tracked by Notepad’s session system.
- Use tabs wisely: Notepad supports tabbed editing. Keeping multiple files open in tabs increases the chance they’ll all be restored together.
- Test the restore process: After enabling the setting, open a few files, close Notepad, and reopen it to confirm the restore works before relying on it.
- Check after updates: Occasionally, Windows updates may reset app settings. If files stop restoring, revisit Notepad’s Startup setting to re-enable it.
Troubleshooting
If Notepad does not reopen your previous files, follow these steps in order:
- Confirm the setting is still enabled: Open Notepad Settings > Startup and verify "Open previous windows and tabs" is selected.
- Ensure files were saved or named: Untitled documents may not persist across sessions. Try saving a blank file and reopening Notepad to test.
- Restart your PC: Sometimes, a system restart clears temporary glitches. After rebooting, reopen Notepad and check if files restore.
- Update Windows: Go to Settings > Windows Update and install any pending updates. A bug fix might resolve the issue.
- Check for conflicting software: Some system optimization or privacy tools block apps from saving session data. Temporarily disable such software to test.
- Reinstall Notepad (advanced): While rare, Notepad can become corrupted. Use PowerShell as administrator and run
Get-AppxPackage *Notepad* | Remove-AppxPackage, then reinstall via Microsoft Store or Windows Features.
Frequently Asked Questions
Does Notepad restore unsaved files?
No, only files that have been saved or assigned a name (even if modified) are restored. Untitled, unsaved documents are usually lost when Notepad closes.
Why didn’t my files reopen after a crash?
Notepad does not have a crash recovery system like Word. If the system crashed or Notepad froze, session data may not have been saved. Always save work frequently.
Can I restore sessions from days ago?
No. Notepad only restores the most recent session—files open during the last use. It does not keep a history of multiple past sessions.
Does this work with multiple Notepad windows?
Yes. If you had several Notepad windows open, enabling "Open previous windows and tabs" should restore all of them when you restart the app.
Is this feature available in older Windows versions?
Similar functionality exists in Windows 10, but the interface and wording may differ slightly. The core behavior is consistent in recent updates.
What if Notepad doesn’t have the startup option?
Ensure your Windows 11 is fully updated. Older builds may lack this setting. Update via Settings > Windows Update to get the latest Notepad version.