
How to Enable Cookies in Safari
If you’ve ever tried to log into a website and gotten stuck in an endless loop, or seen an error message saying “cookies are disabled” or “please enable cookies to continue,” there’s a good chance Safari’s privacy settings are blocking them. Cookies are small pieces of data websites use to remember who you are, keep you logged in, save your shopping cart, and remember your preferences between visits. When they’re blocked, a surprising number of everyday web tasks simply stop working.
Apple has steadily tightened Safari’s default privacy settings over the years, which is great for protecting you from invasive tracking, but it also means cookies can end up more restricted than you realize, especially after a software update or if you’re using a shared or work-managed device. The confusing part is that Safari’s cookie settings look a little different depending on whether you’re on a Mac, an iPhone, or an iPad, and Apple has renamed and reorganized these settings more than once across recent versions of iOS and macOS.
This guide walks through exactly how to enable cookies in Safari on every major Apple device, explains what each setting actually does, and covers troubleshooting steps for when cookies still don’t seem to be working even after you’ve turned them on. By the end, you’ll be able to browse, log in, and shop without those frustrating cookie-related roadblocks.
Why Safari Blocks Cookies by Default
Unlike some other browsers that leave cookies fully enabled out of the box, Safari has built increasingly strict privacy protections directly into its core settings. This is largely due to Apple’s Intelligent Tracking Prevention (ITP) feature, introduced several years ago and expanded significantly since.
ITP is designed to block third-party cookies, which are the cookies advertisers and tracking networks use to follow you across different websites and build a profile of your browsing habits. First-party cookies, the ones set directly by the website you’re actually visiting, are generally still allowed by default, since they’re needed for basic functionality like staying logged in.
The confusion usually comes from one of these situations:
- A user (or a parent, IT administrator, or previous owner of a used device) has manually disabled all cookies, not just third-party tracking cookies
- ITP is aggressively blocking a legitimate first-party cookie that a specific website needs
- Private Browsing mode is active, which clears cookies automatically when the session ends
- A restrictive content filter or parental control profile has been applied to the device
- Website-specific cookie settings have been changed for an individual site
Understanding which of these applies to your situation will help you pick the right fix.
How to Enable Cookies in Safari on Mac
This is the most common scenario people run into, especially since macOS Safari’s settings menu has moved around in recent versions.
- Open Safari and access Settings. Click on “Safari” in the menu bar at the top of the screen, then select “Settings” (in older macOS versions, this may be labeled “Preferences”).
- Click on the Privacy tab. In the Settings window that opens, click on the tab labeled “Privacy,” usually represented by a hand icon.
- Look for the “Cookies and website data” section. You should see a checkbox or toggle labeled something like “Block all cookies.”
- This setting specifically targets third-party tracking cookies while still allowing normal first-party cookies to function, so most users can safely leave this one checked for better privacy without breaking website functionality.
- Close the Settings window. Changes take effect immediately, so you can close the window and refresh the website you were having trouble with.
- Refresh or revisit the problematic website. Reload the page that was giving you cookie-related errors to confirm the issue is resolved.
How to Enable Cookies in Safari on iPhone
The iOS version of Safari handles cookies through the main iPhone Settings app rather than within Safari itself.
- Open the Settings app on your iPhone’s home screen (the gray gear icon).
- Scroll down and tap “Safari.” You’ll find this listed among your installed apps, roughly in the middle of the Settings list.
- Scroll to the “Privacy & Security” section. This section contains several toggles related to tracking and cookies.
- Find “Block All Cookies” and make sure it’s turned off. If the toggle is green (enabled), tap it to turn it off. This is the setting most commonly responsible for cookies not working at all.
- Leave “Prevent Cross-Site Tracking” on if desired. Similar to the Mac version, this setting blocks third-party tracking cookies specifically, without interfering with the first-party cookies most websites need to function properly.
- Return to Safari and reload the affected website. Close Settings, reopen Safari, and refresh the page to confirm cookies are now working.
How to Enable Cookies in Safari on iPad
The iPad follows the exact same process as the iPhone, since both run iOS/iPadOS with a nearly identical Settings layout.
- Open the Settings app on your iPad.
- Scroll down and tap Safari in the left-hand sidebar (or the main list, depending on your iPad model and orientation).
- Scroll to Privacy & Security.
- Ensure Block All Cookies is toggled off.
- Optionally leave Prevent Cross-Site Tracking enabled for balanced privacy without breaking site functionality.
- Return to Safari and refresh the page you were troubleshooting.
Platform Variations: Differences Across Apple Devices and Safari Versions
While the underlying concept is the same everywhere, Apple has changed the exact wording and location of these settings across different software versions, which is a major source of confusion.
Older macOS versions (Safari Preferences)
In macOS versions prior to Ventura, the settings menu was labeled “Preferences” instead of “Settings,” but the Privacy tab and “Block all cookies” checkbox function identically once you locate them.
iOS 13 and earlier
Older iOS versions had a slightly different layout, with cookie settings sometimes appearing under a more general “Privacy” heading rather than the current “Privacy & Security” section, but the “Block All Cookies” toggle has remained functionally consistent for years.
Safari on Apple TV
Cookie management isn’t directly exposed on Apple TV’s version of Safari (which is limited compared to the Mac and iOS versions), since Apple TV’s web browsing capabilities are minimal. If you’re having trouble with a streaming service on Apple TV, the fix usually lies elsewhere, such as re-signing into the app directly.
Managed or work/school devices
If your iPhone, iPad, or Mac is enrolled in a Mobile Device Management (MDM) profile through a workplace or school, cookie settings may be locked and unchangeable through the standard Settings app. In this case, you’ll need to contact your IT administrator, since these restrictions are enforced at the profile level and override your personal settings.
Private Browsing mode
Regardless of your cookie settings, Private Browsing windows in Safari (on any device) don’t retain cookies once the window or tab is closed. If you’re finding that you keep getting logged out after closing Safari, check whether you’re accidentally browsing in a Private window rather than a standard one.
Tips
- This gives you strong privacy protection against advertisers while keeping essential site functionality like logins and shopping carts intact.
- Clear cookies for a specific site instead of all cookies. If only one website is misbehaving, go to Safari’s Privacy settings and use the “Manage Website Data” option to search for and remove cookies from just that site, rather than wiping your entire browsing history.
- Check for browser extensions that might interfere. Ad blockers and privacy extensions can sometimes block cookies more aggressively than Safari’s built-in settings, even when “Block all cookies” is unchecked.
- Restart Safari after changing settings. While most cookie setting changes take effect immediately, fully quitting and reopening Safari (not just closing the tab) can help resolve any leftover session issues.
- Keep your device’s software updated. Apple periodically adjusts how cookies and tracking prevention work in new iOS and macOS releases, and staying updated ensures you have the latest, most reliable version of these privacy tools.
- Be cautious with sites you don’t fully trust. Even with cookies enabled, it’s worth being selective about which sites you allow to store data, especially for sensitive information like payment details.
Troubleshooting: When Cookies Still Don’t Work
If you’ve already unchecked “Block all cookies” or toggled it off on mobile, but a website is still giving you cookie errors, work through these steps.
1. Clear your existing cookies and website data
Old, corrupted, or conflicting cookie data can sometimes cause problems even after you’ve enabled cookies properly. On Mac, go to Safari > Settings > Privacy > Manage Website Data, and remove data for the problematic site. On iPhone or iPad, go to Settings > Safari > Advanced > Website Data to do the same.
2. Check if you’re in Private Browsing mode
Look at the tab bar in Safari. If the address bar or interface appears dark/black instead of the standard light color, you’re likely in a Private Browsing window, which doesn’t retain cookies. Switch to a regular window and try again.
3. Disable content blockers temporarily
Ad blockers and content-blocking extensions installed in Safari can interfere with cookies on specific sites even when Safari’s own cookie settings are correct. On Mac, go to Safari > Settings > Extensions and temporarily disable any content blockers. On iOS, check Settings > Safari > Content Blockers.
4. Confirm the website itself isn’t the problem
Occasionally, the issue isn’t your cookie settings at all, but a problem on the website’s end. Try loading the same site on a different browser or device. If it fails there too, the issue is likely with the website, not your Safari configuration.
5. Check for a restrictive Screen Time or parental control profile
On devices with Screen Time restrictions enabled (common on family or child devices), certain privacy settings may be locked.
6. Look for a Mobile Device Management (MDM) profile
If your device belongs to an employer or school, an installed configuration profile might be overriding your personal cookie preferences. Go to Settings > General > VPN & Device Management to check for installed profiles, and contact your IT department if one is present and restricting cookies.
7. Restart your device
A simple restart can resolve lingering software glitches that sometimes prevent updated Safari settings from being applied properly, especially after a recent iOS or macOS update.
8. Reinstall or reset Safari settings as a last resort
On Mac, you can reset Safari entirely through Safari > Settings > Advanced, though this will clear saved passwords, history, and other data, so proceed carefully and only after backing up anything important.
Conclusion
Enabling cookies in Safari almost always comes down to one setting: making sure “Block all cookies” is turned off, whether you’re on a Mac, iPhone, or iPad. From there, most websites will function normally, log you in properly, and remember your preferences between visits, all while Safari’s “Prevent Cross-Site Tracking” feature continues quietly protecting you from invasive third-party ad tracking in the background.
If cookies still aren’t working after adjusting this setting, the culprit is usually something more specific, like leftover corrupted website data, an overly aggressive content blocker, or a managed device profile restricting changes. Working through the troubleshooting steps above will resolve the vast majority of remaining cases.
With cookies properly enabled, you’ll be able to browse the web the way it’s meant to work, staying logged in, keeping your shopping cart intact, and avoiding those frustrating “please enable cookies” messages for good.
Frequently Asked Questions
1. Where do I find cookie settings in Safari on Mac?
Go to Safari in the menu bar, click Settings (or Preferences on older macOS versions), then click the Privacy tab.
2. Where do I find cookie settings in Safari on iPhone?
Open the Settings app, scroll down and tap Safari, then scroll to the Privacy & Security section. Make sure the “Block All Cookies” toggle is turned off.
3. Should I enable all cookies or just allow cross-site tracking prevention?
Most users are best served by keeping “Prevent Cross-Site Tracking” enabled while making sure “Block all cookies” is off. This blocks invasive third-party ad trackers while still allowing normal website functionality like logins.
4. Why do I keep getting logged out of websites even with cookies enabled?
This is often caused by browsing in Private mode, which doesn’t retain cookies after the window closes. Check whether your Safari window has the darker Private Browsing interface and switch to a standard window if so.
5. Can a workplace or school block me from enabling cookies?
Yes. If your device has a Mobile Device Management (MDM) profile installed by an employer or school, cookie settings may be locked and unchangeable through your personal Settings app. Contact your IT administrator in this case.
6. Do I need to enable cookies for every website individually?
No. The main cookie toggle in Safari’s settings applies globally to all websites. However, you can manage or delete data for individual sites separately using the “Manage Website Data” option if a specific site is causing problems.
7. Will enabling cookies make me less safe online?
Enabling first-party cookies (with cross-site tracking prevention still on) is generally safe and necessary for normal website functionality. The privacy risk mainly comes from third-party tracking cookies, which Safari continues to block by default even with cookies otherwise enabled.
8. Why are cookies still blocked after I turned the setting off?
This is often caused by an ad blocker or content-blocking extension interfering separately from Safari’s built-in cookie settings, leftover corrupted website data, or a restrictive Screen Time or parental control profile. Work through each of these possibilities individually to isolate the cause.
