Safari does not block ads on its own. To remove ads from websites you add a content blocker, which is a Safari extension from the App Store. Safari’s built-in tools cover the rest: it can block pop-up windows, stop videos from starting by themselves, show an article without the clutter around it and hide single items on a page.
Install a content blocker
A content blocker is an extension that stops ads and other unwanted content from appearing on websites. Apple calls the App Store the safest way to get extensions: they are reviewed by Apple and can update automatically.
- In Safari, choose Safari → Safari Extensions. The App Store opens on the Safari Extensions page.
- Pick a content blocker, click Get or the price, then click Install.
- Click Open and follow the instructions the app shows.
- Choose Safari → Settings → Extensions and select the checkbox next to the extension’s name to turn it on.
These content blockers are in the Mac App Store and are actively maintained. The list is in alphabetical order and is not a ranking. Check the system requirements on each App Store page.
- AdBlock for Safari: Mac only. Ad blocking in Safari is free. A paid subscription adds a VPN.
- AdGuard Mini (formerly AdGuard for Safari): Mac only. Blocking ads and trackers is free. Custom filters and real-time filter updates are a paid upgrade.
- uBlock Origin Lite: free, for Mac, iPhone and iPad. Its default rules match the default filter lists of uBlock Origin, including EasyList and EasyPrivacy.
- Wipr 2: paid, one purchase for Mac, iPhone and iPad. Its blocklist updates automatically and there is little to set up. An add-on that extends blocking to other apps is sold separately.
Three things to know once a blocker is installed:
- Turn it off for one website. If a page stops working, choose Safari → Settings → Websites → Content Blockers and set that website to Off.
- Private windows. On macOS 14 Sonoma and later, extensions that need access to websites are turned off in private windows. To use one there, select it in Safari → Settings → Extensions and select Allow in Private Browsing.
- Trust. Extensions may access the content of the web pages you visit, so install only what you need and uninstall what you no longer use. More on that in our post on whether AdBlock is a safe browser extension.
Block pop-up windows
Pop-up blocking is built into Safari. It stops new windows that a website opens by itself. It does not remove ads inside the page.
- Choose Safari → Settings and click Websites.
- Click Pop-up Windows in the list on the left. You may have to scroll to the bottom of the list.
- If websites are listed under Configured Websites with a setting you no longer want, select them and click Remove.
- Click the When visiting other websites menu and choose Block and Notify or Block.
With Block and Notify, Safari shows an icon in the address field when it blocked a pop-up. Click it to open the pop-up if you need it, for example on a bank website that shows statements in a pop-up window.
Read articles in Reader
Reader shows an article on one page, formatted for easy reading and without the site’s navigation or other distractions. Click the Page Menu button in the address field and choose Show Reader, or press Shift-Command-R. The command is available only when the page contains an article that Reader can show. Press Esc to leave Reader.
To open a website in Reader every time, choose Safari → Settings → Websites → Reader and set the website to On.
Hide Distracting Items
On macOS 15 Sequoia and later, Safari can hide a single item on a page until you ask for it back.
- Click the Page Menu button in the address field and choose Hide Distracting Items.
- Move the pointer over the page. Safari draws a border around each item you can hide. Click the item to hide it.
- Click Done.
This is not an ad blocker. Apple says the feature does not permanently hide ads or other items that update frequently, and that it works best with items that do not change. To bring items back, click the Page Menu button and choose Show Hidden Items.
Stop videos that play by themselves
Choose Safari → Settings → Websites → Auto-Play. In the When visiting other websites menu, choose Never Auto-Play to stop all videos from starting on their own, or Stop Media with Sound to allow only silent ones. Video ads are still on the page, but they no longer start by themselves.
Limit ad tracking
Choose Safari → Settings → Privacy and keep Prevent cross-site tracking selected. This does not remove any ads. It keeps advertisers from following you from one website to another, which is what makes ads for a product you looked at appear on other sites. The other options are explained in our guide to Safari privacy and security settings.
If ads appear everywhere or pop-ups will not go away
Pop-ups that return whatever you set, and ads that show up as notifications in the corner of the screen, can come from adware or from a website that is allowed to send notifications. Apple’s article on pop-up ads in Safari lists what to check:
- Install the latest macOS update, or restart your Mac if it is already up to date. macOS includes a built-in tool that removes known malware during a restart.
- Look in the Applications folder for apps you did not expect and delete them.
- Choose Safari → Settings → Extensions and uninstall extensions you do not need.
- Choose Safari → Settings → Websites → Notifications and remove websites you do not want notifications from.
If the ad is a warning that tells you to call a phone number, see how to remove the “Suspicious activity detected” scam alert.
A browser with ad blocking built in
The other route is a browser that blocks ads without an extension. Kingpin, our private browser for Mac, blocks ads and trackers by default with the EasyList, EasyPrivacy and uBlock Origin filter lists, and you can switch blocking off for a single website. It is a paid app and it has no extensions, so you cannot add other tools to it. Our overview of browsers for Mac describes more alternatives to Safari.