
Most of Safari’s privacy and security options sit on five tabs of Safari → Settings: Privacy, Security, Advanced, Websites and General. This guide goes through them in that order and says what each option does, which ones to turn on and which ones to leave alone.
The names below are the ones in current Safari on macOS 13 Ventura and later. On macOS 12 Monterey and earlier the window is called Preferences, and a few options are on a different tab or missing.
First, keep Safari updated
Security fixes for Safari arrive through macOS Software Update. No setting makes up for a missing update, so check that first: how to update Safari on your Mac.
Privacy tab
Prevent cross-site tracking
Keep it selected. Safari then periodically deletes tracking data from third-party content providers, the companies whose content is built into the pages you visit, unless you visit them yourself. It also stops the Share, Like and Comment buttons of social networks from tracking you on other websites. To see who was blocked, choose Safari → Privacy Report.
Older guides also mention “Ask websites not to track me”. Apple removed that option in Safari 12.1, because the Do Not Track signal could itself be used to fingerprint a browser.
Hide IP address
Select it and choose from Trackers Only. Safari then hides your IP address from known trackers that load on the pages you visit. The second choice, from Trackers and Websites, also hides it from the websites themselves and needs iCloud Private Relay, which is part of a paid iCloud+ subscription.
Manage Website Data
This button lists every website that has stored cookies or other data on your Mac. You can remove the data of single websites or all of it. Removing it may sign you out of those websites. See how to disable and enable cookies in Safari for the steps.
Require Touch ID to view locked tabs
With this option selected, private windows lock when you lock the screen or leave them unused for a while, and open again only with Touch ID or your password. On a Mac without Touch ID the option is called “Require password to view locked tabs”. To lock private windows by hand, choose Window → Lock All Private Windows.
Security tab
Warn when visiting a fraudulent website
Keep it selected. Safari shows a warning before it opens a page that is suspected of phishing or of spreading malware. To check a page, Safari sends information calculated from the address to Google Safe Browsing and Apple. The address itself is not shared.
Warn before connecting to a website over HTTP
Select it. Safari then warns you before it loads a site over HTTP instead of HTTPS. HTTP is not a secure connection.
Enable JavaScript
Leave it selected. Websites use JavaScript for buttons, forms and other content, and some cannot work properly without it. Turning it off is a troubleshooting step, not a setting for daily use.
Advanced tab
Use advanced tracking and fingerprinting protection
This protection blocks connections to data collection companies that use advanced fingerprinting techniques, which identify your device from data gathered while you browse. It also removes known tracking parameters from web addresses. It is on in Private Browsing by default. To use it everywhere, choose in all browsing from the menu next to the option.
Some website features may be affected. If a page stops working, choose View → Reload Reducing Privacy Protections.
Block all cookies
Leave it deselected. With all cookies blocked you will likely not be able to sign in to websites, and the options above already deal with the cookies that track you.
Allow websites to check for Apple Pay and Apple Card
This is a privacy choice, not a protection. When it is selected, a website that offers Apple Pay can check whether you have Apple Pay set up and may then show the Apple Pay button. Deselect it if you do not want websites to learn that.
Allow privacy-preserving measurement of ad effectiveness
This lets advertisers measure how their ads perform without connecting the ad activity with you. According to Apple, the reports contain no personal data. Deselect the option if you do not want to take part.
Show full website address
Select it to see the whole address of a page in the address field instead of only the domain name. It is then easier to check exactly where you are before you type a password.
Websites tab
Here you decide what individual websites may do. Each item in the list on the left shows the websites you have already set, and a When visiting other websites menu at the bottom covers all the others.
- Camera, Microphone, Location and Screen Sharing. Choose Ask or Deny for other websites. Choose Allow only for single websites that need it, such as a video call service you use.
- Pop-up Windows. Choose Block and Notify. Safari blocks pop-up windows and shows an icon in the address field that you can click when you need one of them. Block hides them without notice.
- Notifications. Remove the websites you do not want notifications from, or set them to Deny. To stop websites from asking, deselect “Allow websites to ask for permission to send notifications”.
- Downloads. With Ask, a website has to ask before it can start a download.
- Content Blockers. This item works only together with a content blocker extension. See how to get rid of ads on Safari.
General tab
Open “safe” files after downloading
Deselect it. Otherwise Safari opens downloaded movies, pictures, sounds, text documents and archives by itself as soon as the download finishes. With the option off, a file stays in your downloads folder until you open it.
Remove history items
Choose how long Safari keeps your browsing history, from one day to one year, or Manually to keep it until you clear it.
Extensions
Choose Safari → Settings → Extensions and look through the list. Extensions may access the content of the web pages you visit, so uninstall the ones you do not use or do not recognize. In private windows, extensions that need access to websites are turned off unless you allow them.
Clear history and website data
Choose History → Clear History and pick how far back to clear. Safari removes the list of pages you visited, your recent searches, the list of downloads (not the files) and the lists of websites that asked for your location or for permission to send notifications. If iCloud is set up for Safari, the history is removed from your other Apple devices too.
To browse without leaving these traces in the first place, choose File → New Private Window. See how private browsing works on a Mac and what it does not hide.
A browser with these defaults built in
Safari keeps all of these choices once you have made them. If you would rather have a separate browser that starts clean every time, Kingpin, our private browser for Mac, blocks ads, trackers and third-party cookies by default, keeps cookies in memory only and by default remembers nothing after you quit. The price of that approach: it has no extensions, no sync and does not save passwords.