• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WebPhoneTech

How-to Guides for Your iPhone

  • All iPhone guides
  • Safari
  • Chrome & Firefox
    • Chrome
    • Firefox
    • Edge
  • Default apps
  • Security
  • About
You are here: Home / iPhone / How to Clear Cookies on iPhone and Fix Problem Websites

How to Clear Cookies on iPhone and Fix Problem Websites

May 14, 2025 By WebPhoneTech Editorial Team

The quickest way to clear cookies on an iPhone is in the Settings app: tap Apps, tap Safari, then tap Clear History and Website Data, choose a time frame, and confirm. If you want the cookies gone but your browsing history kept, go one level deeper instead: Safari > Advanced > Website Data > Remove All Website Data.

This walkthrough is written for iOS 27, the current iPhone software, and it is built around a practical question: which clear actually fixes the problem in front of you? A sign-in that keeps looping, a cart that will not update, or a page stuck on an old version each respond best to a different level of clearing. On iOS 17 and earlier, Safari sits directly in the main Settings list rather than under Apps, but the buttons inside it carry the same names.

What you are clearing, in plain terms

Three words appear on Safari’s settings screens, and they are easy to mix up:

  • Cookies are small notes a website saves on your iPhone so it can recognize you on the next visit. A cookie is what keeps Priya signed in to her library account, or remembers that Alex chose metric units on a weather site.
  • Cache is a stash of page files (images, layouts, scripts) that Safari keeps so pages open faster. Stale cache is the usual reason a site looks out of date after the owner has changed it.
  • Website data is Apple’s umbrella label for both of the above, plus other information sites store on the phone. When Safari says “Website Data,” it means cookies and cache together.

History is separate: it is the list of pages you have visited. That separation is why Safari gives you one button that clears data and keeps history, and another that clears both.

Before you clear anything

  • Know your important passwords. Clearing cookies signs you out of websites in Safari. Passwords saved in the Passwords app are not removed, so they can fill in again when you sign back in, but a password that was never saved will need to be typed.
  • Check which browser has the problem. The Settings steps below affect Safari only. Chrome, Firefox, Edge and other browsers keep their own cookies inside their own apps.
  • Check for Safari profiles. If you have set up profiles such as Personal and Work, each one keeps its own history. When you clear history, Safari lets you pick one profile or all of them.
  • Expect a few prompts afterward. Sites will show their cookie-consent banners again, and any site you allowed to use your location or send notifications will ask again after a full clear.

Match the problem to the right clear

Start with the smallest fix that could work. Clearing everything solves most website problems, but it also signs you out of every site at once, which is a lot of retyping for one broken page.

  • One site keeps signing you out, or loops back to its sign-in page: remove that site’s data only (Method 1).
  • One site shows an old layout, old prices, or a cart that will not update: remove that site’s data only (Method 1). If the site also uses a separate shopping or sign-in address, remove those entries too.
  • Several sites are misbehaving, or you want a fresh start without losing the list of pages you visited: remove all website data (Method 2).
  • You are lending, selling, or sharing the phone, or you want no record of recent browsing: clear history and website data together (Method 3 or Method 4). Both routes let you choose how far back Safari history is cleared, from the last hour to all history.
  • A site says cookies are turned off or required: clearing will not help. Jump to the section on sites that still fail after clearing.

Method 1: Clear cookies for one website

This leaves every other site signed in, which makes it the best first move for a single problem site.

  1. Open the Settings app and tap Apps.
  2. Tap Safari, scroll to the bottom, and tap Advanced.
  3. Tap Website Data. A list of sites appears, each with the amount of space its data uses. If the list is long, use the search field at the top and type part of the site’s name.
  4. Swipe left on the site’s name and tap Delete. Alternatively, tap Edit, select the red remove button beside each site you want gone, and tap Delete.
Recreated published Website Data swiped row for fictional example.com twelve point three MB with separate example.com search field and red Delete highlighted
Find the site, swipe its data row left, then Delete. This recreation follows the published shared swipe action with a fictional example.com search and size; it is not the complete current Website Data page, and no cookies were removed.
  1. Close any Safari tab that has the site open, then open the site in a new tab. You should see its sign-in page or a fresh version of the page.

A tip for stubborn sites: many companies spread one account across several addresses, for example a main store address plus a separate account or checkout address. If Jordan’s bank site still loops after step 4, searching Website Data for the bank’s name usually turns up two or three entries, and removing all of them tends to clear the loop.

Method 2: Remove all cookies and keep your history

This is the right choice when several sites act up, or when you want a cookie reset without losing your browsing history. You will be signed out of every website in Safari.

  1. Open Settings, tap Apps, then tap Safari.
  2. Tap Advanced, then tap Website Data.
  3. Tap Remove All Website Data at the bottom of the list.
  4. Tap Remove Now to confirm. The list empties, and your History list stays as it was.
Separate recreated Remove Now website-data confirmation action highlighted
Remove Now confirms removal of website data. This recreation isolates the documented shared command; the full confirmation and site list are outside the detail, and nothing was removed.

Apple describes this as clearing data used for tracking and the information sites save for faster sign-in, which is exactly what you want gone when logins have gone stale. The steps match Apple’s article on how to delete your Safari history, cache, and cookies on iPhone.

Method 3: Clear history and cookies together from Settings

Use this when you also want the list of visited pages gone. Besides history, cookies and cache, it removes permissions you granted sites, such as access to your location or permission to send notifications. Apple notes that it does not change your AutoFill information.

  1. Open Settings, tap Apps, then tap Safari.
  2. Scroll down and tap Clear History and Website Data.
  3. Choose a time frame. Picking a short window, such as the last hour, clears only recent activity; choose all history for a full reset.
  4. If you use Safari profiles, choose a single profile or All Profiles.
Recreated published Clear History sheet with four timeframe choices and Clear History button highlighted All history selected
Select the timeframe and, when offered, the relevant profile before Clear History. This recreation follows the published shared sheet with illustrative All history and Close All Tabs states; profile-specific choices are outside the view, and no history changed.
  1. Tap Clear History to confirm.

Method 4: Clear history and cookies from inside Safari

In iOS 27 you can do the same clean-up without leaving the browser, which is handy when you are already looking at the broken page. Apple’s iPhone User Guide covers this route under clearing your cache and cookies.

  1. Open Safari and go to your start page. If you are on a website, tap the Tabs button and then the Add button to open a new start page.
  2. Tap the Show Bookmarks button. (If your tab layout is set to Top or Bottom, the same button appears in the toolbar.)
  3. Tap the History button.
  4. Tap the More button, then tap Clear History.
  5. Under Clear Timeframe, choose how far back to go, pick a profile if asked, and tap Clear History.

Which should you use, Method 3 or Method 4? They clear the same things. Settings is easier to find if you have never opened Safari’s History view; the in-browser route saves a few taps when Safari is already open.

Cookies in Chrome, Firefox and other browsers

Nothing in the Settings app reaches other browsers. Each one has its own clearing screen, usually under a menu button in the app, with a choice of time range and a checkbox for cookies or site data. Labels change between app updates, so look for wording close to “Delete browsing data” or “Data management.” The menu-by-menu steps for each app are in deleting cookies in Safari, Chrome and Firefox on iPhone. Search boxes keep separate records as well; how to clear search history on iPhone shows where Chrome, Siri and Maps keep theirs.

When a site still fails after clearing

If a fresh start did not fix the site, the cause is often a setting that stops cookies from being saved in the first place, rather than old cookies.

Block All Cookies is turned on

With this switch on, Safari refuses all cookies, and many sites will not let you sign in even with the right password. You may see a message that cookies are required or turned off. Check Settings > Apps > Safari > Advanced and make sure Block All Cookies is off. The steps for turning it off, and for the equivalent setting in other browsers, are covered in enabling cookies on iPhone.

Recreated published Safari Advanced controls with Block All Cookies off and Advanced Tracking and Fingerprinting Protection visible
Block All Cookies is off in this recreation of a published iOS 26 Advanced settings example. Advanced Tracking and Fingerprinting Protection is visible in that reference; its exact location in iOS 27 has not been independently confirmed.

A sign-in button that relies on another company’s site

Safari limits third-party cookies by default through a setting called Prevent Cross-Site Tracking. That protects your privacy, and most sites work normally with it on. A small number of older sign-in systems, especially ones that pop up a separate company’s sign-in page inside the site, may still struggle. Learn what the switch does before changing it: Safari’s Prevent Cross-Site Tracking setting explains the trade-off. If you turn it off to finish one task, turn it back on afterward.

A content blocker is interfering

Content-blocking apps can stop cookies, scripts and pop-ups that a site needs. Go to Settings > Apps > Safari > Extensions, turn off content blockers one at a time, and reload the site after each change to find the culprit. If no blocker is the cause, check that JavaScript is switched on in Safari under Advanced.

The clear buttons are gray

Apple gives two reasons: there is nothing to clear, or web content restrictions in Screen Time are on. On a child’s iPhone, the parent who manages Screen Time controls those restrictions, and Apple’s guide to setting up parental controls shows where web content limits live. On a work or school iPhone, an administrator may control them, so ask your IT contact.

The page still looks old

Close every tab that has the site open, then open it in a new tab. If it is still wrong, restart the iPhone and try again. When even that fails, try the same page on cellular instead of Wi-Fi (or the other way around); a page that works on one network and not the other points to the network rather than to Safari.

How to check it worked, and how to get back in

Go to Settings > Apps > Safari > Advanced > Website Data. After Method 2, 3 or 4 with all history selected, the list should be empty or close to it; any site you have opened since then will reappear, which is normal. After Method 1, the site you removed should no longer be listed. Opening a site you used to be signed in to should show its sign-in page.

There is no undo for cleared cookies or history. To get back to where you were:

  1. Open each site you use often and tap its sign-in field. Saved passwords and passkeys from the Passwords app are offered automatically.
  2. Re-choose any site preferences, such as language or region, and answer the cookie-consent banners again.
  3. Allow location or notifications again only for sites that need them, such as a store finder.

Common questions about clearing cookies on iPhone

Will clearing Safari cookies sign me out of apps?

No. Apps such as a bank, email or shopping app keep their own sign-ins, separate from Safari. Your Apple Account, iCloud and Messages are not affected either. Only websites you open in Safari are signed out.

Does clearing cookies delete my bookmarks or saved passwords?

No. Bookmarks, Reading List items and passwords saved in the Passwords app stay put. Safari profiles can all reach your saved bookmarks and passwords, so clearing one profile’s history does not touch them.

Does clearing cookies free up much space?

Usually only a little. The Website Data screen shows how much each site stores, and the total is typically small next to photos, videos and apps. If storage is the real concern, General > iPhone Storage in Settings shows where the space goes.

Is there a way to try a site without my existing cookies, before I delete anything?

Private Browsing is a reasonable test. Private tabs do not appear in your History and are not shared with your other Apple devices, and they generally open without the sign-ins from your regular tabs. If the site works in a private tab but not in a regular one, your saved data for that site is the likely culprit, and Method 1 should fix it. The basics are covered in starting a private browsing session in Safari.

Do I need to clear cookies on a schedule?

No. An iPhone runs normally without routine cookie clearing. Clear one site when it misbehaves, clear everything when you hand the phone to someone else, and otherwise leave Prevent Cross-Site Tracking on to limit tracking as you browse.

Can a website still recognize me after I clear cookies?

Once you sign back in, yes: the site matches you to your account and keeps its own records, such as order history, on its servers. Clearing cookies removes what is stored on your iPhone, not what a company keeps about your account.

If you came here because one site is broken, start with Method 1 and remove only that site’s entries. It takes under a minute, and everything else stays signed in.

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook

Related

About WebPhoneTech Editorial Team

The WebPhoneTech Editorial Team writes and maintains the iPhone guides on this site. The team has more than 20 years of experience writing online tech guides and over 50 years of combined IT experience with small businesses, consumer products, mobile devices and applications.

Primary Sidebar

Browse topics

All iPhone guidesSafariChromeFirefoxDefault appsSecurity

Recent guides

  • How to Use Live Voicemail on iPhone
  • How to Remove a Bluetooth Device from Your iPhone 14
  • How to Download Offline Maps on iPhone
  • How to Use StandBy Mode on iPhone
  • How to Use Passkeys on iPhone (iOS 27)
  • Contact
  • About Us
  • Privacy Policy

Copyright WebPhoneTech.com

Loading Comments...

You must be logged in to post a comment.