How to clear or disable recently closed tab section in Firefox

Firefox displays the recently closed tabs under History menu –> Recently Closed Tabs.


If you want to clear or disable the recently closed tabs section then you can do the following

  • In the Firefox address bar type about:config
  • If you get the below warning message then click on the I’ll be careful, I promise button


  • Type browser.sessionstore.max_tabs_undo in Filter text box


  • Set the value for browser.sessionstore.max_tabs_undo to 0 and click OK to confirm the changes


Now if you navigate to History menu –> Recently Closed tabs section will be disabled as shown below.


In Category: Firefox, Technical

Ravi Shankar

A Software developer and blogger who is always looking to provide technical help to the wider community.

Show 3 Comments
  • giuseppe January 19, 2011, 3:46 pm

    Siete troppo forti…grazie è stato utile

  • megan August 25, 2011, 12:28 am

    Great video. Question: I am interested in clearing out recently closed tabs but I want to make sure that if i do this, it WONT delete all the history and WONT remove the tabs that are already currently up and open. I also dont want it to stop Recently Closed Tabs from showing up so I’m not looking to disable it, just to clear it out. I have a Mac and am using Firefox. When I go to the top of the page and click on History, I can scroll down to where it says Recently Closed Tabs. When I hover over Recently Closed Tabs, it shows the closed tab that I would like to eliminate and then an option at the bottom that says Restore All Tabs. Now I know that I can also go to Tools, scroll down to Clear Recent History… but since I’ve never clicked on it before, I’m worried that if I click on Clear Recent History… it’ll erase all the history and close all the open tabs I have open. Now, should I click on Clear Recent History, what box do I mark if I only want to clear Recently Closed Tabs? I really need your help, asap! 🙂 Thank you!

  • Dimitrie October 11, 2014, 3:28 pm

    Excellent article! I managed to re-enable the recently closed tabs function!!!!

Leave a Comment

Get your free copies of the following tech guides by joining the Digital Answers mailing list.