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

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

Sunday March 23, 2025 10:00 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 March 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 ...
macbook pro blue green

When Will Apple Release the M5 MacBook Pro?

Wednesday March 26, 2025 4:53 pm PDT by
Apple regularly refreshes the MacBook Pro models, and a new version that uses M5 series chips is in the works. Apple just finished refreshing most of the Mac lineup with M4 chips, and now it's time for the M5. Rumors suggest that we could see the first M5 MacBook Pro models this fall. Design There have been no rumors of a design update for the M5 MacBook Pro models that are coming this...
Facebook Feature

Facebook's New iPhone App Feature Turns the Clock Back to 2007

Thursday March 27, 2025 1:59 pm PDT by
In the mid-to-late 2000s, Facebook was all about staying connected with friends and family. However, as the social media platform added new features and grew over time, that core experience began to get drowned out. That changes starting now, according to Meta, which today introduced a new feature that will "bring back the joy" of classic Facebook. Specifically, Meta has redesigned the...
iOS 18

iOS 18.4 Expected Next Week - Here Are the Release Notes

Friday March 28, 2025 2:01 pm PDT by
With the second release candidate of iOS 18.4 that Apple seeded out today, the company finally provided us with release notes that give a full rundown on what to expect. There's an Apple Vision Pro app, new Apple Intelligence features for notifications and additional language support, plus an Apple News Food feature for Apple News+ subscribers, and several updates that should improve the...
iOS 18 4 Ambient Music Control Center

How to Use iOS 18.4's New Ambient Music Feature in Control Center

Thursday March 27, 2025 7:45 am PDT by
The upcoming iOS 18.4 update for the iPhone adds an Ambient Music feature to Control Center. Below, we take a closer look at how it works. iOS 18.4 is currently in beta, so the Ambient Music feature is not widely available yet. The update will likely be released to the general public next week. To use the feature on iOS 18.4, open Control Center and tap on the plus sign in the top-left...
Foldable iPhone 2023 Feature 1

'iPhone Fold' to Feature Metallic Glass Hinge That Resists Deformation

Thursday March 27, 2025 4:21 am PDT by
Last week, we covered a report claiming that Apple's book-style foldable iPhone (or "iPhone Fold," as we are provisionally calling it here) will use liquid metal hinges to improve durability and help minimize screen creasing. Today, a Chinese leaker provided more details on the properties of this hinge material that help to clarify why Apple chose it for its first foldable device. According...
Foldable iPhone 2023 Feature Homescreen

Six Things to Know About Apple's Upcoming Foldable iPhone

Friday March 28, 2025 3:54 pm PDT by
We've been hearing rumors about a foldable iPhone for almost a decade now, but it looks like we might finally see the device come to fruition in 2026. We're going to be waiting many more months for the foldable iPhone, but so far we're hearing good things. Apple wants to make it creaseless. It's taken Apple multiple years to design a foldable iPhone that it's satisfied with because Apple ...
Magic Mouse Green

What to Expect From the Magic Mouse 3

Saturday March 29, 2025 10:15 am PDT by
Apple is reportedly working on a new Magic Mouse. Below, we recap what to expect. The two key rumors for the Magic Mouse 3 so far include a relocated charging port, along with a more ergonomic design. It was briefly rumored that the Magic Mouse 3 would also feature voice control, but that was misinterpreted information. Relocated Charging Port While the Magic Mouse switched from...
Apple Lumon Terminal Pro

Apple's Mac Site Features Fictional 'Lumon Terminal Pro'

Wednesday March 26, 2025 12:19 pm PDT by
Apple is going all out with promotions for the popular Severance Apple TV+ show today, and as of right now, you'll find a new "Lumon Terminal Pro" listed on Apple's Mac site. The Lumon Terminal Pro is designed to look similar to the machines that Severance employees like Mark S. and Helly R. use for macrodata refinement. The Terminal features a blue keyboard, a small display with wide...