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
97 months ago
Well you learn something new everyday!
Score: 5 Votes (Like | Disagree)
philipk Avatar
97 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
97 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
97 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
97 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
97 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 17 Pro Blue Feature Tighter Crop

iPhone 17 Pro Launching in Three Months With These 12 New Features

Saturday June 14, 2025 5:45 pm PDT by
The iPhone 17 Pro and iPhone 17 Pro Max are three months away, and there are plenty of rumors about the devices. Below, we recap key changes rumored for the iPhone 17 Pro models as of June 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 X through iPhone 14 Pro have a...
iPadOS 26 App Windowing

Apple Explains Why iPads Don't Just Run macOS

Friday June 13, 2025 7:46 am PDT by
iPadOS 26 allows iPads to function much more like Macs, with a new app windowing system, a swipe-down menu bar at the top of the screen, and more. However, Apple has stopped short of allowing iPads to run macOS, and it has now explained why. In an interview this week with Swiss tech journalist Rafael Zeier, Apple's software engineering chief Craig Federighi said that iPadOS 26's new Mac-like ...
iphone 16 pro models 1

17 Reasons to Wait for the iPhone 17

Thursday June 12, 2025 8:58 am PDT by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models simultaneously, which is why we often get rumored features months ahead of launch. The iPhone 17 series is no different, and we already have a good idea of what to expect from Apple's 2025 smartphone lineup. If you skipped the iPhone...
Logitech Logo Feature

Logitech Announces Two New Accessories for WWDC

Friday June 13, 2025 7:22 am PDT by
Alongside WWDC this week, Logitech announced notable new accessories for the iPad and Apple Vision Pro. The Logitech Muse is a spatially-tracked stylus developed for use with the Apple Vision Pro. Introduced during the WWDC 2025 keynote address, Muse is intended to support the next generation of spatial computing workflows enabled by visionOS 26. The device incorporates six degrees of...
iOS 26 Screens

Here Are All the iOS 26 Features That Require iPhone 15 Pro or Newer

Thursday June 12, 2025 4:53 am PDT by
With iOS 26, Apple has introduced some major changes to the iPhone experience, headlined by the new Liquid Glass redesign that's available across all compatible devices. However, several of the update's features are exclusive to iPhone 15 Pro and iPhone 16 models, since they rely on Apple Intelligence. The following features are powered by on-device large language models and machine...
CarPlay Liquid Glass Dark

Apple to Let iPhone Users Watch Videos on CarPlay Screen While Parked

Thursday June 12, 2025 6:16 am PDT by
Apple this week announced that iPhone users will soon be able to watch videos right on the CarPlay screen in supported vehicles. iPhone users will be able to wirelessly stream videos to the CarPlay screen using AirPlay, according to Apple. For safety reasons, video playback will only be available when the vehicle is parked, to prevent distracted driving. The connected iPhone will be able to...
iOS 26 on Three iPhones

Hate iOS 26's Liquid Glass Design? Here's How to Tone It Down

Wednesday June 11, 2025 4:22 pm PDT by
iOS 26 features a whole new design material that Apple calls Liquid Glass, with a focus on transparency that lets the content on your display shine through the controls. If you're not a fan of the look, or are having trouble with readability, there is a step that you can take to make things more opaque without entirely losing out on the new look. Apple has multiple Accessibility options that ...
Mac Studio Feature

Apple Begins Selling Refurbished Mac Studio With M4 Max and M3 Ultra Chips at a Discount

Thursday June 12, 2025 10:14 am PDT by
Apple today added Mac Studio models with M4 Max and M3 Ultra chips to its online certified refurbished store in the United States, Canada, Japan, Singapore, and many European countries, for the first time since they were released in March. As usual for refurbished Macs, prices are discounted by approximately 15% compared to the equivalent new models on Apple's online store. Note that Apple's ...
iOS 26 Feature

Apple Seeds Revised iOS 26 Developer Beta to Fix Battery Issue

Friday June 13, 2025 10:15 am PDT by
Apple today provided developers with a revised version of the first iOS 26 beta for testing purposes. The update is only available for the iPhone 15 and iPhone 16 models, so if you're running iOS 26 on an iPhone 14 or earlier, you won't see the revised beta. Registered developers can download the new beta software through the Settings app on each device. The revised beta addresses an...