Q: How Can I Recover Unsaved Files from Notepad++ After a Crash?

"The Notepad ++ deleted my unsaved TXT files on my computer. This morning, I was editing an important document with Notepad ++, but it suddenly crashed. I reopened the Notepad Plus immediately, to find that all my working content disappeared. I stopped using the Notepad ++ straight away. Is it possible for me to recover the lost and unsaved Notepad ++ files? And How? I'm using Windows 10, by the way."

Workable Solutions Step-by-step Troubleshooting
Method 1. Recover from Backups Start Notepad ++ > Click Settings > Click Preference > Click Backup...Full steps
Method 2. Recover Without Backups Download Notepad ++ recovery software > Choose a drive to scan > Preview and recover...Full steps

Notepad ++ Files Recovery Overview 

Are you facing a similar issue that your Notepad ++ files got deleted or removed resulting from the program crash? Or did you lose the unsaved .txt files due to accidental closure without saving? If so, you must want to know how to recover unsaved Notepad ++ files. Lucky you are here. On this page, we will discuss the way to restore unsaved Notepad ++ files with backups. After this, we will move to another hot problem, which is how to recover lost or deleted Notepad ++ files. Click on the quick navigation below to read the content you are interested in. 

Method 1. How to Recover Unsaved Notepad ++ Files from Backups

Unlike Notepad, Notepad ++ is more advanced. It has a feature of creating backup files during the editing process, which means that Notepad ++ will generate temp files automatically for the on-editing and unsaved files. 

If you've turned on the backup feature (which is usually on by default), you can follow the detailed guidelines below to restore your unsaved Notepad ++ files right now.

Step 1. Start Notepad ++, click on "Settings" > "Preference".

Restore unsaved notepad ++.

Step 2. Click "Backup" on the window, and find the Notepad ++ unsaved files location in the Backup path. 

Find backup path of lost unsaved Notepad ++.

Note: To prevent Notepad ++ files from losing again, you can check "Remember current session for next launch" and "Enable session snapshot and periodic backup". Moreover, set the backup interval as you need. 

Step 3. Copy the backup path of your Notepad: C:\Users\UserName\AppData\Roaming\Notepad++\backup (usually), and past it on your Windows Explorer. Click "Enter" to find the exact backup folder of your Notepad ++.

Find backup of lost Notepad ++ files.

Step 4. You will be able to see all Notepad backups listed there. You can click "Date modified" to choose the most recent notepad file that you've lost, then right-click on it and choose to open with Notepad ++.

Restore unsaved Notepad ++ files.

Step 5. Now you should be able to view and save the restored Notepad++files to a safe location. 

Save restored Notepad ++ files to a safe location.

Method 2. How to Restore Lost/Unsaved Notepad ++ Files without Backup

The above method only applies to recover unsaved Notepad ++ files. Once you click the "Save" button, your files will not be temporarily stored in the "backup" folder. Then, how to retrieve deleted saved files without backup? 

First, you can see whether the deleted files are in the recycle bin or not. If not, your data might be permanently lost. In this case, you need to use a professional data recovery tool to get files back. EaseUS Data Recovery Wizard is a top-notch file recovery program that enables you to recover lost data due to accidental deletion, hard drive corruption/formatting, partition loss, virus attack, OS crash, etc. It is fully compatible with all Windows OS and Mac OS X.

You can directly download and install this file recovery software on your computer and do the steps below to recover lost Notepad ++ files within three simple steps. 

 Download for Win Recovery Rate 99.7%
 Download for Mac Trustpilot Rating 4.6

Step 1. Launch EaseUS Data Recovery Wizard in Windows 11/10/8/7 and choose the place where you lost data. Then, click "Scan".

select a location to scan

Step 2. After the scan, use the file format filter on the left or upper right corner to find the files you need. Then, you can click the "Preview" button or double-click a file to preview its content.

Choose files to recover

Step 3. Click the checkbox next to the file and click "Recover" to get back the lost data to a secure place.

Recover lost data

 Download for Win Recovery Rate 99.7%
 Download for Mac Trustpilot Rating 4.6

Final Word

I believe you've successfully restored the unsaved or deleted files by using the ways above. But it's not the end of the thing. To avoid losing essential Notepad ++ files unexpectedly, remember to keep the backup feature on to automatically store the unsaved files. Besides, it's also a good behavior to back up saved Notepad files regularly. If you don't want to or forget to copy the files manually, you can use Windows schedule backup software for automatic backup. In this way, you no longer have to worry about accidental data loss.

Was This Page Helpful?

Updated by Jean

Jean has been writing tech articles since she was graduated from university. She has been part of the EaseUS team for over 5 years. Her special focuses are data recovery, disk partitioning, data space optimization, data backup and macOS. By the way, she's an aviation fan!

Read full bio

Written by Tracy King

Tracy joined in EaseUS in 2013 and has been working with EaseUS content team for over 9 years. Being enthusiastic in computing and technology, she writes tech how-to articles and share technical solutions about Windows & Mac data recovery, file/system backup and recovery, partition management, data transfer, Windows update issues, etc.

Read full bio