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
96 months ago
Well you learn something new everyday!
Score: 5 Votes (Like | Disagree)
philipk Avatar
96 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
96 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
96 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
96 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
96 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

iphone 16 display

iPhone 17's Scratch Resistant Anti-Reflective Display Coating Canceled

Monday April 28, 2025 12:48 pm PDT by
Apple may have canceled the super scratch resistant anti-reflective display coating that it planned to use for the iPhone 17 Pro models, according to a source with reliable information that spoke to MacRumors. Last spring, Weibo leaker Instant Digital suggested Apple was working on a new anti-reflective display layer that was more scratch resistant than the Ceramic Shield. We haven't heard...
iPhone 17 Air Pastel Feature

iPhone 17 Reaches Key Milestone Ahead of Mass Production

Monday April 28, 2025 8:44 am PDT by
Apple has completed Engineering Validation Testing (EVT) for at least one iPhone 17 model, according to a paywalled preview of an upcoming DigiTimes report. iPhone 17 Air mockup based on rumored design The EVT stage involves Apple testing iPhone 17 prototypes to ensure the hardware works as expected. There are still DVT (Design Validation Test) and PVT (Production Validation Test) stages to...
Beyond iPhone 13 Better Blue

20th Anniversary iPhone Likely to Be Made in China Due to 'Extraordinarily Complex' Design

Monday April 28, 2025 4:29 am PDT by
Apple will likely manufacture its 20th anniversary iPhone models in China, despite broader efforts to shift production to India, according to Bloomberg's Mark Gurman. In 2027, Apple is planning a "major shake-up" for the iPhone lineup to mark two decades since the original model launched. Gurman's previous reporting indicates the company will introduce a foldable iPhone alongside a "bold"...
iphone 17 air iphone 16 pro

iPhone 17 Air USB-C Port May Have This Unusual Design Quirk

Wednesday April 30, 2025 3:59 am PDT by
Apple is preparing to launch a dramatically thinner iPhone this September, and if recent leaks are anything to go by, the so-called iPhone 17 Air could boast one of the most radical design shifts in recent years. iPhone 17 Air dummy model alongside iPhone 16 Pro (credit: AppleTrack) At just 5.5mm thick (excluding a slightly raised camera bump), the 6.6-inch iPhone 17 Air is expected to become ...
apple watch ultra yellow

What's Next for the Apple Watch Ultra 3 and Apple Watch SE 3

Friday April 25, 2025 2:44 pm PDT by
This week marks the 10th anniversary of the Apple Watch, which launched on April 24, 2015. Yesterday, we recapped features rumored for the Apple Watch Series 11, but since 2015, the Apple Watch has also branched out into the Apple Watch Ultra and the Apple Watch SE, so we thought we'd take a look at what's next for those product lines, too. 2025 Apple Watch Ultra 3 Apple didn't update the...
iPhone 17 Pro Blue Feature Tighter Crop

iPhone 17 Pro Launching Later This Year With These 13 New Features

Wednesday April 23, 2025 8:31 am PDT by
While the iPhone 17 Pro and iPhone 17 Pro Max are not expected to launch until September, there are already plenty of rumors about the devices. Below, we recap key changes rumored for the iPhone 17 Pro models as of April 2025: Aluminum frame: iPhone 17 Pro models are rumored to have an aluminum frame, whereas the iPhone 15 Pro and iPhone 16 Pro models have a titanium frame, and the iPhone ...
AirPods Pro 3 Mock Feature

AirPods Pro 3 Just Months Away – Here's What We Know

Tuesday April 29, 2025 1:30 am PDT by
Despite being more than two years old, Apple's AirPods Pro 2 still dominate the premium wireless‑earbud space, thanks to a potent mix of top‑tier audio, class‑leading noise cancellation, and Apple's habit of delivering major new features through software updates. With AirPods Pro 3 widely expected to arrive in 2025, prospective buyers now face a familiar dilemma: snap up the proven...
iPhone 17 Pro on Desk Feature

All iPhone 17 Models Again Rumored to Feature 12GB of RAM

Tuesday April 29, 2025 3:36 am PDT by
All upcoming iPhone 17 models will come equipped with 12GB of RAM to support Apple Intelligence, according to the Weibo-based leaker Digital Chat Station. The claim from the Chinese leaker, who has sources within Apple's supply chain, comes a few days after industry analyst Ming-Chi Kuo said that the iPhone 17 Air, iPhone 17 Pro, and iPhone 17 Pro Max will all be equipped with 12GB of RAM. ...