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

I don't want my recently closed tabs to be saved... Any way to prevent this?

  • 3 replies
  • 11 have this problem
  • 187 views
  • Last reply by drubacca117

more options

It has been a long time since I have used Firefox (got a Macbook, and for some reason just used Safari for a long time), so please forgive me if I am just missing something in the Firefox settings.

Anywho, I have Firefox set up to not remember my history because I like the privacy it offers. I think it is odd that I have it set up to delete my history, yet when you go to "History", it keeps a list of all my closed tabs... Doesn't that kind of defeat the purpose of having the browser not save my history?

Is there a way to prevent Firefox from keeping this list of my recently closed tabs?

It has been a long time since I have used Firefox (got a Macbook, and for some reason just used Safari for a long time), so please forgive me if I am just missing something in the Firefox settings. Anywho, I have Firefox set up to not remember my history because I like the privacy it offers. I think it is odd that I have it set up to delete my history, yet when you go to "History", it keeps a list of all my closed tabs... Doesn't that kind of defeat the purpose of having the browser not save my history? Is there a way to prevent Firefox from keeping this list of my recently closed tabs?

Chosen solution

hello drubacca117, private browsing (aka "never remember history") means that firefox won't write any history data to your harddisk. as long as the browser is open it will store those recently closed tabs in the RAM in order to restore them quickly if needed - if you don't like this feature you can turn it off this way: enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preferences named browser.sessionstore.max_tabs_undo and browser.sessionstore.max_windows_undo. double-click it and change their value to 0 and restart the browser once.

Read this answer in context 👍 7

All Replies (3)

more options

Chosen Solution

hello drubacca117, private browsing (aka "never remember history") means that firefox won't write any history data to your harddisk. as long as the browser is open it will store those recently closed tabs in the RAM in order to restore them quickly if needed - if you don't like this feature you can turn it off this way: enter about:config into the firefox address bar (confirm the info message in case it shows up) & search for the preferences named browser.sessionstore.max_tabs_undo and browser.sessionstore.max_windows_undo. double-click it and change their value to 0 and restart the browser once.

more options

Note that Firefox keeps a list of one closed window even with browser.sessionstore.max_windows_undo set to 0, so you may have to open another window with one tab and close this window to purge websites from this list.

See also the browser.tabs.closeWindowWithLastTab pref on the about:config page.

more options

Thank you for the replies, it was exactly what I was looking for! Thank you again!