How To Enable and Disable Cookies on Safari

Want to prevent trackers from using cookies and website data to find out where you go online? We’ll show you how to enable or disable your Safari cookies in this easy-to-follow guide.
We receive compensation from the products and services mentioned in this story, but the opinions are the author's own. Compensation may impact where offers appear. We have not included all available products or offers. Learn more about how we make money and our editorial policies.

Clearing your Safari cookies can give you a clean slate and keep your information more secure. Here’s how to disable (or enable) Safari cookies depending on your need, as well as some of the best ad blockers to block cookies entirely.

In this article
Clear cookies 
Disable cookies
Enable cookies
FAQs
Bottom line

How to clear cookies on Safari

The steps to manage cookies on Safari may vary depending on your device, but we’ll walk you through how to manage Safari cookies on macOS or an OS device.

How to clear cookies on Safari on a Mac

1. Go to your Safari browser on your Mac and select Preferences.

2. Click Privacy, then select Manage Website Data.

To clear Safari cookies on your MacBook, open your Preferences, open the Privacy menu, and select Manage Website Data.

3. Now click the Remove All button, and then click Done.

Click Remove All in your Manage Website Data menu to delete all cookies in Safari.

4. You may get a message asking if you’re sure you want to delete all the cookies. Once you confirm, all the cookies will be deleted.

How to delete cookies in Safari on iPhone or iPad

1. Go to your Settings app on your device.

2. Scroll down and tap Apps.

3. Select Safari.

3. Scroll down to the History and Website Data section to select Clear History and Website Data.

4. The pop-up provides a time range. Select the period you'd like to erase, and then hit the Clear History button.

Select the Safari app to manage Safari cookies and other security features
Select the Safari app to manage Safari cookies and other security features

Select time range to clear history on Safari for iOS
Select time range to clear history on Safari for iOS

5. While you're there, you may opt to Prevent Cross-Site Tracking and Hide IP Address from Trackers and Websites for enhanced security.

Need to delete or manage your cookies in other browsers? Check out our cookie guides for Google Chrome, Mozilla Firefox, and Microsoft Edge.

How to disable cookies in Safari

If you want to disable cookies at specific times, you can easily do that in Safari, too. Here’s how to quickly disable cookies in Safari to prevent sites from tracking you.

How to disable cookies on Safari on a Mac

1. Open your Safari browser and go to Preferences in the Safari menu.

2. Click on Privacy, then select Block all cookies.

To disable cookies in Safari on your Mac, open the Privacy tab in Settings and check Block all cookies.

3. When the message opens to confirm, click Block All.

When prompted, choose Block All to disable cookies in your Safari browser.

How to turn off cookies in Safari on iPhone or iPad

1. Go to your Settings app on your device.

2. Scroll down and tap Apps.

3. Select Safari.

4. Scroll to the very bottom and tap Advanced.

5. Toggle on Block All Cookies.

6. The pop-up prompts you to Cancel or Block All, so select Block All.

Toggle Block All Cookies on or off to manage Safari cookies on iOS
Toggle Block All Cookies on or off to manage Safari cookies on iOS

Select Block All to block Safari cookies on iOS
Select Block All to block Safari cookies on iOS

7. You may also opt for Private Browsing (under Advanced Tracking and Fingerprinting Protection) and toggle on Privacy Preserving Ad Measurement to reduce third-party trackers.

Why should you disable cookies in Safari?

Cookies were originally designed to make your internet browsing better by remembering your personal information and browsing preferences, but they can also invade your privacy.

Some websites and advertisers use third-party cookies to track your information, such as demographics, shopping habits, and even your location. This is a big reason why many people decide to disable cookies in Safari.

Another plus of disabling Safari cookies is that you may not see as many targeted ads. If you get tired of those pop-up ads showing the latest item you viewed on Amazon, you’re not alone — and disabling your cookies could help. Lastly, disabling cookies could also lead to faster internet access because you won’t have as many files stored on your device.

Another method for disabling cookies is by using an ad and tracker blocker

Blocks Ads on iPhones and iPads with Dedicated iOS App
4.9
Editorial Rating
Learn More
On Total Adblock's website
Ad Blocker
Total Adblock
Up to 80% off
  • Instantly blocks distracting ads on millions of websites, including Facebook and YouTube ads
  • Blocks third-party trackers to protect your privacy and information
  • Improves page load times and enables faster browsing

How to enable cookies on Safari

Privacy concerns aside, there may be times you want to enable cookies in Safari. You may want to allow a website to keep you logged in or remember your settings and preferences. By accepting what’s called first-party cookies, you can often improve your online experience.

When you need to enable cookies in Safari, you can follow these simple steps.

How to turn on cookies on Safari on a Mac

1. Open your Safari browser menu and select Preferences.

2. On the Privacy tab, deselect Block all cookies beside Cookies and website data.

To enable Safari cookies on your MacBook, uncheck the Block all cookies option under your Privacy menu.

3. If you enable Prevent cross-site tracking, it will block third-party cookies from tracking you.

How to enable cookies in Safari on iPhone or iPad

1. Go to your Settings app on your device.

2. Scroll down and tap Apps.

3. Select Safari.

4. Scroll to the very bottom and tap Advanced.

5. Toggle off Block All Cookies

Toggle Block All Cookies on or off to manage Safari cookies on iOS
Toggle Block All Cookies on or off to manage Safari cookies on iOS

Why should you enable cookies in Safari?

Sometimes, you’ll need to enable cookies in Safari for different situations — there are even some websites that won’t load properly if your cookies aren’t enabled. Other reasons to enable cookies in Safari include:

  • Staying logged into your accounts
  • Remembering your settings on certain websites
  • Remembering what’s in your shopping cart
  • Seeing more appealing products when you shop online

Not all cookies are harmful, and there are good reasons to use cookies while you browse online.

FAQs

What happens if I remove all cookies from Safari?

If you delete all your Safari cookies, you can reduce tracking from third-party sites, improve your browser performance, and ultimately, see fewer targeted ads. But beware, clearing your cookies may also log you out of websites and erase any website preferences you have set. 

Will deleting cookies delete passwords?

Yes, deleting cookies erases all site data saved in your web browser, including your passwords. However, it’s safer not to use autofill or tools such as Safari password manager to remember your passwords. Instead, a dedicated password manager can provide an encrypted vault to store your saved passwords. 

Is it a good idea to remove all cookies?

It’s a good idea to remove all your cookies if you want a clean slate and more privacy. Removing your cookies can also increase your internet speed, especially if you have lots of stored cookies taking up space.

Bottom line

When you want to manage cookies in Safari, you have the option of enabling, disabling, or deleting them. You may choose different actions based on what you’re trying to accomplish at the time. Luckily, it’s easy to change your Safari settings on any device.

If you want more privacy, disabling and deleting cookies is your best option. During times when you want a more personalized browsing experience, you can always enable cookies in Safari and then disable them again when you log off. We've also compiled a list of the best ad blockers for Safari if you want to block cookies altogether. 

#1 Adblocker — Even Blocks YouTube Video Ads
4.9
Editorial Rating
Learn More
On Total Adblock's website
Ad Blocker
Total Adblock
Up to 80% off
  • Instantly blocks distracting ads on millions of websites, including Facebook and YouTube ads
  • Blocks third-party trackers to protect your privacy and information
  • Improves page load times and enables faster browsing

Author Details
Patti Croft is a seasoned writer specializing in technology, with three years of experience. With a B.S. in Computer Science and a background as a technical analyst and security specialist, she covers a range of topics like data security and parental control software.