Notepad is one of the simplest text editors in Windows 11, but its newer tab-based interface makes it easier to work with multiple text files at the same time. Instead of opening several separate Notepad windows, you can keep different documents organized in individual tabs and switch between them whenever needed.
However, some Windows 11 users experience problems with this feature. Notepad tabs may disappear after closing the application, previously opened files may not return when Notepad starts again, or changes made to a document may not save correctly. Another common issue occurs when pressing the Tab key, as users may expect multiple selected lines to indent together but only see the current line move.
These problems can be frustrating, especially if you use Notepad to edit configuration files, write notes, or manage code snippets.
Fortunately, you can troubleshoot most of these issues by checking Notepad settings, updating the application, repairing corrupted app data, and adjusting your text selection before using indentation shortcuts.
In this guide, we’ll explain how to fix Notepad tabs not saving, disappearing, or indenting properly in Windows 11.

Fix Notepad Tabs Not Saving or Disappearing (Windows 11)
To fix Notepad tabs not saving or disappearing in Windows 11, follow these steps:
Step 1: Check Notepad’s Session Settings
The first thing you should check is Notepad’s session preference. Windows 11 Notepad includes a setting that controls what happens to your open tabs when you close the application and launch it again.
If Notepad is configured to start a new session, previously opened tabs may not automatically return. This can make it seem like your tabs have disappeared, even though the original files may still exist on your computer.
To check this setting, open Notepad from the Start menu. Click the Settings (gear) icon in the upper-right corner. Find the section related to When Notepad starts or session behavior. Depending on your Notepad version, the wording may vary.
Choose the option that allows Notepad to continue the previous session or restore previously opened content. If you see an option to open a new window or start a new session, avoid selecting it if you want your previous tabs to return.
Follow this path: Start > Notepad > Settings > When Notepad starts > Continue previous session.
Close Notepad and reopen it to check whether your previous tabs appear. Remember that session restoration is not a replacement for saving your documents. Always save important changes to avoid losing your work.
Step 2: Enable the Option to Save Changes When Closing Notepad
Another reason Notepad tabs may appear to disappear is that the application is not configured to handle unsaved changes the way you expect.
Newer versions of Notepad support session restoration and can retain certain unsaved content between sessions. However, this behavior depends on your application version and settings.
Open Notepad and click the Settings icon. Look for the session-related options and check whether Notepad is configured to save or retain the content of open windows when you close the application.
If the option is available, enable the setting that preserves your session or unsaved content. The exact description may differ depending on the version installed on your PC.
The navigation path is Notepad > Settings > Session settings > Save or retain previous session.
For important documents, do not depend entirely on session recovery. Press Ctrl + S regularly to save your changes to their original files. If a document has not been saved before, use Ctrl + Shift + S or the Save As option, depending on the available interface, to choose a location and filename.
Step 3: Restart Notepad and Check Whether Tabs Return
Sometimes, Notepad may stop restoring tabs because of a temporary application glitch. Restarting the application can refresh its session and resolve minor issues.
First, save any important documents. Then close all open Notepad windows. If the application does not close properly, press Ctrl + Shift + Esc to open Task Manager.
Find Notepad under the Processes section. Select it and click End task. This closes the application completely.
Now reopen Notepad from the Start menu and check whether your previous tabs are restored.
Follow this path: Ctrl + Shift + Esc > Processes > Notepad > End task > Restart Notepad.
If the tabs return after restarting, the issue may have been caused by a temporary application problem. However, if they continue disappearing every time you close Notepad, move on to the next troubleshooting method.
Step 4: Update Notepad Through the Microsoft Store
An outdated Notepad version can sometimes cause unexpected behavior, including session restoration problems, missing tabs, and application crashes.
Microsoft distributes Notepad updates through the Microsoft Store. Installing the latest available version can resolve known bugs and improve compatibility with Windows 11.
Open the Microsoft Store from the Start menu. Select Downloads or Library, depending on your Store interface, and click Get updates. Windows will check for available updates for your installed applications.
If a Notepad update appears, allow it to download and install. Once the process finishes, close Notepad and launch it again.
The navigation path is Start > Microsoft Store > Library > Get updates.
You should also install pending Windows updates if the problem started after a recent system change. Open Settings > Windows Update > Check for updates and install applicable updates.
After updating, test whether Notepad can restore your previous tabs correctly.
Step 5: Repair Notepad Using Windows Settings
If updating and restarting Notepad do not solve the problem, its application files or settings may be damaged. Windows 11 provides an app repair option that can fix certain application issues without removing your personal files.
Press Windows + I to open Settings. Select Apps > Installed apps and search for Notepad. Click the three-dot menu next to the application and select Advanced options, if available.
Scroll down to the Reset section and click Repair. Wait for Windows to complete the process.
Follow this path: Settings > Apps > Installed apps > Notepad > Advanced options > Repair.
Once the repair finishes, reopen Notepad and test its tab behavior. Check whether previously opened sessions return and whether new changes can be saved correctly.
The Repair option is preferable to resetting the application because it attempts to fix the installation without clearing its app data.
Step 6: Reset Notepad If Tabs Still Disappear
If Notepad continues behaving incorrectly, resetting the application may help resolve corrupted settings or application data.
Before proceeding, save all important documents and back up any content you need. A reset can remove application settings and locally stored session information.
Open Windows Settings by pressing Windows + I. Navigate to Apps > Installed apps and search for Notepad. Click the three-dot menu and select Advanced options.
Find the Reset section and click Reset. Windows may ask you to confirm the action. Complete the process and wait for the reset to finish.
The navigation path is Settings > Apps > Installed apps > Notepad > Advanced options > Reset.
After resetting Notepad, open it and configure your preferred session settings again. Create a test document, open another tab, save both files, and restart the application to check whether the problem has been resolved.
Notepad Tabs Not Indenting Multiple Lines at Once
Notepad’s tab indentation behavior can be confusing, particularly if you are used to editing code in applications such as Visual Studio Code or Notepad++.
For example, suppose you have written five lines of text and want to move all of them slightly to the right. When you press the Tab key without selecting the lines, only the current line may receive the indentation.
The solution is to select the lines you want to indent before using the appropriate keyboard shortcut.
Select Multiple Lines Before Indenting
Open Notepad and load the text file containing the lines you want to indent. Place your mouse cursor at the beginning of the first line.
Hold the left mouse button and drag downward to highlight all the lines you want to adjust. Make sure the selection includes the complete lines you intend to indent.
Depending on your Notepad version, you may also use keyboard selection. Place the cursor at the beginning of the first line, hold Shift, and use the Down Arrow key to extend the selection across multiple lines.
After selecting the text, press the Tab key if your Notepad version supports multi-line indentation for the selected text.
Follow this path: Open Notepad > Select multiple lines > Press Tab.
Check the result to confirm whether all selected lines have moved to the right. If only one line changes, your installed Notepad version may not support the multi-line indentation behavior you expect.
Use Keyboard Shortcuts for Better Text Indentation
Keyboard shortcuts can make editing multiple lines easier, particularly when working with programming code or structured text.
In some Notepad versions, the Tab key inserts a tab character at the cursor position, while selected text may behave differently. Unlike advanced code editors, Notepad does not offer every indentation feature or shortcut.
If your version supports multi-line indentation, select the lines first and press Tab. To reverse indentation, check whether Shift + Tab works with the selected lines.
If these shortcuts do not behave as expected, you can manually insert spaces or use a more advanced text editor for bulk indentation.
For example, Notepad++ and Visual Studio Code offer more extensive editing features, including multi-line selection and indentation controls.
The general workflow is: Select text > Apply indentation shortcut > Review the selected lines.
Use Notepad++ or Another Editor for Advanced Indentation
If you regularly edit programming files, HTML, CSS, or configuration documents, Windows 11 Notepad may not provide all the editing tools you need.
In that situation, consider using Notepad++ or Visual Studio Code. Both applications provide more flexible indentation features and support editing multiple lines together.
For example, Notepad++ allows you to select multiple lines and use its indentation commands to shift them together. Visual Studio Code also provides keyboard shortcuts for increasing and decreasing indentation.
These applications are particularly useful when working with large text files or code that requires consistent formatting.
However, if you only need basic text editing, you can continue using Windows Notepad and manually adjust indentation where necessary.
FAQs
1. Why are my Notepad tabs disappearing in Windows 11?
Your Notepad tabs may disappear because the application is configured to start a new session instead of restoring the previous one. Check Notepad > Settings > When Notepad starts and select the session restoration option.
2. How do I make Notepad save open tabs automatically?
Open Notepad settings and check the session preferences. Enable the option to continue the previous session if available. For important documents, always use Ctrl + S to save changes manually.
3. Why does Notepad not remember my previous session?
This can happen because of incorrect session settings, corrupted application data, or an outdated Notepad version. Check the startup settings, update the application, and use the Repair option in Windows Settings.
4. How do I recover a disappeared Notepad tab?
First, check whether the original file still exists in its saved location. Then reopen it manually through File > Open. If the content was never saved and session recovery is unavailable, recovery may not be possible.
5. How do I indent multiple lines in Windows 11 Notepad?
Select the lines you want to indent and press Tab if your Notepad version supports multi-line indentation. If it only inserts a tab at the current cursor position, use an advanced text editor such as Notepad++ or Visual Studio Code.
6. Does resetting Notepad delete my saved text files?
Resetting Notepad generally does not delete documents saved separately in your folders. However, it can remove application settings and session information. Save and back up important content before resetting.
7. Why does the Tab key insert spaces instead of indenting multiple lines?
Notepad may be treating the Tab key as an instruction to insert a tab character at the current cursor position. Select multiple lines first or use an editor with dedicated multi-line indentation support.
Final Words
Notepad tabs make working with multiple text files easier, but problems with session restoration, saving, and indentation can interrupt your workflow.
To fix Notepad tabs not saving or disappearing in Windows 11, start by checking the session settings and making sure the application is configured to restore previous tabs. Then restart Notepad, install available updates, and use the Repair or Reset options if necessary.
If your main problem is Notepad not indenting multiple lines at once, select the required lines before pressing Tab.
If your version does not support this functionality, consider using Notepad++ or Visual Studio Code for more advanced editing.