How to Enable Cookies in Safari on Mac

Cookies are one of those background features most people never think about — until a website stops working, a login won't save, or a shopping cart keeps emptying itself. If you're running Safari on a Mac and something feels off, your cookie settings are often the first place to look.

Here's a clear breakdown of how cookies work in Safari, what the settings actually do, and why the right configuration depends on how you use the browser.

What Cookies Actually Do in Safari

A cookie is a small text file that a website stores on your device. It holds information like your login status, language preferences, shopping cart contents, or site behavior data. Without cookies, most modern websites would treat you as a brand-new visitor on every single page load.

Safari manages cookies differently from Chrome or Firefox. Apple has built Intelligent Tracking Prevention (ITP) directly into Safari, which actively limits how third-party cookies — those set by advertisers and trackers, not the site you're actually visiting — behave. This is a privacy feature, but it can occasionally interfere with legitimate functionality, especially on older or less optimized websites.

There are two broad types of cookies to understand:

  • First-party cookies — set by the website you're directly visiting. These handle logins, preferences, and session data. Safari allows these by default.
  • Third-party cookies — set by external services embedded on a page (ad networks, analytics tools, social media widgets). Safari restricts these by default.

How to Check and Change Cookie Settings in Safari on Mac

Safari on macOS doesn't have a simple on/off cookie toggle — the controls are more nuanced than that. Here's where to find them:

Step 1: Open Safari and go to Safari → Settings (or Preferences on older macOS versions) in the menu bar.

Step 2: Click the Privacy tab.

Step 3: Look for the "Block all cookies" checkbox.

If this box is checked, Safari is blocking all cookies — both first-party and third-party. Most users should leave this unchecked. Enabling it provides maximum privacy but breaks a significant portion of normal web functionality: logins won't persist, forms may behave unexpectedly, and sites that rely on session tracking won't work correctly.

If this box is unchecked, Safari is operating in its default state — allowing first-party cookies while applying ITP restrictions to third-party cookies automatically.

The "Prevent Cross-Site Tracking" Option 🔒

Directly above the cookie checkbox, you'll find "Prevent cross-site tracking." This is enabled by default and is Safari's ITP system at work. It limits third-party cookies from following you across websites without blocking them outright in every case.

Disabling this setting makes Safari more permissive with third-party cookies — useful if a specific web app or enterprise tool requires cross-site session sharing to function. It does, however, reduce the privacy protection Safari provides out of the box.

When Enabling or Adjusting Cookies Fixes Real Problems

SymptomLikely CausePotential Fix
Login won't stay savedFirst-party cookies blocked or clearedUncheck "Block all cookies"
Embedded videos or widgets failThird-party cookies blockedDisable "Prevent cross-site tracking"
Shopping cart keeps resettingSession cookie not persistingCheck cookie and tracking settings
Site-specific preferences resetCookies cleared on quitCheck Safari's website data settings

These aren't guaranteed solutions — the actual cause depends on the specific site and your macOS configuration — but these are the most common correlations.

Managing Cookies Per-Site in Safari

Safari also lets you view and remove cookies on a site-by-site basis, which is more surgical than toggling global settings.

Safari → Settings → Privacy → Manage Website Data

Here you'll see every domain that has stored data on your Mac. You can remove cookies from individual sites without affecting anything else. This is useful if one site is behaving strangely but you don't want to reset everything.

What Changes Between macOS Versions

Apple updates Safari's privacy controls with each major macOS release, and the exact wording or location of settings can shift. On macOS Ventura and later, the menu is called Settings. On macOS Monterey and earlier, it's called Preferences. The underlying options are largely the same, but the interface varies slightly. 🖥️

ITP itself has also evolved — Apple has progressively tightened what third-party cookies can do across multiple Safari versions. A setting that worked a certain way in Safari 14 may behave differently in Safari 17.

The Variables That Determine the Right Setting for You

Cookie settings aren't universally right or wrong — they sit on a spectrum between maximum privacy and maximum compatibility, and where you land depends on a few factors:

  • How much you use web apps vs. static sites — Web apps (project management tools, online banking, SaaS platforms) rely heavily on persistent cookies. Static content sites need far fewer.
  • Whether you're on a managed or personal device — Enterprise environments sometimes require specific cookie behavior for internal tools that consumer defaults break.
  • Your tolerance for re-authenticating — Stricter cookie settings mean logging in more often across sessions.
  • Which websites you depend on daily — Some older or niche sites still rely on third-party cookie behavior that Safari restricts by default.

A user who primarily browses news sites and uses Safari for casual reading will almost never notice default settings. Someone running a business through web-based tools, or accessing a corporate intranet, may hit friction quickly with the same defaults. 🔧

Understanding which of those profiles fits your actual workflow is what determines whether Safari's default cookie behavior works for you — or whether adjusting it makes more sense.