Learn how to configure Microsoft Edge to ask before closing multiple tabs using the “Close All Tabs” confirmation prompt.
On both Windows 10 and Windows 11, Microsoft Edge is the default browser. As with any modern browser, you can open web pages in multiple tabs. When you have multiple tabs open, by default, closing the Edge window automatically closes all open tabs. However, you can configure the Edge browser to warn you before closing multiple tabs using a confirmation dialog. That way, you don’t accidentally close an Edge window with multiple tabs and lose your progress.

In this quick and easy guide, let me show you how to set up the Edge browser to ask before closing all tabs by enabling the “Close all tabs” confirmation prompt. Let’s get started.
Steps to Enable the “Close All Tabs” Prompt in Edge
- Press the “Windows” key to open the Start menu.
- Search for “Microsoft Edge” in the Start menu.
- Click the “Open” option.
- Click the “Menu” icon in the top-right corner.
- Select the “Settings” option.
- Go to the “Accessibility” tab on the sidebar.
- Turn ON the “Ask before closing a window with multiple tabs” toggle.
- From now on, you will see a “Close all tabs” confirmation prompt when closing Edge with multiple tabs.
Detailed Steps (With Screenshots)
First, open the Edge browser. If it is already open, skip this step. To launch the browser, open the Start menu by pressing the “Windows” key, search for “Microsoft Edge“, and then click “Open“.

Once the browser opens, click the “Menu” icon (three horizontal dots) in the top-right corner and select the “Settings” option.

In the Settings tab, go to the “Accessibility” tab on the sidebar. On the right panel, turn ON the “Ask before closing a window with multiple tabs” toggle under the “Usability” section.

That is it. Once you enable this option, Edge will ask you with the “close all tabs” confirmation prompt when closing it with multiple tabs.

If you have any questions or need help, comment below. I’ll be happy to assist.
Update: This guide has been updated to reflect the changes in the Microsoft Edge browser.