How to Close All Safari Tabs on iPhone Fast in 2026 (iOS 27)

Too many Safari tabs on your iPhone? Close them all in two taps, save the few you need first, set old tabs to close on their own and get back one you lost.

The Merlin team11 min read

To close all Safari tabs on iPhone at once, open the tab overview, then touch and hold Done and tap Close All [number] Tabs. That's Apple's own method in iOS 27, and it works the same in iOS 26. It closes every tab in the group you're looking at, so check you're in the right group first.

The moment usually arrives when the number on the Tabs button stops meaning anything. I hit it on my phone after weeks of opening links from email and never going back to them, and finding the one page I wanted had become a scroll through dozens of thumbnails. This guide covers the two-tap method, where the buttons sit in each Safari layout, how to save the few tabs worth keeping, how to make Safari tidy up for you, and how to get back a tab you closed by mistake. If you also own a Mac, there's a section on closing iPhone tabs from the Mac and a note on how iCloud fits in.

How to close all Safari tabs on iPhone at once

The fastest way to close every Safari tab on iPhone is a long press on the Done button in the tab overview. Apple's iPhone User Guide describes it in one line: touch and hold Done, then tap Close All [number of] Tabs. In iOS 26 and later the Done button can show as a checkmark rather than the word, as iOSHacker notes, but it sits in the same place and does the same thing.

  1. Open Safari.
  2. Open the tab overview: tap the Tabs button (two overlapping squares), or swipe up on the address bar.
  3. Touch and hold Done (the checkmark) in the corner of the screen.
  4. Tap Close All [number] Tabs.
  5. If Safari asks you to confirm, tap Close All Tabs again.

Safari drops you on a fresh start page with one empty tab. Nothing else changes: your history, bookmarks, Reading List and saved passwords stay exactly where they were.

Look at the group name first

Close All only covers the Tab Group on screen, as Apple's iPhone User Guide notes. If you use Tab Groups or Private Browsing, the group name shown in the tab overview tells you which set of tabs is about to go.

Other shortcuts that skip the tab overview

Safari has two quicker routes that save a tap, though which one you see depends on your layout and iOS version.

  • Hold the Tabs button. In the classic layouts, pressing and holding the Tabs button brings up a menu with Close All Tabs, a shortcut MacRumors has described for years. In the iOS 27 Compact layout, holding the Tabs button is used to switch Tab Groups instead, according to Cult of Mac, so use the Done method there.
  • Hold the address bar. In iOS 26, a long press on the address bar opens a menu with Close Tab and Close All Tabs, per iOSHacker, which says it works in all three layouts. Handy when you're on a page and don't want to open the overview at all.

I tried both and came back to holding Done. It's the one Apple documents, and it's in the same spot whatever layout I'm in, which matters when I'm doing it one-handed on a train.

Where the Tabs button is in each Safari layout

Where the Tabs button sits depends on which of the three Safari layouts you use: Compact, Bottom or Top. You choose one in Settings → Apps → Safari, under Tabs, as MacRumors shows. Compact is the default since iOS 26, and it's the one that moves things around the most.

Finding the tab overview in Safari on iPhone

Layout

Where the controls are

Quickest way to the tab overview

Compact (default)

One floating bar at the bottom. In iOS 26, Share, Bookmarks and Tabs sit behind a three-dot button; in iOS 27 that spot became a Tabs button (Cult of Mac)

Swipe up on the address bar, or tap the Tabs button on the bar's right side (iOS 27)

Bottom

Address bar and a full toolbar at the bottom (MacRumors)

Tap the Tabs button in the bottom toolbar

Top

Address bar and controls at the top, like a desktop browser (MacRumors)

Tap the Tabs button in the toolbar

If you can't find a button at all, the swipe-up on the address bar is the one move that has opened the tab overview for years, Cult of Mac points out. Once you're in the overview, the Done button and the hold-to-close step are the same in every layout.

How to close all tabs in a Tab Group or in Private Browsing

Safari treats your regular tabs, each Tab Group and your Private tabs as separate sets, and Close All works on one set at a time. To clear a different set, switch to it first, then hold Done again.

  1. Open the tab overview.
  2. Tap the group name at the bottom center of the screen, or swipe across to the group you want, the switcher Apple's guide points to for moving between Tab Groups.
  3. For Private Browsing, choose the Private group, which is where Apple keeps private tabs.
  4. Touch and hold Done, then tap Close All [number] Tabs.

Private tabs are worth clearing on their own. If you've turned on locked Private Browsing, Apple says those tabs lock when your iPhone locks and need Face ID, Touch ID or your passcode to open, so it's easy to forget there's a pile of them in there. I clear mine when I hand my phone to someone to look something up.

Close one topic's tabs in iOS 27

iOS 27 can sort your open tabs into topics with Apple Intelligence, which lets you close a related bunch without touching the rest. Apple's guide says it needs an iPhone 15 Pro, iPhone 15 Pro Max or iPhone 16 or later. In the tab overview, tap the Organize button and choose Automatically Create Topics. When a topic appears, tap it, tap the More button and choose Close Tabs.

This is the one I'd use after a research binge. When I was choosing a new pair of headphones, I ended up with a cluster of review tabs next to work pages I still needed; closing the topic cleared the shopping and left the rest.

Save the tabs you want before you close everything

The safest habit is to bookmark all open tabs into a folder, then close them. Safari can save every open tab as a bookmarks folder in one step: touch and hold the Bookmarks button (the open book) and save the tabs to a new folder, as MacRumors explains. The option reads Add Bookmarks for [number] Tabs. The Bookmarks button is on screen in the Bottom and Top layouts; in Compact it may be tucked into a menu, as it was in iOS 26. No Bookmarks button in sight? Switch to the Bottom layout in Settings → Apps → Safari for this step, then switch back.

  1. Open any tab in Safari.
  2. Touch and hold the Bookmarks button.
  3. Tap Add Bookmarks for [number] Tabs.
  4. Name the folder (a date works well) and tap Save.
  5. Now hold Done in the tab overview and close everything.

Before a long trip I do exactly this: one folder named for the week, then a clean slate. Most of those folders I never open again, which tells me the tabs didn't need keeping, but the one time I do need a page, it's there.

For one or two pages, a quicker move is to add them to Reading List or simply leave them open and close the rest by hand. Hoarding is fine. Hoarding with no way to find anything isn't.

How to make Safari close old tabs automatically

Safari on iPhone can close tabs for you after a day, a week or a month. Go to Settings → Apps → Safari, tap Close Tabs in the Tabs section, and pick After One Day, After One Week or After One Month instead of Manually. SlashGear's walk-through describes it as closing tabs you haven't viewed in that time, so a page you keep coming back to stays open.

Which auto-close setting to pick

Setting

Good for

Watch out for

Manually (default)

Anyone who keeps tabs open as reminders

The pile only grows

After One Day

Quick lookups: directions, a store's hours, a recipe

A page you meant to finish tomorrow can vanish

After One Week

Most people

Weekly reading can slip through

After One Month

Long research, slow reading

You'll still need a close-all now and then

I keep mine on After One Month. It's long enough that nothing I'm actively using disappears, and short enough that I don't have to think about it. If a tab is gone, it was in my history anyway.

How to reopen a Safari tab you closed by mistake

To get back a tab you just closed on iPhone, open the tab overview and touch and hold the New Tab button (the plus sign), then pick the page from the list of recently closed tabs. That's Apple's documented way, and it's the first thing to try after an accidental Close All.

  1. Open the tab overview.
  2. Touch and hold the + button.
  3. Tap the page you want in Recently Closed Tabs.

I learned this the day I cleared everything and remembered, a second too late, that a delivery tracking page was in there. Holding the plus button brought it straight back. If a page isn't on that list, it's still in your Safari history, since closing a tab doesn't erase where you've been.

Private tabs don't come back

In Private Browsing, Safari doesn't remember the pages you visit, Apple says, so don't count on getting closed private tabs back from your history. Save anything you need before closing that group.

Close iPhone tabs from your Mac with iCloud Tabs

If Safari is turned on in iCloud on both devices, your Mac can see the tabs open on your iPhone and close them. On the Mac, open Safari, click your iPhone under iCloud Tabs in the sidebar, then Control-click a page and choose Close Tab, as Apple's Safari for Mac guide shows. Show the sidebar with the Sidebar button if it's hidden. Tabs in private windows aren't listed.

This works one tab at a time, so it's no replacement for Close All on the phone. Where it helps is the stray page: when I'm at my desk and remember a payment page I left open on my phone, I close it from the Mac without digging my iPhone out of my bag.

It also works the other way. On your iPhone, open a new tab and scroll to the bottom of the start page to see what's open on your other devices; touch and hold a page and choose Close to close it there, per Apple's iCloud Tabs article.

Turn on Safari in iCloud

For iCloud Tabs, your iPhone and Mac have to be signed in with one Apple Account, with Safari switched on in iCloud on each. Apple lists the steps:

  • On iPhone: Settings → your name → iCloud → See All next to Saved to iCloud → turn on Safari.
  • On Mac: Apple menu → System Settings → your name → iCloud → See All next to Saved to iCloud → turn on Safari.

The same switch syncs your Safari bookmarks, so the folder you saved before closing everything shows up on your Mac too. If iCloud sync is giving you trouble in other apps, the fixes in our guides to syncing contacts from iPhone to Mac and Notes not syncing between iPhone and Mac start with the same checks.

Why can't I find Close All Tabs on my iPhone?

When the Close All option doesn't appear, it's usually because you held the wrong button or the menu you opened belongs to a different control. Work through these:

  • You tapped Done instead of holding it. A tap just closes the overview. Keep your finger down until the menu pops up.
  • You held the Tabs button in the iOS 27 Compact layout. That opens Tab Group switching, per Cult of Mac. Open the overview and hold Done instead.
  • You're looking at the wrong group. The count in Close All [number] Tabs only covers the group on screen. Switch to Private or another Tab Group to clear those.
  • You're in a topic, not the full list. With topics turned on in iOS 27, tap the Back button to leave the topic first, or use the topic's own More → Close Tabs (Apple).

Siri is also learning to handle tabs. In the iOS 27.3 beta, MacRumors reports that Siri can sort, move, close and arrange tabs and Tab Groups on Apple Intelligence devices, with the update expected in December. Until then, the hold-Done step is the reliable one.

Keep the tab count down from now on

A few habits stop the pile from coming back, without changing how you browse.

  • Set Close Tabs to After One Week or After One Month so Safari tidies up quietly.
  • Bookmark a batch of tabs into a dated folder before a trip or a big clear-out.
  • Use Tab Groups for ongoing projects, so a close-all in your main tabs never touches them.
  • On iOS 27, turn on Automatically Create Topics and close a topic when you're done with it (Apple).
  • If you mainly keep tabs open to read later, a summary can replace the tab; our guide on summarizing text on a Mac covers the built-in ways on the Mac side.

I don't aim for zero tabs. A handful of pages I'm actually using is fine; what I want to avoid is the morning I can't find the one that matters. Close everything now, set the auto-close timer, and the problem mostly stops being one.

Frequently asked questions

How do I close all tabs on Safari on iPhone at once?

Open the tab overview (tap the Tabs button or swipe up on the address bar), touch and hold Done, then tap Close All [number] Tabs. Apple documents this in its iPhone User Guide.

Does closing all Safari tabs delete my history?

No. Closing tabs only closes the pages; your browsing history, bookmarks, Reading List and saved passwords stay. Clearing history is a separate setting.

Can I get back tabs I closed by accident?

Yes, for regular tabs. In the tab overview, touch and hold the + button and choose from Recently Closed Tabs, as Apple describes. Private tabs aren't saved to your history, so save anything important before closing them.

Can Safari close tabs automatically on iPhone?

Yes. Go to Settings → Apps → Safari → Close Tabs and choose After One Day, After One Week or After One Month. Tabs you haven't viewed in that time close on their own.

Why does Close All Tabs leave some tabs open?

Close All only covers the Tab Group you're viewing. Tabs in Private Browsing or another Tab Group stay open until you switch to that group and close them there.

Can I close my iPhone's Safari tabs from my Mac?

One at a time, yes. With Safari on in iCloud on both devices, click your iPhone under iCloud Tabs in Safari's sidebar on the Mac, Control-click a page and choose Close Tab (Apple).

you scrolled all the way down here

your next free moment starts in three minutes

getting started takes three minutes. sign in, and i'm on your to-dos, starting with who's waiting on you

you decide what comes after

Download for Mac Free forever. No credit card.