Most iPhone users are guilty of opening a new Safari tab every time they search for something, read an article, or click a link from an email. Over weeks and months, you can easily accumulate hundreds of open tabs. Not only does this make the browser incredibly cluttered when you are trying to find something specific, but leaving hundreds of tabs open forces iOS to constantly manage their background memory state, which can subtly drain your battery and slow down performance on older devices. To solve this, Apple introduced a hidden setting in iOS that allows Safari to automatically clean up and close your old, unused tabs on a strict schedule.
How to Enable Automatic Tab Closing
Because this setting controls the fundamental behavior of the Safari app, you will not find it inside the Safari browser itself. You must configure it through the main iPhone Settings application.
- Open the Settings app on your iPhone or iPad.
- Scroll down the list until you find Safari (it will be grouped with other default Apple apps like Mail and Messages). Tap it to open the Safari preferences.
- Scroll down to the “Tabs” section.
- Tap the option labeled Close Tabs. (By default, this is set to “Manually”).
- You will be presented with four options for your automatic schedule:
- Manually: Tabs stay open forever until you physically tap the ‘X’.
- After One Day: Aggressive cleanup; great if you only read the daily news.
- After One Week: A balanced approach for standard web browsing.
- After One Month: The best choice if you tend to leave shopping carts or research articles open for a few weeks before returning to them.
- Tap your preferred schedule. A blue checkmark will appear next to it.
How the Automated Cleanup Works
Once you select a timeframe, you do not need to do anything else. The timer for each individual tab starts ticking from the moment you last viewed it, not from the moment you opened it.
For example, if you set the schedule to “After One Week,” you can open an article on Monday. If you never look at that specific tab again, Safari will silently delete it next Monday. However, if you switch back to that tab on Thursday to re-read a paragraph, the one-week timer resets. This ensures that Safari only deletes the digital clutter you have genuinely forgotten about, while preserving the tabs you are actively using.
Manually Closing All Tabs at Once
If you have hundreds of tabs open right now and you do not want to wait a month for Safari to clean them up, you can manually nuke them all with a single button press.
- Open the Safari app.
- Look at the bottom right corner of the screen for the Tabs icon (the two overlapping squares).
- Tap and hold (long-press) the Tabs icon. Do not just tap it normally.
- A red menu will pop up. Tap Close All [X] Tabs.
- Confirm your choice on the final popup. Safari will instantly wipe your slate clean.