Recover Notepad File: How to Retrieve Unsaved & Deleted Notes

If you accidentally closed Notepad without saving the file or lost your notes by mistake, you've come to the right page. This guide will focus on effective strategies for recovering Notepad files, addressing two common yet frustrating scenarios: unsaved modifications and permanently erased files.

By @Aria
Last Updated July 5, 2025

Where has my Notepad Gone?

Notepad is a basic text editor built into Windows, widely used for quick note-taking, drafting simple documents, or writing code snippets. It's lightweight and convenient, but lacks automatic saving features, making it easy to lose unsaved work. Have you ever closed Notepad by accident without saving? Or found important notes mysteriously vanished? That's when the panic sets in: Where has my Notepad gone?

  • Unsaved Note:If you close the window directly or experience a power outage, unsaved notes will be permanently lost. In rare cases, such as forced shutdowns or computer crashes, temporary files may be generated, which you can try to locate in the temporary folder.
  • Deleted Note:Deleted notes are generally moved to the Recycle Bin directly, while permanently deleted (pressing "Shift + Delete") notes will bypass the Recycle Bin and vanish.

Whether it's unsaved edits or deleted files, recovering your lost Notepad content is possible—let's dive into the most effective solutions for recovering your Notepad file in various situations. In this guide, we’ll explore different methods to recover unsaved and deleted Notepad files.

How to Recover Unsaved Notepad File on Windows

Sometimes, you may forget to save your Notepad file, and when you close the app or your computer shuts down unexpectedly, the file seems to be lost. Below are two possible methods that help you retrieve it from temporary locations or system backups.

Check the Roaming Folder

Windows stores temporary files in various locations, and one of them is the AppData\Roaming folder. Here, unsaved files may sometimes be stored, giving you a chance to recover them.

Step 1. Press "Win + R" to open run dialog box.

Step 2. Type "%appdata%" and press "Enter" to locate to the following path:

C:\Users\%USERNAME%\AppData\Roaming

Step 3. Enter "*.txt" in the search box to filter the notes, select the file you want to recover and to save it to a safe location.

Check the Temp Folder

Another place to check is the Temp folder, where Windows keeps temporary files of programs running on your system. Notepad, in some cases, may store temporary files here. When sudden shutdowns or computer crashes occur, the computer may generate temporary files.

Step 1. Press "Win + R" to open run dialog box.

Step 2. Type "%temp%" and press "Enter" to open temporary folder.

Step 3. Browse through the folder to see if any temporary Notepad files are stored there. They may have a ".txt" extension or a random name. If you find a file, open it and save it to another location.

How to Recover Deleted Notes on Windows

If your Notepad file was accidentally deleted, you still have several chances to recover it, depending on the situation. Whether you have backups or not, or prefer a GUI (Graphical User Interface) or command line, you can find methods suitable for you.

Check the Recycle Bin

The first place you should check when you lose a Notepad file is the Recycle Bin. If you’ve accidentally deleted the file, it may still be in the Recycle Bin. As long as you haven't emptied the Recycle Bin or permanently deleted the note from it, it will remain in the Recycle Bin.

Step 1. Double click the Recycle Bin icon to open it.

Step 2. Browse through and select the files you want to recover, right click it and choose "Restore" to recover it to its original location.

Restore your Files with File History

Windows has a built-in backup feature called File History that periodically backs up your files. If you’ve enabled File History in Windows before file loss, you might be able to restore an earlier version of your Notepad file.

Step 1. Type "Restore your files with File History" in the Start menu and open it.

Step 2. Locate to the folder containing the deleted notes and select it.

Step 3. Click on the green "Restore" button to recover the deleted notes to its original location.

Restore with Backup and Restore (Windows 7)

Backup and Restore (Windows 7) is a built-in backup tool in Windows which copies your full system to a secure location, enabling its retrieval in the event of loss caused by deletion, corruption, or hardware failure—thus safeguarding data security and recoverability. If you have backed up the note or the folder containing the note, it can be restored directly from pre-made backup copies.

Step 1. Type "backup settings" in the Start menu and open it.

Step 2. Click "Go to Backup and Restore (Windows 7)"and choose "Select another backup to restore files from".

Step 3. Choose a created backup to restore files from and click on "Next".

Step 4. Select files you want to recover from the backup. You can click "Browse for files/ folders" to select specific file or folder to recover.

Step 5. Choose a safe location to save the recovered files and click "Restore" to start the process.

When the process is completed, you can access and check the recovered files by clicking "View restored files".

Run Windows File Recovery Command

If the notes are permanently deleted and cannot be found in the Recycle Bin, what's worse, there are no backups either. You can use Windows File Recovery, a command-line tool provided by Microsoft to recover lost files from hard drives and other storage devices. (If you're not fond of command-line tools, the next one will be more suitable for you.) Follow these steps to recover deleted Notepad files using Windows File Recovery command:

Step 1. Download and install Windows File Recovery on your computer from the official Microsoft channel.

Step 2. Type "Windows File Recovery" in the Start menu and right click it to run it as administrator.

Step 3. Enter the command "winfr H: D: /extensive /n *.txt" and press "Enter". Replace the drive letters "H" and "D" with your actual drive letter.

Once the process is finished, you can press "y" to check the recovered files in the destination folder.

Notes:✎...
H: The source drive letter.
D: The destination drive letter.
Extensive: Performs a deep scan (slower but more thorough). You can switch to "regular" mode (quick scan).
n *.txt: Filters recovery to only ".txt" files.
Windows File Recovery only supports running on Windows 10 and 11.

Recover Deleted Notepad Files via MyRecover

If command-line tools are difficult for you to master, try this professional data recovery tool with a user-friendly GUI—MyRecover. It can scan disks or drives for deleted files, giving you a chance to recover them even if you're a computer novice. MyRecover recovers data without requiring any backups, especially excels in retrieving permanently deleted data, and only takes four steps to restore lost files.

 MyRecover
FREE Data Recovery Software with Highest Recovery Rate
  • No Command Line Needed – Simple GUI (graphical interface) for easy file recovery.
  • 500+ Devices Supported – SSD, HDD, USB Flash Drive, SD Sard, etc.
  • 1000+ File Formats Supported – PNG, MP4, MP3, TXT, ZIP, MSG, etc.
  • 500+ Data Loss Scenarios – Deletion, Format, System Crash, Virus Attack, etc.

Step 1. Download and install MyRecover on your computer from secure channel.

Step 2. Select the drive with lost files to scan and click "Scan".

Step 3. Choose files you wish to recover from the recoverable lists and click "Recover". You can perform a "Deep scan" for more fragmented clues.

Step 4. Select a safe location (not the original one) to save the recovered files.

When the recovery process is completed, you can access and check the recovered files by clicking the destination folder.

Summary

Losing a Notepad file can be irritating, but it’s not always the end of the road. Whether you’ve accidentally closed an unsaved file, or you’ve deleted it by mistake, these effective methods you can try to recover your lost data. With the right steps, your valuable notes can be brought back in just a few clicks.

If you prefer tools that are novice-friendly, MyRecover is highly recommended. For more professional needs, MyRecover's Professional and Technician editions are better suited—they allow data recovery from crashed systems.