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

When I close the last tab I am sent to my desk top and do not stay on Firefox, but if I hit the open button again it says Firefox is running??

  • 2 replies
  • 7 have this problem
  • 2 views
  • Last reply by cor-el

more options

This started this last weekend. When I close the last tab instead of staying on Firefox it goes directly to my desktop. If I hit the Firefox icon again I get a message saying that Firefox is still running and that I should restart. But if I just hit open again it reopens or shows Firefox home page again. How do I stop this?

This started this last weekend. When I close the last tab instead of staying on Firefox it goes directly to my desktop. If I hit the Firefox icon again I get a message saying that Firefox is still running and that I should restart. But if I just hit open again it reopens or shows Firefox home page again. How do I stop this?

All Replies (2)

more options

If only one tab is opened in a Firefox window and you close that tab, the whole Firefox browser will close too. This is the default behaviour of Firefox. So naturally when you start Firefox again, it opens the startup homepage set by you.

more options

Set the pref browser.tabs.closeWindowWithLastTab to false on the about:config page to prevent closing the last tab from closing that window, you need to use "File > Close Window" or the close X on the title bar.

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.

You may need to wait a bit longer before restarting Firefox.

See "Hang at exit":