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

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

restore previous sesion

  • 3 amsoshi
  • 3 sa na da wannan matsala
  • 23 views
  • Amsa ta ƙarshe daga cor-el

more options

Although I have selected "Open Previous Windows and Tabs" in Start-Up, my windows and tabs were not restored when I inadvertently quit Firefox. I then went to the three horizontal bar Application menu to look for "restore previous session", but it is no longer there. Is it possible to restore the possible to restore the "restore previous session" option in that menu? How can I restore previous session when I have inadvertently closed Firefox? I'll be grateful for advice. Thank you

Although I have selected "Open Previous Windows and Tabs" in Start-Up, my windows and tabs were not restored when I inadvertently quit Firefox. I then went to the three horizontal bar Application menu to look for "restore previous session", but it is no longer there. Is it possible to restore the possible to restore the "restore previous session" option in that menu? How can I restore previous session when I have inadvertently closed Firefox? I'll be grateful for advice. Thank you

All Replies (3)

more options

make sure Session Restore is enabled and working properly.


Make sure you do not run Firefox in permanent Private Browsing mode (Always use Private Browsing mode; Never Remember History).

  • Settings -> Privacy & Security
    Firefox will: "Use custom settings for history"
  • remove checkmark: [ ] "Always use Private Browsing mode"

In case you use "Clear history when Firefox closes".

  • do not clear the "Browsing history"
  • using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies
  • clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
more options

Dear Cor-El, I had mistakenly marked your previous reply a solution. I did not find there answers to my questions. I have checked all my settings, and they were already as your reply indicated they should be. So why didn't my re-opening Firefox restore my windows? And why couldn't I find the "restore previous session" button in the Applications Menu, under History? Thanks for your patience, Jay

more options

Are there files present and updated in the sessionstore-backups folder in the profile folder? Does Firefox create a sessionstore.jsonlz4 file in the main/root level in the profile folder?

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).

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