How to Enable Close Tabs Prompt in Microsoft Edge
Microsoft Edge’s close tabs prompt appears as a warning before you close multiple browser tabs at once.
This prompt acts like a safety net, stopping you from accidentally losing information or closing things you didn’t mean to when you have many tabs open.
Microsoft Edge, which comes built-in with Windows 11, usually has this helpful feature turned on.
When you try to close an Edge window that has more than one tab, you’ll get a pop-up asking if you really want to close all of them.
You can then decide to continue closing or cancel it.
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 easily turn on the prompt that asks if you want to close all your tabs in Microsoft Edge using the browser’s settings. This helpful prompt stops you from accidentally closing multiple windows. If you don’t see it, follow these simple steps to enable the close tabs prompt.
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
For more control over the close tabs prompt, or if you need to set it up on many computers, you can use the Windows Registry. This method lets you turn the prompt on or off. You’ll need administrator access to make changes in the registry editor.
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.
How to make Chrome ask before closing a tab?
And that's it. Now you know how to stop Chrome from closing all your tabs. Accidentally. Whether you are on Windows or Mac.
How do I turn on closed tabs?
Quick Fix: Press Ctrl+Shift+T (Windows/Chrome OS) or Cmd + Shift+T (Mac) immediately after losing tabs. This restores recently closed tabs one by one in reverse order.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
[…] If you want to prevent the accidental closure of multiple tabs, then turn on a feature to prompt you before closing multiple tabs. […]