How to Close Tabs in Microsoft Edge: Quick Guide
In this article
Closing tabs in Microsoft Edge is simple: click the small × on the tab you want to shut, or press Ctrl+W on Windows (Cmd+W on Mac) to close the current tab. On the mobile app you tap the tab-switcher icon and then tap the × on a tab's thumbnail. Below are the exact steps for single tabs, all tabs at once, and tabs on other devices, plus what to do when a tab refuses to close.
What You'll Need
- Microsoft Edge installed on a Windows PC, Mac, Android phone or iPhone.
- For keyboard shortcuts: a physical keyboard (desktop or laptop).
- Optional: if you want tabs to reopen after closing, sign in to Edge with a Microsoft account so sync and tab history are available.
Step-by-Step
Close a single tab on desktop
- Find the tab you want to close in the tab strip at the top of the Edge window.
- Move your mouse over that tab. A small × appears on its right side.
- Click the ×. The tab closes immediately and the tab to its right becomes active.
- Alternatively, make the tab active and press Ctrl+W (Windows) or Cmd+W (Mac).
- You can also right-click the tab and choose Close tab from the menu.
Close multiple or all tabs on desktop
- To close several tabs at once, right-click one of them and choose Close other tabs — this keeps the tab you right-clicked and closes everything else in that window.
- To close tabs to one side, right-click a tab and choose Close tabs to the right (or Close tabs to the left, if your version shows it).
- To close the whole window with all its tabs, click the × at the top-right corner of the window, or press Ctrl+Shift+W (Windows) / Cmd+Shift+W (Mac).
- If Edge asks “Do you want to close all tabs?”, click Close all to confirm. This prompt appears only when the setting is enabled; otherwise the window just closes.
Close tabs in Edge on Android or iPhone
- Tap the tab-switcher icon — the small square with a number in it — at the bottom of the screen (bottom bar placement can vary slightly by version).
- You'll see a card/thumbnail for each open tab.
- Tap the × on a tab's card to close just that one.
- On Android, tap the three-dot menu at the top of the tab switcher and choose Close all tabs. On iPhone, tap Close All in the same menu or long-press the tab-switcher icon for a shortcut.
Reopen a tab you closed by accident
- Press Ctrl+Shift+T (Windows) or Cmd+Shift+T (Mac). The last-closed tab reopens.
- Press it repeatedly to walk back through several closed tabs, in order.
- On mobile, open the three-dot menu and look for Recent tabs or History to find the page again.
Menu labels can differ slightly depending on your Edge version, device and region, but the core buttons — the tab ×, the tab-switcher and Ctrl+W — are consistent.
Common Mistakes
- Clicking the window × instead of the tab ×. The top-right × closes the entire window and every tab in it. The tab × sits inside the tab strip, below it.
- Assuming closing a tab logs you out. Closing a tab does not sign you out of sites. If you're on a shared PC, sign out of the site or your Microsoft account, and consider closing the browser fully.
- Confusing “Close other tabs” with “Close all tabs.” The first keeps the tab you right-clicked; the second (via the window ×) closes everything.
- Forgetting private windows. Tabs in an InPrivate window close the same way, but they won't be recoverable with Ctrl+Shift+T after the window is closed.
- Misclicking on mobile. Tapping the tab card itself switches to that tab; only the small × on the card closes it.
Tips
- Learn Ctrl+W — it's the fastest way to close tabs one by one while reading.
- Ctrl+Shift+T is your undo button. It works even after closing the whole window, as long as Edge itself hasn't been fully quit.
- Middle-click a tab with your mouse wheel to close it without right-clicking.
- If you habitually end up with dozens of tabs, use Close tabs to the right to trim everything past the article you're still reading.
- Enable Edge's “close all tabs” warning (Settings > “Startup” area / browser behavior settings, depending on version) if you keep losing windows by accident — the prompt gives you a second chance.
- Set Edge to restore your previous tabs on startup so a closed window isn't a disaster: Settings > Start, home, and new button (wording varies by version) > open tabs from the previous session.
Troubleshooting
A tab won't close when I click ×
The page may be busy or a dialog may be waiting. First, click elsewhere in the window and try the × again. If it still won't budge, press Ctrl+W with that tab active. If the whole browser is frozen, right-click the Edge icon in the taskbar and close the window, or use Task Manager (Ctrl+Shift+Esc) to end the task — note that force-closing loses any unsaved work in web forms.
Edge reopens the same tabs after I close them
Check Settings and set Edge to open a new tab or specific page on startup instead of restoring the previous session. Also make sure “Continue running background extensions and apps when Microsoft Edge is closed” is off if you want Edge fully closed — otherwise Edge keeps running in the background and reappears quickly.
I closed a tab and can't get it back
Try Ctrl+Shift+T first. If that fails, open History (Ctrl+H) and find the page in the list. If you were in an InPrivate window, the tab is gone for good — that's by design.
My closed tabs come back on my phone
Sync may be restoring tabs from another device. Check that you actually want sync on: Settings > your account > Sync. Turning off tab sync stops tabs from other devices reappearing in your mobile tab list.
Frequently Asked Questions
What is the keyboard shortcut to close a tab in Edge?
Ctrl+W on Windows and Cmd+W on Mac closes the active tab. Ctrl+Shift+W / Cmd+Shift+W closes the entire window with all its tabs.
How do I close all tabs at once in Edge?
On desktop, click the window's × at the top-right, or press Ctrl+Shift+W. On mobile, open the tab switcher and use the three-dot menu's Close all tabs option.
Can I reopen a tab I closed by mistake?
Yes. Press Ctrl+Shift+T (Cmd+Shift+T on Mac) to reopen the last closed tab, and press it again for the one before that. On mobile, check the Recent tabs section of the menu.
Does closing a tab close the whole browser?
No. Closing the last tab in a window closes that window, but Edge may keep running in the background if background apps are enabled. To fully quit, close all windows and disable that setting, or quit from the taskbar icon.
Why does Edge ask “Do you want to close all tabs?”?
It's a safety prompt that appears when the setting is turned on, so you don't lose a window full of tabs with one misclick. You can accept or cancel; the prompt itself can be disabled, after which windows close silently.
Do closed tabs still count against my privacy?
Closed normal tabs remain in your browsing history until you clear it. Tabs closed in an InPrivate window leave no history once the window closes.