To make Microsoft Edge warn you before you close a window full of tabs, open Settings, click Appearance, scroll to the Customize browser section, and switch on Ask before closing a window with multiple tabs. Edge then shows a confirmation box instead of closing everything at once.
The setting is off by default, which is why one stray click on the X can wipe out an afternoon of research.
Applies To
- Browser: Microsoft Edge on a computer
- OS: Windows, macOS, Linux
- Account: none needed
- Time: under a minute
How Do I Turn On the Tab Close Warning in Edge?
- Click the three dots in the top-right corner of Edge.
- Click Settings.
- Click Appearance in the left pane.
- Scroll down to the Customize browser section.
- Switch on Ask before closing a window with multiple tabs.

There is no need to restart Edge. Try closing a window with two or more tabs open and the warning should appear straight away.

Why Does Edge Close Everything Without Asking?
Because the confirmation is opt in. Microsoft leaves it off so the browser closes instantly for people who never want a prompt. Once you turn it on, it applies to every window with more than one tab, on every profile signed in to that copy of Edge.
What if I Already Closed the Window by Mistake?
Press Ctrl + Shift + T on Windows or Command + Shift + T on a Mac. Edge reopens the last closed window with its tabs. Press it again to keep walking back through recently closed tabs.
You can also open the three dots menu, click History, and look under Recently closed for the whole window.
Frequently Asked Questions
Does the warning appear when I close a single tab?
No. It only triggers when you close a window that holds more than one tab. Closing tabs one at a time never prompts you.
Does this protect me when Edge restarts for an update?
It does not need to. Edge restores your open tabs after an update restart, so nothing is lost there. This setting is aimed at accidental clicks and stray keyboard shortcuts.
Is there the same setting in Google Chrome?
Chrome has no matching toggle in its settings. On a Mac you can turn on Warn Before Quitting in the Chrome menu, which covers quitting the whole browser rather than closing one window.
Will the setting follow me to another computer?
Only if you are signed in to Edge and syncing settings. Otherwise turn it on again on each machine you use.
Wrapping Up
One toggle under Appearance stands between you and a lost window of tabs. Turn it on, and keep Ctrl + Shift + T in your back pocket for the times you close something anyway.
Related Guides
Last verified: 2026-08-16

Leave a Reply