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

How to also restore all firefox windows when starting firefox.

more options

Is it possible to restore, multiple windows filled with tabs instead of just the previous tabs? This would be really useful for me as I like to have one window open for work-related things and another one for reddit, youtube and the likes. On this page https://support.mozilla.org/en-US/kb/restore-previous-session it says firefox can restore previous windows and tabs, but that seems to be only when firefox crashes.

Is it possible to restore, multiple windows filled with tabs instead of just the previous tabs? This would be really useful for me as I like to have one window open for work-related things and another one for reddit, youtube and the likes. On this page https://support.mozilla.org/en-US/kb/restore-previous-session it says firefox can restore previous windows and tabs, but that seems to be only when firefox crashes.

Chosen solution

Normally, windows will be re-opened automatically if they were "open" at the time you exited out of Firefox, and the last three "closed" windows will be listed on the History menu so you can open them manually. If you go to the History menu right now, are there any closed windows you can restore from your previous session?


To give Firefox the best chance of recognizing the windows you have open at shutdown, exit Firefox using the menu, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

Then Firefox will treat all windows open as of that time as open.

However, if you have Windows close Firefox by using the "red X" button on the title bar or right-clicking Firefox on the Task Bar and using "Close All Windows" or by simply shutting down Windows, then Windows will exit Firefox by sending sequential close window commands, and that could cause this issue.

Read this answer in context 👍 1

All Replies (2)

more options

Suluhisho teule

Normally, windows will be re-opened automatically if they were "open" at the time you exited out of Firefox, and the last three "closed" windows will be listed on the History menu so you can open them manually. If you go to the History menu right now, are there any closed windows you can restore from your previous session?


To give Firefox the best chance of recognizing the windows you have open at shutdown, exit Firefox using the menu, either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

Then Firefox will treat all windows open as of that time as open.

However, if you have Windows close Firefox by using the "red X" button on the title bar or right-clicking Firefox on the Task Bar and using "Close All Windows" or by simply shutting down Windows, then Windows will exit Firefox by sending sequential close window commands, and that could cause this issue.

more options

The number "3" for closed windows to remember between sessions can be increased or decreased. To make sure it hasn't been reduced to zero, you can check here:

(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) The browser.sessionstore.max_windows_undo preference controls the number of windows you can re-open after closing them. To set a different value, double-click the preference and enter your preferred number of windows (I use 10) and click OK to save it.

As you might guess, the browser.sessionstore.max_tabs_undo preference controls the number of closed tabs you can re-open in each window.

Please be careful editing session-related settings, as you could break the feature if you don't research (or ask about) preferences before making changes.