How to Clear Recently Closed Tabs in Safari
In this article
Yes, you can clear your recently closed tabs list in Safari, although the method varies depending on whether you are using a Mac, an iPhone, or an iPad. While there is no single "Clear All" button specifically for the recently closed tabs menu, clearing your entire browsing history effectively wipes this list across all synced devices.
How the Recently Closed Tabs List Works
Safari maintains a temporary log of tabs you have closed during your current session or recent sessions. This feature is designed as a safety net, allowing users to recover a page they accidentally closed without having to search through their entire history or re-type a complex URL. On macOS, this list is accessible via the History menu or by clicking and holding the "+" button in the tab bar. On iOS and iPadOS, it is accessed by holding the "+" button in the tab switcher view.
It is important to understand that the "Recently Closed Tabs" list is a subset of your overall browsing history. It is not a separate database, but rather a filtered view of the most recent entries in your history file. Because of this architectural link, any action that deletes history entries will simultaneously remove those entries from the recently closed tabs list. If you use iCloud syncing, closing a tab on your iPhone may still show it as a recently closed tab on your Mac if the sync has not yet updated or if the session persists.
Methods to Clear the List on macOS
On a Mac, you have several options depending on whether you want to remove a single entry or wipe the entire record. Because the list is tied to history, the most comprehensive way to clear it is through the history management tools.
- Clear All History: Open Safari, click on the "History" menu in the top menu bar, and select "Clear History..." You will be prompted to choose a timeframe (e.g., the last hour, today, today and yesterday, or all history). Selecting any of these will remove the corresponding tabs from the recently closed list.
- Selective Deletion: If you only want to remove specific tabs without wiping your entire history, go to History > Show All History. From here, you can find the specific pages you closed and delete them individually by right-clicking the entry and selecting "Delete."
- Restarting the Session: While not a permanent deletion of history, restarting the browser or the computer can sometimes refresh the temporary session cache, though the history-based list usually persists until the history itself is cleared.
Clearing the List on iPhone and iPad
Mobile versions of Safari handle tab management differently. The "Recently Closed Tabs" feature is accessed by long-pressing the "+" icon in the tab overview screen. To clear this list, you must address the history settings within the system app settings.
- Using Settings: Navigate to the main Settings app on your iOS device. Scroll down to find "Safari." Within the Safari settings menu, locate the option labeled "Clear History and Website Data."
- Choosing the Timeframe: Modern iOS versions allow you to select a specific time range. To ensure the recently closed tabs list is completely empty, choose "All History."
- Confirming the Action: Once you confirm, Safari will remove the history, cookies, and cache from the device and all other devices signed into the same iCloud account. This is the only way to fully reset the recently closed tabs list on mobile.
Private Browsing as an Alternative
If you frequently find yourself needing to clear your recently closed tabs for privacy reasons, the most efficient solution is to use Private Browsing mode. When you open a Private window or tab, Safari does not record the pages you visit in the history log.
- No History Log: Because no history is recorded, no entries are added to the "Recently Closed Tabs" list. Once a private tab is closed, it is gone permanently and cannot be recovered via the history menu.
- Session Isolation: Private browsing prevents the browser from remembering your search history or the pages you've visited, meaning you will never have to manually clear the recently closed list after a private session.
- Activation: On Mac, use Command+Shift+N.
Common Problems and Misconceptions
A common point of confusion is the difference between "Closing a Tab" and "Closing a Window." If you close an entire window containing multiple tabs, those tabs are grouped together in the recently closed list. On a Mac, you can often restore the entire window at once, which may feel like the list is behaving differently than when you close single tabs.
Another misconception is that clearing the cache or cookies will clear the recently closed tabs list. While clearing "Website Data" removes stored logins and site preferences, it does not remove the URL history. To clear the recently closed list, you must specifically target the "History" portion of the browser settings. If you find that tabs are reappearing after you have cleared them, it is likely due to iCloud syncing. If one device has not synced the "delete" command, it may push the history back to your other devices.
Comparing Safari to Other Browsers
Safari's approach to recently closed tabs is more integrated with the global history than some other popular browsers. For example, some browsers offer a dedicated "Close all tabs" or "Clear recent" button that doesn't necessarily wipe the entire history for the last hour. Safari's tie-in with the history file means that the action is binary: either the history exists, or it doesn't.
In contrast, some browsers allow you to manage "Session Restore" settings separately from "Browsing History." Safari treats the session state as a part of the history record. This means that for users who want to keep their long-term history but clear only the last few closed tabs, Safari requires a more manual approach—deleting individual entries from the history manager rather than using a single-click clear button for the closed tabs list specifically.
Frequently Asked Questions
Can I recover a tab if I clear my history?
No. Once you clear your browsing history, the data used to populate the recently closed tabs list is deleted. There is no "undo" button for clearing history, and those tabs cannot be recovered through Safari's built-in tools.
Does closing a tab in Private Browsing add it to the list?
No, tabs closed while in Private Browsing mode are never added to the recently closed tabs list or the general history. They are permanently discarded the moment the tab or window is closed.
Will clearing history on my iPhone also clear it on my Mac?
Yes, provided that both devices are signed into the same iCloud account and have "Safari" enabled in the iCloud syncing settings. The history is synchronized across the ecosystem.
Why are some tabs still showing in the list after I closed them?
This usually happens if you have multiple windows open. Safari tracks closed tabs per session. If you close a tab in one window but keep another window open, the tab enters the "Recently Closed" state. It only disappears once the list reaches its maximum capacity or the history is cleared.
Is there a keyboard shortcut to reopen a recently closed tab?
On macOS, you can use Command+Shift+T to quickly reopen the last closed tab. This is the fastest way to navigate the recently closed list without opening the History menu.