How to configure Close Tab warnings in Firefox

There are a few different ways to close or quit the browser. You can ask Firefox to alert you when you’re about to close multiple tabs.

MultipleTabsPrompt89

Starting in Firefox version 94, Firefox no longer warns you by default when you exit the browser or close a window using a menu, button, or three-key command. The close actions in these particular contexts were likely intentional and so the messages provided unnecessary and perhaps unwelcome friction.

The only instance in which a close modal is on by default is for two-key quit shortcuts on macOS and Linux. The risk of accidental closure is higher in this context since the quit shortcut (⌘+Q) is adjacent to the switch-application shortcut (⌘+Tab).

Despite these changes to the default behavior, you will still have full control over the quit/close modal behavior. All warnings can be managed within Firefox SettingsPreferences.

How do I enable or disable Close tab warnings?

  1. In the Menu bar at the top of the screen, click Firefox and select Preferences. Click the menu button Fx57Menu and select OptionsPreferences.Click the menu button Fx89menuButton and select Settings.

  2. In the Tabs section of the General panel, check the box next to Confirm before closing multiple tabs to enable the warnings, and uncheck it to disable them.

Confirm_WintabModal

  1. In the Menu bar at the top of the screen, click Firefox and select Preferences. Click the menu button Fx57Menu and select OptionsPreferences.Click the menu button Fx89menuButton and select Settings.

  2. In the Tabs section of the General panel, check the box next to Confirm before closing multiple tabs to enable the warnings, and uncheck it to disable them.

Confirm_MactabModal

Mac users can also exit the browser using the command ⌘+Q keyboard shortcut. If you want to disable Close multiple tabs warnings for when you use this shortcut, uncheck the box next to Confirm before quitting with ⌘+Q.
  1. In the Menu bar at the top of the screen, click Firefox and select Preferences. Click the menu button Fx57Menu and select OptionsPreferences.Click the menu button Fx89menuButton and select Settings.

  2. In the Tabs section of the General panel, check the box next to Confirm before closing multiple tabs to enable the warnings, and uncheck it to disable them.

Confirm_LinuxtabModal

Linux users can exit the browser using the Ctrl+Q keyboard shortcut. If you want to disable close multiple tabs warnings for when you use this shortcut, uncheck the box next to Confirm before quitting with Ctrl+Q.

I lost my tabs after the update — What can I do?

You may notice that after updating Firefox to version 94, the tabs from your previous session were closed. To learn how to restore a previous session, visit How do I restore my tabs from last time? Alternatively, following the prompts in the Open previous tabs? one-time notification that will appear after the update will also allow you to restore the tabs from your previous session.

InfobarRestore

Was this article helpful?

Please wait...

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More