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

Any way to open ALL the windows that were open when Firefox was closed?

  • 2 replies
  • 0 have this problem
  • 8 views
  • Last reply by Terry

more options

I have Firefox set to reopen everything that was open when it closed. That only seemed to work if I had one window open, but I usually have a half dozen or more open with anywhere from a few tabs to well over 100 tabs in a window. The most reliable way I found to have those all reopen was to restart my computer. Firefox would be closed, but next time I opened it all the windows and tabs were there again. I needed to close Firefox a few minutes ago and didn't want to save all the other programs I was in the middle of, so (I thought I had done this before) I right-clicked the Firefox icon on the Taskbar and told it to close all windows. When I opened Firefox the next time it only opened one window (unfortunately the least important one), and only had two other windows in the History | Recently Closed Windows (also not very important windows). Are there any backup or other files where I could get back the other windows I had open? Unfortunately if I have a tab open for a month, for example, it is not saved in today's tabs, and it's not feasible to scroll back through thousands of listings in the history trying to figure out which tabs I had open. Thank you for any assistance!

I have Firefox set to reopen everything that was open when it closed. That only seemed to work if I had one window open, but I usually have a half dozen or more open with anywhere from a few tabs to well over 100 tabs in a window. The most reliable way I found to have those all reopen was to restart my computer. Firefox would be closed, but next time I opened it all the windows and tabs were there again. I needed to close Firefox a few minutes ago and didn't want to save all the other programs I was in the middle of, so (I ''thought'' I had done this before) I right-clicked the Firefox icon on the Taskbar and told it to close all windows. When I opened Firefox the next time it only opened one window (unfortunately the least important one), and only had two other windows in the History | Recently Closed Windows (also not very important windows). Are there any backup or other files where I could get back the other windows I had open? Unfortunately if I have a tab open for a month, for example, it is not saved in today's tabs, and it's not feasible to scroll back through thousands of listings in the history trying to figure out which tabs I had open. Thank you for any assistance!

All Replies (2)

more options

Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox Title bar, especially if you have multiple windows or Private Browsing windows open to prevent losing tabs in unnoticed windows.

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

In about:config, the following preference is set to 3 by default. If you want more "recently closed windows" in history, you can increase the number. browser.sessionstore.max_windows_undo

https://support.mozilla.org/en-US/kb/about-config-editor-firefox