Cookies are turned on by default in Safari, but you may need to check your settings if websites aren't working properly
Safari on iPhone allows cookies by default, which means most websites will store small data files on your phone without you doing anything. If a website isn't remembering your login, your shopping cart, or your preferences, the first thing to check is whether cookies are blocked in your Safari settings. You can turn cookies back on in about 30 seconds through the Settings app.
Cookies themselves aren't dangerous — they're just text files that let websites remember who you are and what you've done on their site. The real question is whether you want to block them entirely (which breaks many websites) or allow them selectively. Most people find the middle ground works best: allow cookies from sites you visit, but block cookies from advertisers tracking you across the web.
Key Takeaways
- Safari on iPhone has cookies turned on by default, so you only need to change this if websites stop working.
- To check your cookie settings, open Settings, scroll to Safari, and look under Privacy & Security.
- The "Block All Cookies" toggle turns off all cookies — this breaks most websites and is rarely the right choice.
- The "Prevent Cross-Site Tracking" option is usually the best balance: it allows cookies from sites you visit but blocks advertisers from following you across the web.
Where to find the cookie settings in Safari
Open the Settings app on your iPhone — the gray icon with gears. Scroll down until you see Safari (it's usually near the bottom, after Mail and Maps). Tap Safari to open its settings page.
Once you're in Safari settings, look for a section called "Privacy & Security" near the middle of the page. Under that heading, you'll see several toggles related to tracking and cookies. The one you're looking for is labeled "Block All Cookies" — if it's turned on (the toggle is green), that's why websites aren't working properly.
Turning cookies back on
If "Block All Cookies" is toggled on, tap it once to turn it off. The toggle will turn gray, and cookies will be allowed again. This is the quickest fix if a website suddenly stopped remembering you or stopped loading properly.
After you turn off "Block All Cookies," go back and try the website that wasn't working. It should now be able to store and read cookies normally. You may need to log in again or refresh the page.
Understanding "Prevent Cross-Site Tracking" — the setting most people should use
Just above "Block All Cookies" is another toggle called "Prevent Cross-Site Tracking." This is usually already turned on, and it's the setting that gives you the best balance between functionality and privacy. It allows websites to use cookies to remember you, but it stops advertisers and data brokers from following you across different websites.
Here's the difference: when you visit a news site, that site can use cookies to remember your login and your reading preferences. But when you leave that site and go to a shopping site, the advertisers who were tracking you on the news site can't follow you there. This prevents the creepy experience of seeing ads for something you looked at hours ago on a different website.
Leave "Prevent Cross-Site Tracking" turned on. It's the default setting, and it protects your privacy without breaking websites the way "Block All Cookies" does.
When to use "Block All Cookies" — and why it usually isn't the answer
The "Block All Cookies" toggle exists, but turning it on breaks most websites. You won't be able to stay logged into email, banking, or social media. Shopping carts won't work. Websites won't remember your preferences. Unless you have a very specific reason to block all cookies — and most people don't — leave this toggle off.
If you're worried about privacy, "Prevent Cross-Site Tracking" is the better choice. It stops the tracking that actually bothers most people (advertisers following you across the web) while keeping websites functional.
What to do if you've blocked cookies for a specific website
Safari also lets you block cookies from individual websites. If you've done this and now a particular site isn't working, you can fix it by going back to Safari settings and looking for "Manage Website Data" (also under Privacy & Security). This shows you a list of every website that has stored data on your phone.
Search for the website name in that list and tap "Edit" in the top right, then tap the minus sign next to the site. This deletes all the stored data from that website. The next time you visit, Safari will allow it to store cookies again.
Frequently Asked Questions
Why do websites keep asking me to accept cookies?
That's a legal requirement in Europe and some other places, not something Safari controls. Those pop-ups appear because the website owner is required to tell you they're using cookies. Accepting them just closes the pop-up — the website will use cookies either way.
Is it safe to allow cookies?
Cookies themselves are safe — they're just text files. The risk is that advertisers use cookies to track you across websites. That's why "Prevent Cross-Site Tracking" is turned on by default: it stops that tracking while still letting websites work normally.
Will turning off cookies make me more private?
Turning off all cookies breaks websites and doesn't actually protect you much. Advertisers can track you in other ways. "Prevent Cross-Site Tracking" stops the most common tracking method without destroying your browsing experience.
Do I need to clear my cookies regularly?
No. Cookies are small and don't slow down your phone. You only need to clear them if a website is misbehaving or if you want to remove stored login information before selling your phone.