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

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

how do i close a single window without closing firefox?

  • 4 fhreagra
  • 11 leis an bhfadhb seo
  • 1 view
  • Freagra is déanaí ó cor-el

more options

Firefox is now allowing me to close a single tab, but I want to close all the tabs in a single window, without exiting firefox. (I would also want to restore my other sessions, but not this window.) You no longer have the option "close window" that I can find.

Firefox is now allowing me to close a single tab, but I want to close all the tabs in a single window, without exiting firefox. (I would also want to restore my other sessions, but not this window.) You no longer have the option "close window" that I can find.

All Replies (4)

more options

I read about this in another thread. The Close Window menu item does not appear if you click the File menu with the mouse, but it does appear if you call it up using Alt+f. I don't know why...

more options

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.
You can use the Filter bar at to top of the about:config page to locate a pref more easily.

more options

I spent the last hour in frustration trying to figure why closing one FF window closes them all - googled various searches until finally reached this page - thank you jscher2000 for pointing the answer - would anyone care to comment why opening the file menu via the mouse does not show the 'close window' menu item? seem to me like a bug.

more options

It is not a bug, but a new feature.

Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825). You can see the difference if you use Alt+F to open the File menu or other menus like the Edit menu (Alt+E) and Bookmarks menu (Alt+B) and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.


  • bug 626825 - Hide redundant menu commands unless the user invokes the menu using the keyboard (make use of the openedWithKey attribute)

(please do not comment in bug reports; you can vote instead)

See also: