There are some iOS gestures and tricks that have been around forever, but remain relatively hidden because they're hard to find unless you know about them.

Closing all of the tabs in your Safari browser on an iOS device is one such trick -- it's simple if you know how to do it, but it's a gesture you might not know exists.


Here's how to do it:

  1. Open up Safari.
  2. Long press on the "Tabs" icon denoted by two squares. On iPhones, it's at the bottom of the browser in portrait mode or at the top in landscape mode. On the iPad, it's at the top.
  3. Select Close All Tabs.

Alternatively, you can single tap on the Tabs icon to bring up the browser window view, and then long press on "Done" to bring up the same "Close All Tabs" interface.

That's all there is to it. Safari will let you know how many tabs are currently open, and it will close each and every one after the Close All Tabs option is tapped.

Because it's so easy to open a new tab when browsing without meaning to on an iOS device, the Close All Tabs option is super handy for getting rid of all those open browser windows in one quick go.

Top Rated Comments

bbfc Avatar
93 months ago
Well you learn something new everyday!
Score: 5 Votes (Like | Disagree)
philipk Avatar
93 months ago
Are there really MacRumors readers that don’t know this?
Yes, I am a regular here and didn’t know it. There are a lot of shortcuts in iOS, macOS, and other software programs that most people do not know.

MacRumor readers may be well informed but there still much that they (we) do not know.
Score: 4 Votes (Like | Disagree)
philipk Avatar
93 months ago
Thanks for sharing the shortcut. It will be real helpful to me in the future. Especially when I am cleaning up my wife’s iPhone. She usually has 20 to 30 tabs open.
Score: 3 Votes (Like | Disagree)
artfossil Avatar
93 months ago
Are there really MacRumors readers that don’t know this?
Some of us (raises hand) are lazy/distracted/forgetful and appreciate getting useful information—even if we’re supposed to know it (and maybe did at one time).
Score: 2 Votes (Like | Disagree)
Lopezzi Avatar
93 months ago
Thanks for sharing the shortcut. It will be real helpful to me in the future. Especially when I am cleaning up my wife’s iPhone. She usually has 20 to 30 tabs open.
My wife is notorious for having lots of tabs open. I asked her to perform the steps and then tell me what the top option says. She gets back to me, "It says Close All 117 tabs". :eek: Hahaha.
Score: 2 Votes (Like | Disagree)
NMBob Avatar
93 months ago
Why doesn’t this use force touch? iOS has more and more UX inconsistencies.
Because my iPad Air on iOS10 doesn't have Force Touch. And, yes, there are a ton of inconsistencies in iOS. Feature bloat and mystery meat navigation abounds.
Score: 1 Votes (Like | Disagree)

Popular Stories

ios 18 4 carplay

iOS 18.4 Includes a Small But Useful Change for CarPlay

Sunday February 23, 2025 2:23 pm PST by
The first beta of iOS 18.4 is now available, and it includes a small but useful change for CarPlay. As we noted in our list of iOS 18.4 features, CarPlay now shows a third row of icons, up from two rows previously. However, this change is only visible in vehicles with a larger center display. For example, a MacRumors Forums member noticed the change in a Toyota Tundra, which can be equipped...
cook trump

Trump Responds to Apple Keeping Diversity Policies

Wednesday February 26, 2025 6:32 am PST by
In an all-caps post on Truth Social today, U.S. President Donald Trump said Apple should fully end its diversity, equity, and inclusion (DEI) policies. "APPLE SHOULD GET RID OF DEI RULES, NOT JUST MAKE ADJUSTMENTS TO THEM," he wrote. Trump's post comes one day after Apple held its annual shareholders meeting, during which a majority of shareholders voted against a proposal that asked the...
apple watch ultra snow

6 Features Coming to the Apple Watch Ultra 3

Tuesday February 25, 2025 9:00 am PST by
The Apple Watch Ultra 3 is expected to launch later this year, arriving two years after the previous model with a series of improvements. While no noticeable design changes are expected for the third generation since the company tends to stick with the same Apple Watch design through three generations before changing it, there are a series of internal upgrades on the way. By the time the ...
airtag orange

AirTag 2 Rumored to Launch in May or June With These New Features

Monday February 24, 2025 6:11 am PST by
Apple plans to launch a second-generation AirTag in May or June this year, according to a post today from a leaker known as Kosutami. Bloomberg's Mark Gurman previously reported that a new AirTag would be released in mid-2025. May or June would align with that timeframe. Below, we recap three new features rumored for the AirTag 2: With a second-generation Ultra Wideband chip, the...
iPhone Fold Vertical Feature

Apple's 2026 Foldable iPhone Has No Visible Display Crease – Report

Tuesday February 25, 2025 2:58 am PST by
Apple is making significant headway on its long-rumored foldable iPhone, with a new report suggesting the company has achieved a major breakthrough by effectively eliminating the screen crease that plagues current foldable devices. According to Korean publication ETNews, Apple is finalizing its component suppliers for the foldable iPhone, with the selection process expected to be completed...
iphone 17 lineup cad render majin bu

Revealed: Entire iPhone 17 Lineup's Striking New Camera Designs

Monday February 24, 2025 2:49 am PST by
A new CAD render of all the devices in Apple's upcoming iPhone 17 lineup has been shared online by leaker Majin Bu, specifically showing the allegedly different rear camera system designs of the standard iPhone 17, all-new ultra-thin iPhone 17 Air, and the iPhone 17 Pro and Pro Max models. The leaker Majin Bu has had some hits in the past, but some of his information has been wrong,...
trump iphone dictation issue

Apple Fixing 'Trump' Dictation Processing Bug

Tuesday February 25, 2025 1:18 pm PST by
Multiple iPhone owners today noticed a pronunciation processing issue that causes the word "Trump" to momentarily show up when using dictation to send a message with the word "racist." In some cases, when speaking the word racist through the iPhone's built-in dictation feature, the iPhone briefly interprets the spoken word as "Trump" and "Trump" text shows up in the Messages app before being ...
airpods pro purple

Here's When AirPods Pro 3 Are Rumored to Launch

Monday February 24, 2025 9:14 am PST by
According to a post on X today from a leaker known as Kosutami, Apple plans to launch AirPods Pro 3 in May or June this year. The leaker also claimed that an AirTag 2 will launch around the same time. Kosutami is best known as a collector of prototype Apple hardware, but they have occasionally shared accurate information about Apple's future product plans. For example, they accurately...