Safari on iPhone and iPad builds up history, cookies, and cached files with every page you open. Left alone, that stored data piles up until pages feel slow or anyone holding your device can see where you have been.
One screen in Settings wipes all three: Apps → Safari → Clear History and Website Data. Want to stay signed in? Clear only cookies and cache from the Advanced menu, or remove history alone from inside Safari.
In this guide, I have covered:
Contents
Clear History, Cookies, and Cache from Safari Settings
You want a clean slate on your iPhone or iPad: no history, no cookies, no cached files. Safari keeps all three in one place, and a single screen in Settings wipes them together.
- Open the Settings app on your iPhone or iPad.
- Scroll down and tap Apps. On iOS 17 and earlier, Safari sat directly on the main Settings list, so you can skip this step.
- Scroll to and tap Safari.
- Tap Clear History and Website Data.
- Pick a timeframe: Last Hour, Today, Today & Yesterday, or All History.
- (Optional) Turn on Close All Tabs if you want Safari to close every open tab in the same pass.
- Tap Clear History and Data to confirm.
History, cookies, and cached files disappear in one pass. The catch: any site that kept you signed in with a cookie will ask for your password again.
Clear Cookies and Cache Only (Keep Browsing History)
You want to sign out of every site and refresh cached files, but you would rather not lose the record of where you have been. The Advanced pane has a separate Website Data screen for exactly that.
- Open the Settings app.
- Tap Apps, then tap Safari.
- Scroll to the bottom and tap Advanced.
- Tap Website Data.
- Tap Remove All Website Data at the bottom.
- Tap Remove Now to confirm.
Every cookie and cached file is flushed across all sites. Browsing history stays exactly where it was. You’ll know it worked when the sites that used to remember you start asking for a sign-in.
TIP: Only need one site gone? Swipe left on its entry in the Website Data list and tap Delete. Every other site keeps its data.
If you want to see how much space each site is holding before you wipe it, our guide to viewing and clearing site storage in Safari on iPhone and iPad breaks down the list.
Clear Browsing History from Inside the Safari App
Sometimes history is the only thing you want gone. The in-app route through the
menu removes it without touching cookies or cache, so you stay signed in everywhere else.
- Open Safari on your iPhone or iPad.
- Tap the
menu at the bottom-right of the toolbar. - Tap Bookmarks.
- Tap the history
tab at the top. - Tap Clear at the bottom of the page.
- Pick the timeframe you want to remove.
History is removed. Cookies and cached files stay where they were, which means your usual sites keep you logged in.
Cleared more than you meant to? History is also where Safari stores recently closed tabs, so you can often get a tab back. Our guide to reopening recently closed tabs in Safari on iPhone and iPad covers the steps.
Other Safari Settings Worth Knowing
Clearing data solves today’s problem. A few settings nearby decide how much Safari collects in the first place, and one of them shows what it has already blocked.
Under Apps → Safari → Advanced, the Block All Cookies switch stops Safari from accepting new cookies from any site. Plenty of sign-in flows break when it is on, so leave it off unless you have a specific reason. For a closer look at how cookies work in Safari, see our guide to blocking or allowing cookies in Safari on iPhone and iPad.
To see the trackers Safari stopped in the last 30 days, open Safari, tap the
menu, and tap Privacy Report. For the rest of the privacy controls, including tracking protection, secure connections, and fraud warnings, see the full Safari privacy and security settings guide for iPhone and iPad.
If you also browse on a Mac, you can clear the same stored data from Safari on your Mac so both devices start from the same clean state.
Frequently Asked Questions
These come up most often once you start clearing Safari data on an iPhone or iPad.
Does clearing browsing data also close my Safari tabs?
Only if you ask it to. The confirmation screen carries a Close All Tabs switch, added in iOS 26. Leave it off and your tabs stay open. Turn it on and Safari starts a fresh session in the same pass.
Why is Safari under Apps in Settings now?
Apple reorganized the Settings app in iOS 18. Every built-in app now sits under the Apps category. The Safari options themselves did not change, only the path to reach them.
What is the difference between Clear History and Website Data and Remove All Website Data?
Clear History and Website Data removes history, cookies, and cache in one pass. Remove All Website Data, under Apps → Safari → Advanced → Website Data, keeps your history but wipes cookies and cached files only.
Can I clear the cache for a single site?
Yes. Go to Apps → Safari → Advanced → Website Data, swipe left on a site entry, and tap Delete. That site’s data goes, and every other site keeps its own.
Will clearing browsing data make Safari faster?
Often, yes, especially if Safari has been sluggish after months of cached files. The first reload after clearing feels slower while sites fetch their assets from scratch. That settles down once the cache rebuilds.

I am unable to use safari, I am unable to save video clips on YouTube, none of the suggestions made has any effect at all, nothing works .. Error 400, malformed or illegal request .. cannot be fixed
Beware because this will delete all your opened tabs! Bookmark them before.