How to clear cookies on iPhone and iPad (Safari)

Updated · by Sufiyan Yasa, developer of Cookie DNT

Short answer: To clear all cookies, go to Settings > Apps > Safari > Advanced > Website Data > Remove All Website Data. To clear one site, search for it on the same screen and swipe left. On iOS 17 and earlier, start at Settings > Safari instead.

There are two ways to clear cookies in Safari on iPhone and iPad. One also wipes your browsing history; the other doesn’t.

Clear cookies but keep your history

  1. Open Settings.
  2. Tap Apps, then Safari. (On iOS 17 and earlier, tap Safari straight from Settings.)
  3. Scroll down and tap Advanced.
  4. Tap Website Data.
  5. Tap Remove All Website Data, then Remove Now.

This deletes cookies, caches and other site storage. Your history and bookmarks stay.

Clear cookies for one website

On the same Website Data screen:

  1. Use the search field at the top to find the site.
  2. Swipe left on it and tap Delete, or tap Edit and remove several at once.

More detail in how to delete cookies for one site in Safari.

Clear cookies and history together

Settings > Apps > Safari > Clear History and Website Data. You can pick a time range and which Tab Group to clear. This signs you out of sites and removes history on every device signed into the same iCloud account.

Block all cookies

Settings > Apps > Safari, then turn on Block All Cookies under Privacy & Security. Be warned: many sites stop working properly, including logins and checkouts. Turn it back off if a site breaks.

Make it automatic

Clearing by hand only lasts until the next visit. If you want Safari to forget certain sites every time you leave them - and remember the rest - see how to auto-delete cookies in Safari.

FAQ

Will clearing cookies log me out? Yes, from every site whose cookies you remove.

Does clearing cookies delete saved passwords? No. Passwords live in the Passwords app (iCloud Keychain), not in cookies.

Why does a site still remember me after clearing cookies? Sites can also store data in localStorage and IndexedDB. Website Data removal covers those; a quick cookie-only cleaner may not. Cookie DNT clears all of them.