How to Delete Cookies in Safari: A Complete Guide

Cookies are small files websites store on your device to remember your preferences, login sessions, and browsing behavior. Over time, these files accumulate — and clearing them can resolve privacy concerns, fix broken website behavior, or simply give you a cleaner slate. Safari handles cookies slightly differently depending on whether you're on a Mac, iPhone, or iPad, and the right approach depends on what you're actually trying to accomplish.

What Are Cookies and Why Delete Them?

When you visit a website, your browser stores a small text file — a cookie — that the site can read on your next visit. This is how sites remember that you're logged in, what's in your shopping cart, or which language you prefer.

There are two main types:

  • Session cookies — temporary files that disappear when you close the browser tab or window
  • Persistent cookies — files that stay on your device until they expire or you delete them manually

Third-party cookies are placed by advertisers or analytics services rather than the site you're actually visiting. These are the ones most closely associated with cross-site tracking — and the ones most privacy-focused users want gone.

Reasons you might want to delete cookies in Safari include:

  • Improving privacy by removing tracking data
  • Fixing login errors or broken page layouts
  • Freeing up minor storage space
  • Logging out of all accounts at once
  • Troubleshooting a site that's behaving strangely

How to Delete Cookies in Safari on iPhone or iPad 📱

Apple's iOS and iPadOS put cookie settings inside the main Settings app, not inside Safari itself.

  1. Open the Settings app
  2. Scroll down and tap Safari
  3. Scroll to the Privacy & Security section
  4. Tap Clear History and Website Data
  5. Choose a time range (options include Last Hour, Today, Today and Yesterday, or All History)
  6. Tap Clear History

This removes cookies, browsing history, and cached website data in one action. There is no way on iOS/iPadOS to delete cookies without also clearing history — Apple bundles them together in this menu.

Important: Clearing this data will log you out of most websites and reset site preferences. If you use iCloud and have Safari syncing enabled across devices, clearing on one device may affect others connected to the same Apple ID.

How to Delete Cookies in Safari on a Mac 🖥️

Mac users have more granular control than iOS users. There are two main paths:

Option 1: Clear Everything at Once

  1. Open Safari
  2. In the menu bar, click History
  3. Select Clear History…
  4. Choose your time range from the dropdown
  5. Click Clear History

This removes cookies, history, and cached data together — the same bundle as on iOS.

Option 2: Delete Cookies Without Clearing History

If you want to remove cookies while keeping your browsing history intact:

  1. Open Safari
  2. Click Safari in the menu bar, then select Settings (or Preferences on older macOS versions)
  3. Click the Privacy tab
  4. Click Manage Website Data…
  5. A list of all sites that have stored data on your device will load — this may take a moment
  6. You can Search for a specific site, select it, and click Remove
  7. Or click Remove All to wipe everything at once

This method gives you site-by-site control. You can remove cookies from one particular website — say, a site that's misbehaving — without touching anything else.

How Safari's Intelligent Tracking Prevention Changes the Picture

Safari includes Intelligent Tracking Prevention (ITP), a built-in system that automatically limits how long third-party cookies persist and restricts cross-site tracking without any action on your part. This has been part of Safari since 2017 and has become increasingly aggressive over time.

What this means practically:

  • Many third-party tracking cookies are already being blocked or expired faster than they would be in other browsers
  • Manually deleting cookies still matters for first-party cookies (login sessions, saved preferences) and for any data that ITP hasn't already handled
  • Users who've never deleted cookies may find fewer persistent trackers than they expect — ITP has already been working in the background

Variables That Affect What You Should Do

The right approach to managing cookies in Safari isn't universal. Several factors shape what makes sense for your situation:

FactorHow It Affects Your Approach
Device typeMac gives site-by-site control; iOS bundles cookies with history
iCloud syncClearing on one device may propagate to others
Login sessionsDeleting cookies logs you out everywhere simultaneously
macOS/iOS versionMenu names and locations vary slightly across versions
Privacy goalsBlocking future cookies vs. deleting existing ones are different actions
Troubleshooting vs. routineA one-time fix needs a different approach than regular maintenance

Blocking Cookies vs. Deleting Them

Deleting cookies removes what's already stored. Blocking cookies prevents new ones from being set. Safari lets you do both independently.

On Mac, under Settings → Privacy, you'll find an option to Block all cookies. Enabling this stops websites from storing any cookies at all — but it also breaks many sites that rely on cookies to function properly, including sites that require you to stay logged in.

A more balanced approach for most users is to leave cookie storage enabled, rely on ITP for third-party tracking, and manually clear cookies periodically or when something isn't working.

How often that makes sense — and which method fits best — depends on how you use Safari, what devices you're working across, and what you're actually trying to protect or fix.