To clear the Safari cache on an iPhone, open Settings, tap Apps, tap Safari, then tap Clear History and Website Data. Pick a timeframe and tap Clear History. That one action removes Safari’s cached files, cookies and browsing history for the period you chose. If you want to keep your history and remove only the stored website files, use Advanced > Website Data instead (both routes are covered below).
These instructions are written for iOS 27, the current iPhone software. The same Settings path applies to iOS 18 and iOS 26. On iOS 17 and earlier, Safari sits directly in the main Settings list rather than under Apps, and there is a separate section for those versions. If you use Chrome, Firefox, Edge or another browser, Safari’s controls do not touch that browser’s cache, so there is a section for third-party browsers too.
What Safari actually stores (and what clearing removes)
A few terms come up in Safari’s menus, and they are not interchangeable:
- Cache: copies of images, scripts and other page files that Safari saves so a site loads faster the next time you visit. If a saved copy goes stale, a page can look broken or show old information.
- Cookies: small pieces of data a website places on your iPhone to remember you, such as the fact that you are signed in or what is in a shopping cart.
- Website data: Safari’s umbrella term for cookies, cached files and other site storage. Apple notes that removing it clears data used for tracking and data websites use to keep you signed in.
- History: the list of pages you visited and your recent searches.
Clearing history and website data together also removes permissions you gave websites, such as access to your location or permission to send you notifications. Apple also points out that it does not erase any history a website keeps on its own servers, or history stored by other apps.
Check these points before you clear anything
- You will probably be signed out of websites. Signing in again is easy if your passwords are saved, but confirm you know the password (or have it saved) for any site that matters, such as your bank or email. Saved passwords and passkeys live in Apple’s Passwords app and are not deleted by this process.
- AutoFill stays put. Apple states that clearing history and website data does not change your AutoFill information, so saved contact details and cards remain.
- History can disappear from your other devices. If Safari is turned on in iCloud, your browsing history syncs across your Apple devices, and clearing it on one device removes it from the others signed in to the same Apple Account.
- Safari profiles are handled separately. If you have set up profiles (for example, a Work profile and a Personal profile), you can clear one profile or all of them.
- Try the smallest fix first. If only one page is misbehaving, reload it or close the tab and open the page again. If that fails, clearing data for that one site (described below) is less disruptive than wiping everything.
Clear Safari’s cache, cookies and history in Settings
This is the most complete option. It suits you if pages across many sites are acting up, or you want a clean slate for privacy. Apple describes the same controls in its support article on deleting Safari history, cache and cookies on iPhone.
- Open the Settings app. It is the gray gear icon on your Home Screen or in App Library.
- Tap Apps. Scroll toward the bottom of the main Settings list to find it. Apps holds the settings for individual apps, including Mail, Messages and Safari.
- Tap Safari. The Safari settings screen opens, with privacy controls further down.
- Scroll down and tap Clear History and Website Data. A panel opens with timeframe choices.

- Choose how much to clear. Pick a short window, such as the last hour, if you only want to undo recent browsing, or choose all history for a full reset. If you use Safari profiles, choose a single profile or All Profiles.

- Tap Clear History. Safari removes the history, cookies and cached files for the period you chose. The next time you open a site, Safari downloads fresh copies of its files, so the first visit may load a little slower than usual.
Clear the cache but keep your browsing history
Choose this route when you want to fix loading problems or remove cookies but would rather not lose the list of sites you have visited. It removes all stored website data at once.
Heads up: this signs you out of websites that used a cookie to remember you, and it cannot be undone. Make sure you can sign back in to important accounts before you continue.
- Go to Settings > Apps > Safari.
- Scroll to the bottom and tap Advanced.
- Tap Website Data. You will see a list of sites that have stored data on your iPhone.
- Tap Remove All Website Data.

- Tap Remove Now to confirm. Your history stays intact, but cached files and cookies are gone.
Remove stored data for just one website
If a single site, say a store or a school portal, keeps showing an old version or will not let you sign in, you can target only that site. On the Website Data screen, use the search field to find the site, swipe left on its name, then tap Delete. Every other site keeps its cookies, so you stay signed in everywhere else. Reopen the problem site afterward and sign in again.
Clear history from inside the Safari app
The iPhone User Guide’s cache and cookies page also shows how to clear history without leaving Safari. Use this when you are already browsing and want a quick reset; the result matches the Settings method, including the removal of cookies and cache for the timeframe you choose.
- Open Safari and go to a start page. If you are on a website, tap the Tabs button, then tap the Add button (the plus sign) to open a new start page.
- Tap the Show Bookmarks button (it looks like an open book).
- Tap the History button (the clock).
- Tap the More button (three dots), then tap Clear History.

- Under Clear Timeframe, pick how far back to go. If you use profiles, choose one profile or All Profiles.
- Tap Clear History.
Which method should you use?
- Many sites look broken, or you want maximum privacy: Clear History and Website Data in Settings.
- Pages misbehave but you want to keep your history: Advanced > Website Data > Remove All Website Data.
- Only one site is a problem: delete that site from the Website Data list.
- You just want to erase the last hour or day of browsing: the in-Safari History screen is the quickest. That screen also lets you remove single sites from Safari history with Select Websites instead of clearing a whole timeframe.
If what you really want is to stop Safari from keeping a record in the first place, Private Browsing is a better fit. Pages you open in private tabs do not appear in your History or in the tab list on your other devices. You can learn more in this walkthrough on deleting your browsing history on iPhone, which focuses on history rather than cache.
On iOS 17 or earlier
Before iOS 18, Safari had its own entry in the main Settings list. If you do not see an Apps option in Settings, your iPhone is on one of these older versions. Check under Settings > General > About to see which version you have.
- Open Settings and tap Safari (you will find it in the main list, grouped with the other Apple apps).
- Tap Clear History and Website Data.
- Choose a timeframe if one is offered, then confirm.
To keep your history on these versions, go to Settings > Safari > Advanced > Website Data and tap Remove All Website Data. Inside Safari on iOS 17, open the bookmarks view, switch to History, and tap Clear.
Clearing the cache in Chrome, Firefox, Edge and other browsers
Every browser on an iPhone keeps its own cache, cookies and history. Clearing Safari leaves them untouched, and clearing Chrome leaves Safari untouched. If a problem only happens in one browser, clean up that browser.
The exact wording is controlled by each browser’s developer and changes with app updates, so treat the following as a map rather than exact labels:
- Google Chrome: open Chrome, tap the three-dot menu, and look for an option to clear or delete browsing data (it is reachable from History or from Settings > Privacy and Security). Select cached images and files, add cookies only if you also want to be signed out, choose a time range, and confirm.
- Firefox: open the menu, go to Settings, then look for Data Management. Turn on the cache item (and any others you want gone), then clear the private data.
- Microsoft Edge and other browsers: look in the browser’s settings for a privacy section with an option to clear browsing data, and select the cached files option.
If you cannot find the option, check the browser’s own help pages. Deleting and reinstalling a third-party browser also removes its cache, but it signs you out of the browser and can erase its local bookmarks unless they sync to an account. In Firefox, signing in to a Mozilla account with bookmark syncing on means you can get your Firefox bookmarks back after reinstalling.
If the button is gray or the option is missing
- There is nothing to clear. Apple notes that Clear History and Website Data and Remove All Website Data appear gray when there is no data. Browse to a site, then check again.
- Screen Time restrictions are on. A gray button can also mean web content limits are set in Screen Time. Go to Settings > Screen Time > Content & Privacy Restrictions and review the settings (Apple explains these controls in its guide to blocking content with Screen Time). If this is a child’s iPhone managed through Family Sharing, the parent or guardian who set up Screen Time may need to change it.
- A work or school profile manages the iPhone. An organization can limit Safari settings on devices it manages. Look under Settings > General for device management details, and ask that organization’s IT team if the control is locked.
- You cannot find Safari in Settings. On iOS 18 and later it is under Apps, not the main list. You can also type Safari into the search field at the top of Settings.
- Safari is missing from your iPhone entirely. It may have been hidden or restricted. A separate guide explains how to get Safari back on iPhone before you can clear its data.
How to tell it worked, and what you can and cannot undo
After clearing, a few signs confirm the job is done:
- Open Safari’s History screen. If you cleared all history, it is empty; if you chose a shorter timeframe, entries from that period are gone.
- Go to Settings > Apps > Safari > Advanced > Website Data. After Remove All Website Data, the list should be empty or show only sites you have visited since.
- Sites that used to remember you ask you to sign in again, and sites that had location or notification permission ask for it again.
There is no undo button. Deleted history, cookies and cache do not come back, and history synced through iCloud is also removed from your other devices. What you can do is restore the parts you care about: sign back in to sites (Safari can fill in passwords saved in the Passwords app), allow location or notifications again when a site asks, and reset any site preferences such as language or dark mode. Your bookmarks, Reading List, saved passwords and AutoFill details are not affected.
If pages still fail to load after a full clear, the cause is probably elsewhere. Restart your iPhone, try a different Wi-Fi network or cellular data, and check Settings > General > Software Update for an iOS update.
Common questions about clearing Safari’s cache
Will clearing the cache make my iPhone faster or free up a lot of storage?
Usually not by much. Safari’s cache helps pages load quickly, and iOS manages temporary files on its own. Clearing it is a fix for pages that display incorrectly, sign-in loops and privacy, not a general speed boost. If your iPhone is low on space, larger items such as photos, videos, messages and unused apps make a bigger difference; these tips on freeing up storage on iPhone cover those. When the space is tied up in System Data rather than your own files, reducing System Data on iPhone lists the safest fixes to try first.
Does clearing Safari also clear the cache in other apps?
No. Apps like Instagram, Spotify or a news app keep their own stored files, and iOS has no single button that clears all of them. For app data, the options are an app’s own settings, offloading the app, or deleting and reinstalling it, all explained in this rundown of clearing cache for apps on iPhone.
Can I clear Safari’s cache without being signed out of everything?
Only partly. Cookies are what keep you signed in, and both main methods remove them. To limit the damage, delete stored data for the one problem site from the Website Data list, which leaves your sign-ins on other sites in place.
How often should I do this?
There is no schedule you need to follow. Clear Safari’s data when something is wrong, such as a page that will not update or a site that will not let you sign in, or when you want to remove traces of browsing on a shared iPhone. Clearing it regularly mostly means signing in again more often.
Does Private Browsing need its cache cleared?
Private tabs are kept out of your History and are not shared with your other Apple devices, so there is less to clean up. If you have a passcode set, Private Browsing also locks when you are not using it, which helps when someone else borrows your phone.
Next step: if a site still misbehaves after clearing its data, open it in a private tab. If it works there, the problem was stored data or an extension in your regular browsing; if it still fails in private mode, the issue is likely with the website itself or your network connection.
You must be logged in to post a comment.