We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

Why is Firefox showing tabs from last session when computer was shut down?

  • 5 replies
  • 4 have this problem
  • 4 views
  • Last reply by varlotto

more options

Whenever I shut down my computer and start it back up Firefox brings up my last session even though I do not have the option checked to save my last session in Options>General>When Firefox Starts.

Whenever I shut down my computer and start it back up Firefox brings up my last session even though I do not have the option checked to save my last session in Options>General>When Firefox Starts.

Chosen solution

I just remembered that last update firefox.exe kept running in the processes and that must've been what was making it think Firefox was still open while shutting down. After updating to the new version it hasn't happened.

Read this answer in context 👍 0

All Replies (5)

more options

When you shut your PC down without closing Firefox first, Firefox thinks it crashed and when you restart it the previous session is automatically restored. That is how Firefox is designed to work. Best the Exit Firefox before turning your PC off.

more options

I shut down firefox before i shut off my pc

more options

There is software like Advanced SystemCare with its Surfing Protection feature that can protect files in the Firefox profile folder against changes. If you have such software then check the settings or uninstall this software.

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

See also:


You can check for problems with the sessionstore.js file in the profile folder that stores session data. When sessionstore.js is deleted you lose pinned tabs and Tab Groups and open tabs and you will have to recreate them, so if necessary make a note or bookmark them.

You can use this button to go to the current Firefox profile folder:

more options

One way to diagnose whether Firefox thinks it is crashing at shutdown is to set a different post-crash startup behavior. Rather than trying to restore automatically, Firefox will display a list of windows and tabs you had open before and ask whether you want to restore them or start a new session. Here's how you get to that, if you want to try it:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste sess and pause while the list is filtered

(3) Double-click the browser.sessionstore.max_resumed_crashes preference and change its value from 1 to 0 (zero) and click OK

Please be careful not to change other session restore settings so that you can preserve this option for when you really need it.

more options

Chosen Solution

I just remembered that last update firefox.exe kept running in the processes and that must've been what was making it think Firefox was still open while shutting down. After updating to the new version it hasn't happened.