User Agents

Web browsers and everyday web tech, explained

Restore Close All Tabs Confirmation in Edge

· 5 min read · Browsers

In this article
  1. Why Did Edge Stop Asking?
  2. Where the Setting Lives
  3. How the Confirmation Works
  4. Common Problems and Fixes
  5. Alternative Methods to Get the Prompt
  6. Does This Setting Affect Startup or Session Restore?
  7. Frequently Asked Questions

To restore the “Close all tabs?” confirmation message in Microsoft Edge, go to Settings > Cookies and site permissions > Pop-ups and redirects, then ensure the “Before closing a window with multiple tabs, ask you to confirm” toggle is turned on. This setting is available in Edge version 111 and later; if you don’t see it, update Edge to the latest version.

Why Did Edge Stop Asking?

Microsoft Edge introduced the confirmation prompt in version 111 (March 2023) as part of a broader effort to prevent accidental data loss. However, many users report that the prompt disappears after an update or after changing certain settings. The most common reason is that the toggle is turned off by default in some builds, or a previous user (or a group policy) disabled it. Additionally, if you use Edge in “InPrivate” mode, the prompt behaves differently—it may not appear at all unless you explicitly enable it in the settings.

Where the Setting Lives

The setting is not in the general “Settings” page; it’s tucked under “Cookies and site permissions.” Here’s the exact path:

  1. Open Edge and click the three-dot menu (⋯) in the top-right corner.
  2. Select Settings.
  3. On the left sidebar, choose Cookies and site permissions.
  4. Scroll down to the Pop-ups and redirects section (not the “Pop-ups” block, but the one labeled “Pop-ups and redirects”).
  5. Look for the toggle labeled “Before closing a window with multiple tabs, ask you to confirm”.
  6. Turn it on.

If you don’t see this toggle, your Edge version may be older than 111. Go to Settings > About Microsoft Edge to check and update.

How the Confirmation Works

When enabled, Edge will show a dialog box whenever you try to close a window that has more than one tab open. The dialog gives you three options: “Close all,” “Cancel,” and sometimes “Close tabs” (which closes all tabs but keeps the window open). The prompt appears only when you click the X button on the window or press Ctrl+Shift+W. It does not appear when you close a single tab via the tab’s own X or Ctrl+W.

Important: The prompt does not appear if you close the entire browser via Alt+F4 on Windows or Cmd+Q on Mac—those commands bypass the confirmation. Also, if you have “Startup boost” enabled, the prompt may behave differently because Edge pre-loads in the background.

Common Problems and Fixes

Even after turning on the toggle, some users find the prompt still doesn’t appear. Here are the usual culprits and solutions:

  • Group Policy or registry override: If you’re on a managed device (work or school), an administrator may have disabled the setting via policy. You can check by going to edge://policy and looking for “PopupsAllowed” or similar. In that case, you’ll need to contact your IT admin.
  • Edge is not updated: The setting only exists in Edge 111+. Check edge://version to see your version. If it’s older, update via Settings > About Microsoft Edge.
  • InPrivate mode: The prompt is disabled by default in InPrivate windows. To enable it, open an InPrivate window, go to edge://settings/privacy, and look for “InPrivate” settings. There isn’t a direct toggle for the confirmation, but you can enable “Allow sites to save and read cookie data” (which is unrelated) or use a different approach—unfortunately, there is no separate toggle for InPrivate. The best workaround is to use regular windows.
  • Extensions interfering: Some tab management extensions (like “Tab Manager” or “Session Buddy”) can suppress the prompt. Try disabling extensions temporarily to test.

Alternative Methods to Get the Prompt

If the toggle is missing or not working, you can use a keyboard shortcut that still triggers a confirmation in some versions: Ctrl+Shift+W closes the window and, if the setting is on, shows the prompt. But if the setting is off, it won’t. Another workaround is to use the “Close other tabs” option from a tab’s right-click menu—this doesn’t close the window, so no confirmation is needed. If you want a hard confirmation for every close, you can use a third-party extension like “Close Confirmation” from the Edge Add-ons store, but be cautious about permissions.

Does This Setting Affect Startup or Session Restore?

No. The confirmation prompt is separate from the “Continue where you left off” startup option. If you have “Startup boost” enabled, Edge may close faster and skip the prompt in some cases. To avoid this, you can disable Startup boost: go to Settings > System and performance and turn off “Startup boost.” This may make the prompt appear more reliably, but it also slows down Edge’s initial launch.

Frequently Asked Questions

Why doesn’t Edge ask me to confirm when I close multiple tabs?

Most likely because the toggle is off. Go to Settings > Cookies and site permissions > Pop-ups and redirects and turn on “Before closing a window with multiple tabs, ask you to confirm.” If it’s already on, check for policy restrictions or update Edge.

Can I make the confirmation appear for InPrivate windows?

There is no separate setting for InPrivate. The prompt follows the same global setting, but in some Edge versions, InPrivate windows may ignore it. A workaround is to avoid using InPrivate for multi-tab sessions, or use a regular window.

Does the confirmation appear when I close a single tab?

No. The prompt only appears when you close an entire window that contains multiple tabs. Closing a single tab never triggers it.

Will this setting affect my pinned tabs?

Pinned tabs are counted as tabs, so if you have pinned tabs plus one regular tab, closing the window will trigger the prompt (if enabled). If you close a window with only pinned tabs and no other tabs, it may not prompt because pinned tabs are considered “tabs” but the condition is “multiple tabs” – so one pinned tab alone won’t prompt.

Is there a way to restore the prompt if I accidentally clicked “Don’t ask again”?

Edge does not have a “Don’t ask again” option for this prompt—it only has “Close all” and “Cancel.” So there is no need to reset that. If you see a different dialog (like from an extension), check the extension’s settings.

Does this setting work on macOS?

Yes, the same setting exists in Edge for macOS. The path is identical: Settings > Cookies and site permissions > Pop-ups and redirects.