This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

restore previous previous lost session

  • 3 cavab
  • 1 has this problem
  • 1 view
  • Last reply by bigsky888

more options

Is it possible to restore a lost session after another session was started?

I relogged my PC then a firefox window opened (not my homepage) which i accidently closed. Then i opened firefox and it opened to my homepage. I clicked restore previous session but all that was there was the page i had just closed that i had not wanted.

I tried crashing firefox and opening previous session but still brings me to this session.

Is my only option to go through my history for last many months to open all these tabs I previosly had open in 2 pages?

Is it possible to restore a lost session after another session was started? I relogged my PC then a firefox window opened (not my homepage) which i accidently closed. Then i opened firefox and it opened to my homepage. I clicked restore previous session but all that was there was the page i had just closed that i had not wanted. I tried crashing firefox and opening previous session but still brings me to this session. Is my only option to go through my history for last many months to open all these tabs I previosly had open in 2 pages?

All Replies (3)

more options

sessionstore [v56] sessionstore.jsonlz4

If you need to rescue any data from them, just move them out of the profile folder to some location where Firefox doesn't look for them. You can try to read out their contents using this tool: https://www.jeffersonscher.com/res/scrounger.html

Type about:support<enter> in the address bar.

Under the page logo on the left side, you will see Application Basics. Under this find Profile Folder. To its right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox.

Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder

Linux: Under the page logo on the left side, you will see Application Basics. Under this find Profile Directory. To its right press the button Open Directory.

Locate the above file.

more options

Did you try "History -> Recently Closed Tabs/Windows" ?


Backup the session files in the sessionstore-backups folder in the Firefox profile folder to make sure not to lose possible important session data. Do NOT close Firefox when Firefox is already running.

You will normally find these files in the sessionstore-backups folder:

  • previous.jsonlz4 (cleanBackup: copy of sessionstore.jsonlz4 from previous session that was loaded successfully)
  • recovery.jsonlz4 (latest version of sessionstore.jsonlz4 written during runtime)
  • recovery.baklz4 (previous version of sessionstore.jsonlz4 written during runtime)
  • upgrade.jsonlz4-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.jsonlz4 to replace the current file with Firefox closed.

  • make sure to backup the current sessionstore.jsonlz4
more options

Yea those are the current session and the previous one that was closed when it opened a window about a app no longer supported that I closed by mistake and so my other session before that is lost and i guess the only way is to pull the links from my history. Thanks for giving me the information