iOS 10.3 Safari cookies won't delete

Is anyone having any issues with cookies in 10.3 Safari? Cookies don't seem to delete when I try to remove them using all the delete methods. Additionally, when I block cookies, cookies still get stored.


May be cookies settings have changed and I need to change something. Does anyone know?

iPhone 6s

Posted on Mar 30, 2017 4:40 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 20, 2017 3:15 PM

Full reset of my iPad worked and now the 0 byte / persistent cookies are gone and new cookies can readily be deleted. I visit one of the websites that had previously caused problems and the issue did not recur. What did surprise me however was the number of cookies generated by visiting a single website but at least they can now be deleted.

202 replies

Apr 19, 2017 7:03 AM in response to DontFailMeApple

I have the same issue and have tried all the suggested resolutions short of full resets in part because if you have done a backup you will only reinstall the problem. I am in the UK and the problem sites are:

  • iPhone 6s = weather.com
  • iPad Mini 4 = argos.com & eBay.co.uk
  • MacBook Air = eBay.co.uk

Additionally further rogue websites show numbering anything from 2-30 depending on when you look and this after not having launched Safari!!!!

Apr 20, 2017 5:38 AM in response to OhMama

I hope that Apple is working on this bug as it is most frustrating and it can limit users ability to visit certain sites from Safari. You always can try another browser that works on iPhone, such as TOR.


The work around I've figured out (see earlier in thread regarding my experience with iPhone) is...

  • go to the page in Safari that corresponds to the cookie that will not clear; it must be the original domain, note that depending on your settings some sites may drop a cookie though you may not know that you visited their site, these are often tracking and analytics cookies, such as google-analytics.com
  • while Safari is open on that page, go into Settings | Safari | Advanced | Website Data and manually remove the offending cookie (swipe and delete) then click 'Remove All Website Data'; note that others have indicated that Safari must be closed so that the cookie doesn't reload, however, my experience was that the offending cookie wouldn't remove unless Safari was open, and that 'Remove All Website Data' closes pages so that can not reload cookies
  • some cookies will not remove using these steps, which appears to be part of the bug, my experience is that google.com will not remove using any method suggested by others in this thread, others have indicated in the thread that there are other sites that similarly will not remove

Dec 27, 2017 12:59 PM in response to DontFailMeApple

I've had the same issue with being unable to delete a number of "0 Bytes" cookies on my iPad for a while, but recently an eBay.co.uk cookie of 508KB size began to exhibit the same behaviour - at which point I "snapped", enough is enough! I found a solution, however it's a little long-winded and requires a Mac:


  1. Connect the iOS device to a Mac and create a backup using iTunes
  2. Open the backup using an explorer/editor tool such as iBackupBot (I was a little dubious about using this at first, but it was signed by a registered developer and did not require installation nor did it ask for a password input at any stage, so pretty safe)
  3. Navigate to the folder "User App Files > com.apple.mobilesafari > Library > Webkit > Website Data"
  4. Delete all files and folders in the enclosed IndexedDB folder - this is where the 508KB of eBay data seemed to be
  5. Delete all files and folders in the enclosed WebSQL folder - where all the other "0 Bytes" cookies are stored. I was amazed there were even cookies in here which didn't show up in the Website Data view in Settings. Mine had a whole trove of cookies from argos.co.uk, ebay.co.uk, and uk.farnell.com amongst others.
  6. Restore the backup to your iOS device using iTunes


This was sucessful for me on both my iPad Pro and iPhone SE - both on iOS 10.3.3. I can't confirm if it will work for iOS 11 devices, but from what I've read many people have found the cookie problem to be fixed in 11.1.2.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iOS 10.3 Safari cookies won't delete

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.