How to Close All Tabs at Once — Every Browser and Device Covered
Leaving dozens of tabs open is easy to do and surprisingly hard to undo one at a time. Whether you're on a desktop browser, iPhone, or Android device, there's almost always a faster way to close everything at once — but the method varies significantly depending on your platform, browser, and how your tabs are organized.
Why "Close All Tabs" Isn't One Universal Feature
Browsers handle tab management differently. Some offer a single "Close All Tabs" button front and center. Others bury it in a menu, require a keyboard shortcut, or split the function between regular tabs and tab groups. Knowing which system you're working with changes everything.
Closing All Tabs on Desktop Browsers
Google Chrome (Windows/Mac)
The fastest method is the keyboard shortcut. On Windows, pressing Ctrl + W closes one tab at a time, but to close the entire window and all its tabs at once, use Ctrl + Shift + W. On Mac, the equivalent is Cmd + Shift + W.
If you want to close all tabs without closing the window itself, right-click on any tab in the tab bar. You'll see options including "Close other tabs" and "Close tabs to the right." There's no native single-click "close all" within a window while keeping Chrome open — the window-close shortcut is effectively the same result.
Chrome also has tab groups, which can be closed independently by right-clicking the group label and selecting "Close group."
Mozilla Firefox
Firefox mirrors Chrome's shortcuts: Ctrl + Shift + W (Windows) or Cmd + Shift + W (Mac) closes the entire window. Right-clicking any tab gives you "Close Multiple Tabs" with sub-options to close tabs to the right or close other tabs.
Microsoft Edge
Edge uses the same shortcut logic as Chrome (they share the Chromium engine). Right-clicking a tab also surfaces a "Close all tabs" option directly — which makes Edge slightly more explicit about this feature compared to Chrome's layout.
Safari (Mac)
On Safari, hold down Option while clicking the red close button on any window, and it will close all tabs in that window. Alternatively, go to File → Close All Windows, or use Cmd + Option + W to close all tabs in the current window without quitting Safari.
Closing All Tabs on Mobile 📱
iPhone and iPad (Safari)
Safari on iOS stores tab count in the tab switcher (the overlapping squares icon). To close all tabs at once, long-press the tab switcher button — a menu appears with the option "Close All [X] Tabs." Tap it, confirm, and you're done.
If you use Tab Groups, each group is managed separately. You'll need to close tabs within each group individually unless you delete the group entirely.
Android (Chrome)
In Chrome for Android, tap the tab count button (the square with a number) to open the tab overview. Then tap the three-dot menu in the top-right corner of that screen. You'll see "Close all tabs" listed there. Chrome on Android also supports tab groups, and those follow the same per-group logic as desktop.
Other Mobile Browsers
Browsers like Firefox for Android, Samsung Internet, and Opera Touch all offer similar close-all functionality tucked inside their tab managers. The location varies — usually a long-press or an overflow menu within the tab switcher view.
Variables That Change Your Approach
Not every "close all" action behaves the same way. A few factors affect what actually happens:
| Factor | How It Affects the Process |
|---|---|
| Tab groups | Grouped tabs may need to be closed per-group, not all at once |
| Multiple windows | Closing one window doesn't close tabs in other open windows |
| Pinned tabs | Most desktop browsers exclude pinned tabs from "close other tabs" actions |
| Session restore settings | Some browsers will reopen closed tabs on next launch if set to restore sessions |
| Browser version | Older versions of mobile browsers may have menus in different locations |
Pinned tabs deserve special attention — they're intentionally resistant to bulk-close actions. If you want to clear pinned tabs, you'll need to unpin them first or close them manually.
Session Restore: What Happens After You Close Everything
Closing all tabs doesn't always mean they're gone for good. Many browsers — Chrome, Firefox, Edge, Safari — have a session restore feature that can bring your tabs back the next time you open the browser, depending on your settings.
In Chrome, this is controlled under Settings → On startup. In Firefox, it's under Settings → General → Startup. If you close all tabs and reopen the browser only to see them all back again, that's where to look.
The Part That Depends on Your Setup
How straightforward closing all tabs is depends on a combination of factors: which browser you use, which device you're on, whether you're using tab groups, and how your browser's startup behavior is configured. A Chrome user on Windows with twenty tab groups has a meaningfully different process than someone using Safari on an iPhone with a single ungrouped tab window. Understanding your own tab structure — and your browser's session behavior — is what determines which approach actually clears the slate for you.