Safari 8 (Yosemite): Manage cookies and website data

This article has been archived and is no longer updated by Apple.

Manage cookies and website data

Manage cookies and website data using Safari

Websites often store cookies and other data on your Mac. This data may include information that you have provided, such as your name, email address, and preferences. This data helps websites identify you when you return so the site can provide services for you and show information that might be of interest to you.

By default, Safari accepts cookies and website data only from websites you visit. This helps prevent certain advertisers from storing data on your Mac. You can change options in Safari preferences so that Safari always accepts or always blocks cookies and other website data.

Important: Changing your cookie preferences or removing cookies and website data in Safari may change or remove them in other apps, including Dashboard.

Choose Safari > Preferences, click Privacy, then do any of the following:

Change which cookies and website data are accepted: Select a “Cookies and website data” option:

Always block: Safari doesn’t let any websites, third parties, or advertisers store cookies and other data on your Mac. This may prevent some websites from working properly.

Allow from current website only: Safari accepts cookies and website data only from the website you’re currently visiting. Websites often have embedded content from other sources. Safari does not allow these third parties to store or access cookies or other data.

Allow from websites I visit: Safari accepts cookies and website data only from websites you visit. Safari uses your existing cookies to determine whether you have visited a website before. Selecting this option helps prevent websites that have embedded content in other websites you browse from storing cookies and data on your Mac.

Always allow: Safari lets all websites, third parties, and advertisers store cookies and other data on your Mac.

Remove stored cookies and data: Click Remove All Website Data, or click Details, select one or more websites, then click Remove.

Removing the data may reduce tracking, but may also log you out of websites or change website behavior.

See which websites store cookies or data: Click Details.

Ask websites not to track you: Some websites keep track of your browsing activities when they serve you content, which enables them to tailor what they present to you. You can have Safari ask sites and their third party content providers (including advertisers) not to track you.

With this option turned on, each time Safari fetches content from a website, Safari adds a request not to track you, but it’s up to the website to honor this request.