TechBuzzPro

How to Close All Safari Tabs at Once

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can close all open Safari tabs at once on iPhone and iPad by long-pressing the tab button (the overlapping squares icon) and choosing “Close All Tabs” from the menu that appears. On a Mac, the quickest way is to press Option-Command-W, which closes every tab in the current window except the active one, then close that last tab with Command-W. Safari on Mac also has a “Close Other Tabs” option when you right-click a tab, which leaves only that tab open. There is no single built-in “close every tab in every window” button on Mac, so the steps below cover the practical methods for each device. Menu labels can differ slightly by Safari version, device and region, so if a label does not match exactly, look for the closest wording.

What You'll Need

  • An iPhone, iPad or Mac with Safari installed and updated to a current version.
  • Your device unlocked and Safari open.
  • No additional apps or tools are required.

Step-by-Step

On iPhone and iPad

  1. Open Safari.
  2. Tap the tab button in the bottom-right corner (on most iPhone models) or the top-right corner (on iPad). It looks like two overlapping squares and shows the number of open tabs.
  3. Touch and hold the tab button until a menu appears. Do not just tap it once; a single tap opens the tab grid.
  4. In the menu, tap “Close All Tabs”. If you are in the tab grid instead, you can also tap “Done” or the X on each tab, but the long-press menu is faster.
  5. Confirm if Safari asks you to. The tabs close and you are left with a single blank start page.

If you are already in the tab grid, you can tap “Edit” (or the “...” button) and then “Close All Tabs” where that option is shown. The exact position of these controls varies slightly between iOS and iPadOS versions.

On Mac

  1. Open Safari and make sure the window you want to clear is active.
  2. Press Option-Command-W. This closes all tabs in the current window except the one you are viewing.
  3. Press Command-W to close the remaining tab. The window itself stays open with a blank page, or closes if it was the last window.
  4. Repeat for any other Safari windows you have open. Safari does not have a single menu command that closes tabs across all windows at once.

Alternative for a single window: right-click (or Control-click) any tab in the tab bar and choose “Close Other Tabs”. This leaves only the tab you clicked. To close tabs to the right of the current one, choose “Close Tabs to the Right” from the same menu.

Common Mistakes

  • Tapping instead of long-pressing on iPhone. A quick tap opens the tab grid rather than the close-all menu. Hold the tab button for about a second.
  • Expecting Option-Command-W to close every window on Mac. It only affects the current window. Other windows keep their tabs.
  • Confusing “Close Other Tabs” with “Close All Tabs”. “Close Other Tabs” keeps the tab you right-clicked open; it does not clear everything.
  • Closing tabs you still need. Safari does not offer a simple “undo close all” for a whole set, so check before confirming. Individual tabs can often be reopened from History, but a bulk close is harder to reverse.
  • Looking for the feature in Private Browsing when tabs are managed separately. Private tabs are closed from within the Private tab group; the same long-press or menu methods apply, but they do not affect normal tabs.

Tips

  • On iPhone and iPad, you can close all tabs in a specific Tab Group without touching other groups: open the tab grid, switch to the group, then use the long-press menu or the group’s edit options.
  • If you only want to clear older tabs, use the tab grid to review them first; Safari shows a preview of each page, which helps you avoid closing something important.
  • On Mac, the Window menu lists open windows, making it easier to work through them one by one when clearing tabs.
  • Closing tabs does not delete your browsing history. If you also want to clear history and website data, use Safari’s settings; note that this removes cookies and sign-in sessions for sites.
  • Regularly closing tabs can reduce memory use on older devices and make the tab bar easier to navigate.

Troubleshooting

  • The “Close All Tabs” option is missing. Make sure you are long-pressing the tab button, not tapping it. If you are in the tab grid, look for an “Edit” or “...” control. On Mac, the option appears only in the right-click menu on a tab, not in the main menu bar.
  • Safari is unresponsive. Force-quit Safari and reopen it. On iPhone, swipe up from the bottom and swipe Safari away; on Mac, press Option-Command-Esc, select Safari and choose Force Quit. Unsaved form data in open tabs may be lost.
  • Some tabs will not close. A page that is still loading or a tab playing media can sometimes resist closing. Wait for the page to finish, stop the media, then try again.
  • You closed tabs by accident. Open History and look for recently visited pages; tapping them reopens them as new tabs. There is no single restore-all button for a bulk close, so you may need to reopen pages individually.
  • The tab count does not match what you see. Safari may be showing a Tab Group or Private tabs. Switch groups in the tab grid to check what is actually open.

Frequently Asked Questions

Can I close all Safari tabs at once on iPhone?

Yes. Long-press the tab button and choose “Close All Tabs”. This closes all tabs in the current tab group, including Private tabs if you are viewing that group.

Is there a keyboard shortcut to close all tabs on Mac?

Option-Command-W closes all tabs in the current window except the active one. There is no built-in shortcut that closes every tab in every Safari window at once.

Does closing all tabs delete my history?

No. Closing tabs only removes the open pages. Browsing history remains until you clear it separately in Safari settings.

Can I close all tabs in a Private Browsing session separately?

Yes. Private tabs are kept in their own group. Open the tab grid, switch to Private, then use the same close-all method. Normal tabs are not affected.

What happens to tabs synced from other devices?

If you use iCloud Tabs, closing tabs on one device does not automatically close them on another. Each device manages its own open tabs.

Can I undo closing all tabs?

There is no single undo for a bulk close. You can reopen individual pages from History, but the full set is not restored in one step.