TechBuzzPro

Firefox Opens Two Windows? Fix It Fast

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If Firefox opens two windows every time you launch it, the usual cause is that the browser is set to restore your previous session on startup, and that session already contained two windows. Firefox is simply reopening what was open when you last closed it. The fix is to change your startup setting to open a single home page or a blank page, then close the extra window before shutting down. If that does not solve it, a second cause is a second Firefox shortcut or pinned taskbar icon that points to a different profile or launch mode.

This guide walks through the settings and checks that stop Firefox from opening two windows. The steps are written for Firefox on Windows, macOS and Linux; labels can differ slightly by version, device or region.

What You'll Need

  • Firefox installed and able to open
  • Access to the Firefox Settings menu
  • A couple of minutes to close extra windows and restart the browser

Step-by-Step

  1. Close the second window first. If Firefox is already open with two windows, close the one you do not want by clicking its close button (the X on Windows or Linux, the red button on macOS). Leave only the window you want to keep. Firefox remembers the windows that are open when it closes, so this step matters.
  2. Open Firefox Settings. Click the menu button (three horizontal lines) in the top-right corner, then choose Settings. On macOS, Settings is under the Firefox menu. On Linux, it is also in the menu button.
  3. Find the Startup section. In Settings, select the General panel if it is not already selected. Scroll down to the Startup area. You will see an option labelled “Open previous windows and tabs” with a checkbox.
  4. Uncheck “Open previous windows and tabs.” Removing the check tells Firefox not to restore your last session. This is the single most common fix for Firefox opening two windows.
  5. Set a home page or blank page. Still in Startup, look at “Homepage and new windows.” Choose “Blank Page” or “Custom URLs” and enter the site you want. This ensures a fresh launch opens one window with one page.
  6. Close Firefox completely. Quit the browser rather than just closing a window. On Windows, use the menu button > Exit, or close all windows. On macOS, use Firefox > Quit Firefox. Make sure no Firefox process is left running in the background.
  7. Reopen Firefox and check. Launch it once from the taskbar, dock or applications menu. It should now open a single window. If two windows still appear, continue to the next steps.
  8. Check your shortcuts and pinned icons. Right-click the Firefox icon you use and look at its properties or target. If you have more than one Firefox shortcut, delete the extra one or unpin it. A shortcut that includes a profile switch or a private-window flag can open a separate window alongside your normal one.
  9. Check for a second Firefox profile. Type about:profiles in the address bar and press Enter. If more than one profile is listed, Firefox may be launching a different profile from a shortcut. Set the profile you want as the default and remove extra shortcuts that point to the other one.
  10. Restart in Troubleshoot Mode if needed. Open the menu button, choose Help, then Troubleshoot Mode, and restart when prompted. If Firefox opens only one window in Troubleshoot Mode, an extension or theme is likely causing the extra window. Disable extensions one at a time to find the culprit.

Common Mistakes

  • Closing only one window before quitting. Firefox restores the windows that were open at shutdown. If two windows were open, both come back. Close the extra window before you quit.
  • Confusing a pop-up with a second window. Some sites open a new window automatically. Firefox blocks pop-ups by default, but if you allowed them for a site, that site may be opening the second window. Check the padlock icon in the address bar and review pop-up permissions.
  • Changing the setting but not restarting. The startup change applies on the next launch. Quit Firefox fully and reopen it to test.
  • Using a shortcut with a private-window flag. A shortcut that ends with a private browsing switch opens a separate private window. Use the normal shortcut instead.
  • Assuming a second window is a virus. In most cases it is a session restore or shortcut issue, not malware. Still, keep Firefox updated and only install extensions from the official add-ons site.

Tips

  • Use one Firefox window with multiple tabs instead of multiple windows. It keeps session restore simple and uses less memory.
  • If you like restoring your session, close the extra window before quitting so only the window you want is saved.
  • Pin only one Firefox icon to your taskbar or dock to avoid launching a second instance by accident.
  • Keep Firefox updated through the official release channel so startup behaviour matches the current settings labels.
  • If you use multiple profiles deliberately, create separate shortcuts and label them clearly so you do not open two by mistake.

Troubleshooting

If Firefox still opens two windows after changing the startup setting, work through these checks in order. First, confirm the setting stuck: reopen Settings > General > Startup and make sure “Open previous windows and tabs” is unchecked. Second, quit Firefox completely and check that no Firefox process remains running; on Windows, open Task Manager and end any Firefox process, then relaunch. Third, test with a clean shortcut: create a new desktop shortcut to Firefox from the official installation and launch from that. Fourth, open about:profiles and confirm only the profile you expect is set as default. Fifth, start in Troubleshoot Mode as described above to rule out extensions. If the second window appears only when you click a link from another app, check whether that app is set to open links in a new window; changing the default browser or the link behaviour in that app can help. If the problem persists after all of this, refresh Firefox from the Troubleshoot Mode screen; note that refreshing removes extensions and customisations but keeps bookmarks, passwords and history. Back up anything important first.

Frequently Asked Questions

Why does Firefox open two windows when I click the icon?

Most often because “Open previous windows and tabs” is enabled and your last session had two windows. Uncheck that setting in Settings > General > Startup.

Does closing one window before quitting Firefox stop it?

Yes. Firefox restores the windows that were open at shutdown, so closing the extra window first means only one window is restored.

Can an extension open a second Firefox window?

Yes, some extensions can open windows. Test in Troubleshoot Mode; if only one window opens there, disable extensions one by one to find the cause.

Is a second Firefox window a sign of malware?

Usually not. It is normally a session restore or shortcut issue. Keep Firefox updated and install extensions only from the official add-ons site.

Will changing the startup setting delete my tabs?

No. Unchecking session restore stops Firefox from reopening previous windows on launch, but your bookmarks and history are not removed.

What if I have two Firefox profiles?

Open about:profiles to see them. Set the one you want as default and remove shortcuts that launch the other profile.