Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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 can I close all tabs at once without having to restart Firefox

  • 3 respostas
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

Other closing one tab at a time, how can I close all my tabs without having to restart Firefox

Other closing one tab at a time, how can I close all my tabs without having to restart Firefox

Chosen solution

On a Mac you can close the window and open a new window to achieve that. That won't close the Firefox application. You can also right a tab and choose "Close Other Tabs" from the right-click context menu.


Set the pref browser.tabs.closeWindowWithLastTab to false on the about:config page to prevent closing the last tab from closing the browser and make a close button appear if only one tab is open.

To open the about:config page, type about:config in the location (address) bar and press the "Enter" key, just like you type the url of a website to open a website.
If you see a warning then you can confirm that you want to access that page.

  • Use the Filter bar at to top of the about:config page to locate a preference more easily.
  • Preferences that have been modified show as bold(user set).
  • Preferences can be reset to the default or changed via the right-click context menu.
Ler a resposta no contexto 👍 1

All Replies (3)

more options

Chosen Solution

On a Mac you can close the window and open a new window to achieve that. That won't close the Firefox application. You can also right a tab and choose "Close Other Tabs" from the right-click context menu.


Set the pref browser.tabs.closeWindowWithLastTab to false on the about:config page to prevent closing the last tab from closing the browser and make a close button appear if only one tab is open.

To open the about:config page, type about:config in the location (address) bar and press the "Enter" key, just like you type the url of a website to open a website.
If you see a warning then you can confirm that you want to access that page.

  • Use the Filter bar at to top of the about:config page to locate a preference more easily.
  • Preferences that have been modified show as bold(user set).
  • Preferences can be reset to the default or changed via the right-click context menu.
more options

Very much appreciate your good info. and quick response, thank you.

more options

You're welcome