🥝GuideKiwi
Free Guide

Understanding Safari Cookie Settings and Privacy

How Safari Handles Cookies and Tracking Safari is Apple's web browser, available on iPhones, iPads, and Mac computers. Like all browsers, Safari uses small f...

GuideKiwi Editorial Team·

How Safari Handles Cookies and Tracking

Safari is Apple's web browser, available on iPhones, iPads, and Mac computers. Like all browsers, Safari uses small files called cookies to remember information about websites you visit. Understanding how Safari manages these files helps you make informed decisions about your online privacy.

Cookies are text files that websites place on your device. They store information like your login details, shopping cart contents, or language preferences. When you return to a website, Safari sends these cookies back to the site, so the site remembers you. Without cookies, you would need to log in to every website repeatedly and websites couldn't remember your preferences.

Safari distinguishes between different types of cookies based on their purpose. First-party cookies come directly from the website you're visiting. Third-party cookies come from advertisers, analytics services, or other companies embedded on the website. For example, when you visit a news website, the news site creates a first-party cookie, but an advertising company on that same page might create a third-party cookie to track your browsing across different sites.

Apple's approach to cookies in Safari has evolved significantly. By default, Safari blocks third-party cookies on newer versions, which means advertisers and tracking companies have a harder time following your activity across multiple websites. Safari also includes features like Intelligent Tracking Prevention (ITP), which limits how long cookies and other tracking data can follow you online. According to Apple's privacy documentation, ITP categorizes tracking companies based on how much data they collect and restricts their ability to track users across sites.

Session cookies expire when you close Safari, while persistent cookies remain on your device for a set period. This distinction matters because persistent cookies can track you over longer periods, sometimes for months or years. Understanding this difference helps explain why websites sometimes "remember" you even after you've closed the browser.

Practical takeaway: Cookies aren't inherently harmful—they make browsing easier by remembering your preferences and login information. However, third-party cookies can enable advertisers to build profiles of your interests across multiple websites. Safari's default settings block most third-party cookies, providing baseline privacy protection without requiring you to take additional action.

Accessing and Adjusting Safari Cookie Settings on Different Devices

The steps to manage cookies in Safari vary depending on whether you're using an iPhone, iPad, or Mac computer. Each device has slightly different menu layouts, but the underlying options remain similar. Learning where to find these settings on your device puts you in control of what information Safari stores.

On an iPhone or iPad, open the Settings app and scroll down to find Safari. Tap Safari to see the privacy and security options. You'll see a section labeled "Privacy" with options related to cookies and website data. The default setting is typically "Allow From Websites I Visit," which permits first-party cookies while blocking third-party cookies. You can change this to block all cookies, though this may cause some websites to function improperly. Below this option, you'll find "Block All Cookies," which prevents all cookies from being stored, and occasionally a toggle for "Fraudulent Website Warning," which provides additional security.

To view cookies already stored on your iPhone or iPad, go to Settings > Safari > Clear History and Website Data. This menu shows you options to clear browsing history, cookies, and cached data. Apple doesn't provide a detailed list of individual cookies on iOS devices, but this clearing function removes all stored cookie data. You can choose to clear data from the last hour, today, the last week, the last month, or all time. This gives you control over how much data you remove.

On a Mac, open Safari and click "Safari" in the menu bar at the top of the screen. Select "Preferences" or "Settings" (depending on your macOS version). Click the "Privacy" tab to see cookie and tracking options. The default setting shows "Block all cookies" is not checked, meaning cookies are allowed. You can check this box to block all cookies, though again this may break some website features. The Mac version of Safari also shows a "Manage Website Data" button, which opens a window displaying all stored cookies and website data with file sizes. This gives Mac users more detailed visibility into what cookies are stored on their device.

To clear cookies on a Mac, click Safari in the menu bar and select "Clear History." Choose the time range you want to clear and confirm. If you want more granular control, use the "Manage Website Data" feature to delete cookies from specific websites while keeping others intact. This is useful if you want to log out of one service while staying logged into others.

Practical takeaway: Most users benefit from Safari's default cookie settings, which allow first-party cookies (so websites work properly) while blocking third-party tracking cookies. If you experience problems with websites not working correctly, you can temporarily adjust settings. The ability to clear cookies and website data gives you a tool to remove tracking data periodically or before closing your browser.

Intelligent Tracking Prevention and How It Protects Your Privacy

Intelligent Tracking Prevention, or ITP, is Safari's signature privacy feature designed to limit tracking across websites. Launched in 2017 and continuously updated, ITP uses machine learning to identify and restrict companies that track users without their knowledge. This feature runs automatically in the background without requiring any configuration from you.

ITP works by examining cookies and other tracking technologies to determine which companies are engaged in "cross-site tracking." If a company places cookies on many different websites you visit, ITP flags it as a tracking company. Once flagged, ITP restricts how long that company's cookies remain on your device and limits what information those cookies can access. According to Apple's technical documentation, ITP can reduce persistent cookie lifetime from years to just seven days in many cases, and for cookies used in cross-site tracking, the lifetime may be reduced to just 24 hours.

The privacy benefit of ITP is substantial. By shortening cookie lifespans, ITP makes it harder for ad networks to build detailed profiles of your interests across many websites. For example, if you search for running shoes on one website and later visit a sports news site, an advertising company would normally use a tracking cookie to connect these two visits and show you running shoe advertisements everywhere you go. ITP disrupts this process by expiring cookies before the ad network can use them to create a long-term tracking profile.

ITP also restricts the use of browser storage mechanisms beyond cookies, including local storage and IndexedDB. These are alternative ways websites can store data about you. By limiting all these mechanisms, ITP provides more complete protection than just restricting cookies alone. Research by Princeton University and others has shown that ITP reduces tracking by major ad networks by roughly 90 percent compared to browsers without such protections.

One important limitation of ITP is that it doesn't stop all tracking. Websites you directly visit can still track you using first-party cookies, which ITP allows. Additionally, ITP doesn't protect you from tracking that occurs at the network level, such as your internet service provider tracking your browsing activity. ITP is specifically designed to prevent invisible cross-site tracking, not to hide your activity from websites you intentionally use.

Practical takeaway: ITP provides substantial privacy benefits automatically, without requiring you to adjust settings or change your browsing habits. However, you can enhance privacy further by combining ITP with other practices, such as regularly clearing cookies, using privacy-focused search engines, or considering a Virtual Private Network (VPN) if you want additional protection.

First-Party Versus Third-Party Cookies and Why the Distinction Matters

Understanding the difference between first-party and third-party cookies helps explain why Safari treats them differently and why privacy experts generally consider third-party cookies more problematic. Both types serve valid purposes, but they operate in different contexts and present different privacy implications.

First-party cookies originate from the website you're directly visiting. When you log into your email, the email service creates a first-party cookie to keep you logged in. When you add items to a shopping cart, the store creates a first-party cookie to remember what you're buying. These cookies are generally considered beneficial because they make websites function better for you. First-party cookies can only be read by the website that created them, so your email provider's cookies can't be accessed by other sites.

Third-party cookies, by contrast, are created by companies other than the website you're visiting. These typically come from advertising networks, analytics services, or data brokers embedded on websites. For example, imagine you visit a news website. The news site hosts its own first-party cookie, but it also displays advertisements from an ad network. That ad

🥝

More guides on the way

Browse our full collection of free guides on topics that matter.

Browse All Guides →