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

imac video apple feature

Apple Unveils First New Products of 2026

Monday January 26, 2026 1:55 pm PST by
Apple today introduced its first two physical products of 2026: a second-generation AirTag and the Black Unity Connection Braided Solo Loop for the Apple Watch. Read our coverage of each announcement to learn more:Apple Unveils New AirTag With Longer Range, Louder Speaker, and More Apple Introduces New Black Unity Apple Watch BandBoth the new AirTag and the Black Unity Connection Braided...
iPhone 5s

iPhone 5s Gets New Software Update 13 Years After Launch

Monday January 26, 2026 3:56 pm PST by
Alongside iOS 26.2.1, Apple today released an updated version of iOS 12 for devices that are still running that operating system update, eight years after the software was first released. iOS 12.5.8 is available for the iPhone 5s and the iPhone 6, meaning Apple is continuing to support these devices for 13 and 12 years after launch, respectively. The iPhone 5s came out in September 2013,...
Second Generation AirTag Feature

Apple Unveils New AirTag With Longer Range, Louder Speaker, and More

Monday January 26, 2026 6:07 am PST by
Apple today introduced the second-generation AirTag, with key features including longer range for tracking items and a louder speaker. For those who are not familiar, the AirTag is a small accessory that you can attach to your backpack, keys, or other items. Then, you can track the location of those items in the Find My app on the iPhone, iPad, Mac, Apple Watch, and iCloud.com. The new...
Apple Logo Spotlight

Apple to Launch These 20+ Products This Year

Sunday January 25, 2026 6:02 pm PST by
2026 promises to be yet another busy year for Apple, with the company rumored to be planning more than 20 product announcements over the coming months. Beyond the usual updates to iPhones, iPads, Macs, and Apple Watches, Apple is expected to release its all-new smart home hub, which was reportedly delayed until the more personalized version of Siri is ready. Other unique products rumored for ...
M5 MacBook Pro

Apple Reportedly Aiming to Upgrade the MacBook Pro Twice This Year

Sunday January 25, 2026 11:46 am PST by
Apple plans to release new MacBook Pro, MacBook Air, Mac Studio, and Studio Display models in the first half of this year, according to Bloomberg's Mark Gurman. In his Power On newsletter today, Gurman added that redesigned MacBook Pro models with an OLED touch screen "should be hitting toward the end of 2026," meaning that the MacBook Pro line would be upgraded twice this year. First up...