To delete cookies on an iPhone, open Settings, tap Apps, tap Safari, then tap Advanced > Website Data > Remove All Website Data and confirm with Remove Now. That removes Safari’s cookies and cached site files while leaving your browsing history alone. If you would rather wipe history and cookies in one pass, use Clear History and Website Data on the main Safari settings screen instead.
These steps are written for iOS 27, the current iPhone software. If your Settings app has no Apps row, your iPhone is running an older version, and Safari appears directly in the main Settings list; the rest of each path is the same. Chrome, Firefox and other browsers keep their own cookies, so they are covered in their own section further down.
What Safari actually removes
A few terms show up on these screens, and knowing them makes it easier to pick the right button:
- Cookies are small pieces of data a website saves on your iPhone so it can recognize you later. They are what keep you signed in to a shopping site or remember that you picked dark mode on a news site.
- Website data is Apple’s umbrella term. It covers cookies plus other files sites store, such as cached images and offline data.
- Cache means copies of page files kept so pages open faster next time. Clearing it is harmless, but the first visit afterward may load a little slower.
- History is the list of pages you visited. It is separate from cookies, which is why Safari offers one button that keeps it and one that clears it. Closing tabs is separate again, and you can clear every open Safari tab without touching your history or bookmarks.
None of these options touch your photos, apps, downloads, bookmarks or the passwords saved in the Passwords app. Apple notes that clearing Safari data does not change your AutoFill information.
Pick the Safari option that matches your goal
- A single site is acting up (a login loop, an old version of a page, a cart that will not update): remove that one site’s data and leave everything else signed in.
- You want a clean slate for cookies but like your history, for example because you rely on it to find pages again: use Remove All Website Data.
- You are handing the phone to someone else, or want no trace of recent browsing: use Clear History and Website Data, which lets you choose a time range.
- You never want cookies saved: turn on Block All Cookies, but read the warning in that section first, because many sites stop working.
Method 1: Remove all Safari cookies and keep your history
Every site you are signed in to in Safari will sign you out after this. Make sure you know the passwords for important accounts (or have them saved in the Passwords app) before you start.
- Open the Settings app and tap Apps.
- Scroll to Safari and tap it.
- Scroll to the bottom and tap Advanced.
- Tap Website Data. A list of sites appears, with the space their stored data uses.

- Tap Remove All Website Data below the list.
- Tap Remove Now. The list empties, and your history stays as it was.
Method 2: Delete cookies for one website
This is the gentlest fix when only one site misbehaves, because every other site keeps you signed in. Apple’s support pages document the Website Data screen but not the individual delete gesture, so treat the exact gesture below as a guide if your screen looks slightly different.
- Go to Settings > Apps > Safari > Advanced > Website Data.
- If the site is not listed, tap Show All Sites at the bottom, or type part of its name in the search field at the top.
- Swipe left on the site’s name and tap Delete. You can also tap Edit, tap the red minus button next to one or more sites, then tap Delete.

- Open Safari and load the site again. Expect to sign in again on that site only.
Sites often store data under more than one domain (for example, a main site plus a separate sign-in domain). If the problem continues, search Website Data for the company name and remove each related entry.
Method 3: Clear history, cache and cookies together
Use this when you want the browsing record gone as well. It also removes permissions you gave websites, such as access to your location or permission to send notifications, so sites will ask again.
From the Settings app
- Open Settings, tap Apps, then tap Safari.
- Tap Clear History and Website Data.
- Choose how far back to clear (for example, the last hour or all history). If you use Safari profiles, choose one profile or All Profiles.

- Tap Clear History to confirm.
From inside Safari
- Open Safari and go to your Start Page (or open a new tab to get one).
- Tap the History button. If your tab bar is set to the Top or Bottom layout, the button sits in a slightly different spot, so look for the clock icon.
- Tap the More button if you see one, then tap Clear History. Choose a time frame and, if asked, a profile.
- Tap Clear History again to confirm.
Want to delete only a few pages from your history and leave cookies alone? From the History view, tap the More button, tap Select Websites, choose the pages, then tap the Trash button. Safari is also not the only place your iPhone keeps a record of searches; Siri, Maps and the App Store have their own, and the walkthrough on clearing iPhone search history covers each of them.
Stop Safari from saving cookies
Turning this on deletes every existing cookie right away, and many sites will refuse to sign you in afterward, even with the correct password. You may also see messages saying cookies are required or that your browser has cookies turned off.
- Go to Settings > Apps > Safari > Advanced.
- Turn on Block All Cookies.
- Tap Block All. Safari quits and reloads your open tabs.

For most people a better balance is to leave cookies on and clear them now and then, or to use Private Browsing for sessions you do not want remembered. To reverse the block later, follow the same path and turn the switch off; the walkthrough on turning cookies back on for iPhone browsers explains what changes in Safari, Chrome and other apps when you do.
Delete cookies in Chrome or Firefox on iPhone
Safari’s settings have no effect on other browsers. Each app has its own clearing screen, and the labels can shift between app updates, so look for wording close to what is shown here. For Firefox, removing your Firefox history on iPhone starts from the menu button and its History panel.
Chrome
- Open Chrome and tap the More button (three dots).
- Tap Delete Browsing Data (older versions say Clear Browsing Data). It may also be under Settings > Privacy and Security.
- Pick a time range, select Cookies, Site Data, and clear the other boxes you want to keep.
- Tap the delete button and confirm.
Firefox
- Open Firefox, tap the menu button (three lines), then tap Settings.
- Under Privacy, tap Data Management.
- Make sure Cookies is turned on, along with any other data types you want gone.
- Tap Clear Private Data and confirm. To remove one site only, tap Website Data on the same screen and pick the site.
What you’ll be signed out of, and what stays
Clearing cookies signs you out of websites you used in that browser: webmail opened in Safari, online banking in Safari, shopping and streaming sites, and forums. Sites will also forget preferences such as language, region and accepted cookie banners, so expect those pop-ups again.
Several things are not affected:
- Apps are separate. If you use the Gmail, Amazon or bank app, you stay signed in there.
- Your Apple Account, iCloud and iMessage stay signed in, because they live in Settings, not in Safari’s cookies.
- Saved passwords, passkeys, bookmarks and Reading List items remain. In Chrome, any page you add to your Chrome bookmarks also stays saved after you delete browsing data.
- Files and photos stored in iCloud are untouched. You can confirm that by checking iCloud in Settings, or you can open iCloud.com in Safari and sign in again after clearing.
Clearing Safari data also does not erase records a website keeps on its own servers, such as your order history on a store’s site.
When the button is gray or the data comes back
- Remove All Website Data or Clear History and Website Data is gray. Either there is nothing to clear, or Screen Time web content restrictions are on. Check Settings > Screen Time > Content & Privacy Restrictions. On a child’s iPhone or a work phone, a parent or administrator may control this, so ask them.
- The Website Data list fills up again quickly. That is normal. Every site you visit saves fresh data. Clearing is a one-time cleanup, not a permanent setting.
- A site still shows old content after clearing. Close the tab, open the site in a new tab, and if that fails, restart the iPhone. Apple’s tips for Safari not loading websites also cover network and JavaScript checks.
- You wanted to free up storage. Website data is usually small next to photos, videos and apps. iPhone Storage in Settings shows where space really goes.
Checking the result and undoing it
Go back to Settings > Apps > Safari > Advanced > Website Data. After Method 1 the list should be empty or nearly so (a site you open in the meantime will reappear). After Method 2, the site you removed should be gone from the list. Opening a site you were signed in to should show its sign-in page.
Deleted cookies cannot be restored. To get back to where you were, sign in to each site again; saved passwords from the Passwords app will fill in when you tap the username field. If you turned on Block All Cookies, turn it off under Advanced before signing in.
Questions about iPhone cookies
Does Private Browsing keep cookies?
Private tabs do not appear in your History and are not shared with your other Apple devices, which makes them useful for one-off sessions, like checking a friend’s account on your phone. Apple’s private browsing guide explains the details, including how Private Browsing locks with Face ID or your passcode.
Will clearing cookies stop ads from following me?
It removes the tracking cookies currently stored, but new ones arrive as you browse. Safari already limits cross-site trackers by default, and the Privacy Report (tap the page menu, then Privacy & Security) shows what it has blocked on the current page.
How often should I clear cookies?
There is no required schedule. Clear one site’s data when it misbehaves, and clear everything when you share or sell the phone or want a fresh start. Clearing often mainly means signing in more often.
Why do websites ask for my location again?
Clear History and Website Data also removes the permissions you granted sites, such as location access or notifications. The next visit triggers a fresh prompt, so tap Allow only for sites you trust, like a store locator or a weather site.
For the full list of Safari clearing options straight from Apple, see Delete your Safari history, cache, and cookies on iPhone. Once the cleanup is done, sign back in to the two or three sites you use most so they are ready when you need them.
You must be logged in to post a comment.