Block Cookies in Safari on the Mac
- Select Preferences from the Safari menu or use the Command+, keyboard shortcut (hold down the Command key and the comma key at the same time).
- Go to the Privacy tab.
- Choose how you want Safari to treat cookies. By default, Safari allows cookies from the sites you visit, but prevents third-party content that might be embedded in those sites from storing cookies on your computer. Your other options are:
Always block: No cookies are allowed to be stored on your Mac. Keep in mind this option might prevent some sites from working properly.Allow from current site only: Only the current site you’re visiting will be allowed to store cookies.Always allow: All websites, third parties, and advertisers can store cookies on your Mac.
- Close the Preferences window when you are done. Your settings will apply to all future website browsing. One setting you might also want to change in Safari’s Preference menu is website tracking. Check the “Ask websites not to track me” option to tell sites and their third-party content providers not to keep track of your browsing activities using tools other than cookies. Safari will send a “do not track” request when you visit the site, but it’s up to the website owner to comply.
Block Cookies in Safari in iOS
You can also block cookies on your iPhone or iPad to stop sites from tracking your mobile browsing activity. Here’s how to do that in iOS 8 or later.
- Open the Settings app, tap Safari, and tap Block Cookies.
- Select your cookies preference. The options are the same as those for OS X. If you’re using iOS 7 or earlier, your options will be “Never,” “From third parties and advertisers,” or “Always.”
How to Search for Text Within a Web Page in SafariHow to Restore Recently Closed Tabs and Windows in SafariHow to Use Private Browsing in Safari