I had to immediate shut down, and I lost about 20 unsaved tabs, is there any way to recover these?

  • 3
    notepad++ bydefault saves the recent documents. so that if you do not change this settings it may be chance to get unsaved tabs otherwise not. Sep 21, 2015 at 8:42

3 Answers 3


Is there any way to recover unsaved files?

Notepad++ will autosave if configured to do so.

  • The default "Backup path" is %APPDATA%\Notepad++\backup (or <Notepad++ install directory>\backup). Look in this directory for any backup files.

  • Goto menu "Settings" > "Preferences" > "Backup" tab to see your configuration.

  • If "Enable session snapshot and periodic backup" has been checked then there will a "Backup path" configured.

enter image description here

When was the "Session snapshot and periodic backup" feature introduced?

In version 6.6.x:

As a reminder, the main feature of v6.6.x is Session snapshot & periodic backup - user won't be asked to save unsaved file as he quits Notepad++, and on startup Notepad++ restores the unsaved file and unsaved untitled document of last session. Such periodic backup of unsaved files will protects your data from the PC crashing or power outage.

You can always turn off this feature to get back the old behaviour: http://notepad-plus-plus.org/assets/images/sessionSnapshot.png

Source Notepad++ 6.6.2 released

  • 1
    My Notepad++ version is 6.1.5. My backup options are None, Simple, Verbose. What version are you referencing? Also, what is the default setting?
    – user193661
    Sep 20, 2015 at 13:51
  • I'm running version 6.7.7. I've no idea what the default settings are. It looks like this feature was introduced in version 6.6.x. Answer updated.
    – DavidPostill
    Sep 20, 2015 at 13:55
  • 7
    This won't recover documents you closed and selected "do not save", by the way. You can get straight to the folder in the highlight by going Win+R, %APPDATA%\Notepad++\backup. Just wanted to put that there since your screenshot is not copy-and-pastable.
    – Noumenon
    Nov 11, 2017 at 17:07
  • 3
    Why is this option not enabled by default?!!
    – johey
    Dec 14, 2019 at 13:01
  • I have this option enabled by default so my useful data is saved.
    – Muzzamil
    Apr 26, 2021 at 10:14

I had also lost my one notepad++ file but I was able to recover that file from following location:


I am using Windows 7.

  • 2
    This answer is useful because this is the default directory for this purpose - so if anyone just wants to go directly for the prize, without even opening Notepad++, this is probably it.
    – pgr
    Sep 14, 2017 at 12:48
  • 1
    This saved a database creation script I was shitting squirrels about losing. It's worth mentioning that for me, unsaved files were backed up there but saved ones were not.
    – HB-
    Dec 20, 2017 at 0:15
  • this worked for me Apr 9, 2018 at 19:23
  • 1
    This will work (via copy paste) vs your pseudo path: C:\Users\%USERNAME%\AppData\Roaming Mar 30, 2020 at 17:12
  • %APPDATA% is what you should be using (as users folder might not be located at C:\Users)
    – Franz B.
    Sep 9, 2020 at 9:57

In case if Notepad++ was not able to create the backup file and had crashed, it tries to create the *.dump files that could be found at the following path:

  • 2
    In my case for some reason it had issues with a lot of files that I have been using several days and they were not in the backup path but they were in this path.
    – Dzyann
    Dec 21, 2016 at 21:58
  • 1
    Worth noting that even if your files have their name mangled and end in .DUMP, notepad++ seems to be able to open them just fine. Jan 29, 2018 at 13:39
  • Mine was in %AppData%\Roaming\Notepad++\backup Oct 6, 2020 at 10:13

Not the answer you're looking for? Browse other questions tagged or ask your own question.