How to Enable Close Tabs Prompt in Microsoft Edge
The close tabs prompt in Microsoft Edge is a built-in safety warning that stops you from accidentally closing an entire window with multiple tabs open. When active, a pop-up appears to confirm your choice before closing version 120 and later of the browser so you do not lose important work by mistake.
Updates or system changes can sometimes switch this feature off without your knowledge. Turn on the setting in your browser settings to get back your safety warning in less than 30 seconds.
Open Microsoft Edge, click the three dots for Settings and more, select Settings, then Appearance. Toggle on “Ask before closing a window with multiple tabs” to enable the prompt. This prevents accidental closure of multiple tabs.
Use Edge Settings to Turn the Prompt On or Off
You can enable close tabs prompt in Microsoft Edge through the main browser settings to stop yourself from accidentally closing multiple windows at once. Open Settings and go to Appearance, then scroll down to the General section and turn on the switch that asks before closing all tabs.
Here is an example of what the prompt looks like:

If you don’t see this prompt, follow these steps to turn it on:
- Open Microsoft Edge.
- Click the Settings and more button. This is the 3 horizontal dots on the top right corner. You can also press
Alt+F.

- Select Settings from the menu.
- Click Appearance on the left menu.

- Look for the option that says "Ask before closing a window with multiple tabs" under the Customize browser section.
- Toggle the button On to enable the prompt. Toggle it Off to disable it.

That's it! Now Edge will ask you before closing a window with multiple tabs.
Use Windows Registry to Turn the Prompt On or Off
You can enable close tabs prompt using the Windows Registry if you want to enforce the setting across your system or prefer advanced configuration methods. Open Registry Editor and go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge to create a new DWORD value named AskBeforeClosingAllTabs and set it to 1.
You can also use the Windows Registry to control this prompt. Follow these steps:
- [ADMIN REQUIRED] Open the Windows Registry Editor.
- Navigate to this folder path:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge - If you don't see the Edge folder, right-click on the Microsoft parent key and create a new subkey called Edge.

- Right-click in the empty space of the Edge folder's right pane.
- Select New and then DWORD (32-bit) Value.
- Name the new key:
AskBeforeCloseEnabled - Double-click the new value to open it.
- Enter the Value data:
1to show the prompt. Enter0to hide the prompt. - Click OK and close the Registry Editor.

The change takes effect immediately. Edge will now show or hide the prompt based on your setting.
Summary
You can enable the prompt that asks before closing a window with multiple tabs in Microsoft Edge using either the browser's settings or the Windows Registry.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
[…] If you want to prevent the accidental closure of multiple tabs, then turn on a feature to prompt you before closing multiple tabs. […]