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.
- Open the Settings app
- Scroll down and tap Safari
- Scroll to the Privacy & Security section
- Tap Clear History and Website Data
- Choose a time range (options include Last Hour, Today, Today and Yesterday, or All History)
- 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
- Open Safari
- In the menu bar, click History
- Select Clear History…
- Choose your time range from the dropdown
- 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:
- Open Safari
- Click Safari in the menu bar, then select Settings (or Preferences on older macOS versions)
- Click the Privacy tab
- Click Manage Website Data…
- A list of all sites that have stored data on your device will load — this may take a moment
- You can Search for a specific site, select it, and click Remove
- 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:
| Factor | How It Affects Your Approach |
|---|---|
| Device type | Mac gives site-by-site control; iOS bundles cookies with history |
| iCloud sync | Clearing on one device may propagate to others |
| Login sessions | Deleting cookies logs you out everywhere simultaneously |
| macOS/iOS version | Menu names and locations vary slightly across versions |
| Privacy goals | Blocking future cookies vs. deleting existing ones are different actions |
| Troubleshooting vs. routine | A 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.