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

Firefox keeps restoring my tabs even though restore previous session is off

  • 3 replies
  • 1 has this problem
  • 10 views
  • Last reply by cor-el

more options

Today, whenever I close Firefox and then restart it, it brings up the tabs I had open last time before I closed it instead of my home page. I checked my settings and "Restore previous session" is turned off. How do I make it stop doing this and why isn't turning it off in settings working?

Today, whenever I close Firefox and then restart it, it brings up the tabs I had open last time before I closed it instead of my home page. I checked my settings and "Restore previous session" is turned off. How do I make it stop doing this and why isn't turning it off in settings working?

All Replies (3)

more options

You can check if you have a user.js file in the Firefox profile folder that sets browser.sessionstore.resume_session_once to true.

  • browser.sessionstore.resume_session_once

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.


It is also possible that Firefox isn't closing properly. Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox Title bar.

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit
more options

I tried using the 3 bar menu to Exit, but it still brings back the same tabs when I start it up. Is there a way I can change this setting without having to go in an edit files?

It also seems to be only doing this on one computer. My other computer opens and closes Firefox normally.

more options

Your attached troubleshooting information shows that you have a user.js file:

  • UserJS.exists: TRUE

So you will have to go to the profile folder and remove this user.js file.


Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts. The user.js file will only be present if you or other software has created this file and normally won't be present.

You can check its content with a text editor (right-click: "Open with"; do not double-click). The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can delete the user.js file if you didn't create this file yourself.

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.