How to Block Pop-Up Ads in Safari
In this article
Pop-up ads in Safari can be annoying and sometimes dangerous, as they may lead to phishing sites or unwanted downloads. By default, Safari blocks many pop-ups, but some slip through, especially on certain websites. This guide shows you how to enable Safari's built-in pop-up blocker, manage exceptions, and use additional tools to stop pop-ups on iPhone, iPad, and Mac.
What You'll Need
- An iPhone, iPad, or Mac with Safari installed (comes pre-installed).
- For Mac: macOS Ventura or later for the steps below; earlier versions have similar options.
- For iOS/iPadOS: iOS 15 or later.
- Optional: A content blocker app from the App Store (for extra protection).
Step-by-Step
On iPhone and iPad
- Open the Settings app on your device.
- Scroll down and tap Safari (or Apps > Safari on newer iOS versions).
- Under the General section, find the toggle for Block Pop-ups and switch it on (green).
- If you want to reduce other intrusive ads, also enable Fraudulent Website Warning (usually on by default).
- Close Settings. Safari will now block most pop-ups automatically.
On Mac
- Open Safari on your Mac.
- From the menu bar at the top, click Safari > Settings (or Preferences in older macOS).
- Click the Websites tab.
- In the left sidebar, select Pop-up Windows.
- You'll see a list of websites. For each site, choose Block from the dropdown menu. To block pop-ups on all sites by default, set the When visiting other websites dropdown to Block.
- Close the settings window. The changes apply immediately.
Using a Content Blocker (Optional)
- Go to the App Store on your device.
- Search for a reputable content blocker, such as AdGuard, 1Blocker, or Wipr (these are examples; many exist).
- Download and install the app.
- Open the app and follow its setup instructions. Usually, you'll need to enable the blocker in Safari's settings.
- On iPhone/iPad: Go to Settings > Safari > Extensions (or Content Blockers) and enable the extension.
- On Mac: Open Safari > Settings > Extensions and check the box next to the blocker.
Common Mistakes
- Not enabling the built-in blocker: Many users assume Safari blocks all pop-ups by default, but the setting can be turned off. Check that it's on.
- Using the wrong settings on Mac: On Mac, the pop-up blocker is per-website, not a global toggle. You must set the default to "Block" and also block specific sites.
- Forgetting to update iOS/macOS: Older versions of Safari may have weaker pop-up blocking. Keep your system updated.
- Installing too many extensions: Some content blockers conflict with each other or with Safari's built-in features, causing issues.
Tips
- If a website legitimately needs pop-ups (e.g., a bank login or a school portal), you can allow them for that specific site. On Mac, in the same Pop-up Windows settings, choose Allow for that site. On iPhone/iPad, you can temporarily disable the blocker while visiting the site, then re-enable it.
- Use a content blocker that also blocks other ads and trackers, which can reduce the chance of pop-ups appearing.
- Be cautious about clicking links that claim to "close" or "dismiss" a pop-up—they may open more. Instead, close the entire tab or window.
- Clear your Safari history and website data periodically, as some pop-ups are triggered by tracking cookies.
Troubleshooting
If pop-ups still appear after following the steps:
- Check if the pop-up is actually a new tab: Sometimes Safari opens a new tab instead of a pop-up window. The built-in blocker may not prevent this. In that case, close the tab and avoid clicking on the trigger.
- Restart Safari: Quit Safari completely (on Mac, press Cmd+Q; on iPhone, swipe it away from the app switcher) and reopen it.
- Restart your device: A simple restart can clear temporary glitches.
- Reset Safari settings: On iPhone/iPad, go to Settings > Safari > Clear History and Website Data. On Mac, Safari > Settings > Privacy > Manage Website Data > Remove All. This will log you out of websites and may remove the cause.
- Disable extensions one by one: If you have multiple extensions, disable them all, then re-enable one at a time to see which one is causing the issue.
- Check for malware: If pop-ups appear even on the home page or outside of Safari, your device may have a profile or app that is causing them. Go to Settings > General > VPN & Device Management on iOS, or System Settings > Profiles on Mac, and remove anything suspicious.
Frequently Asked Questions
Why do I still see pop-ups even with the blocker on?
Some pop-ups are not technically "pop-up windows" but are instead new tabs or in-page overlays. Safari's built-in blocker only stops separate windows, not these other types. A content blocker can help with in-page ads.
Does the pop-up blocker work on all websites?
It works on most, but some sites use scripts that bypass it. Also, if you have previously allowed pop-ups for a specific site, they will still appear.
Will blocking pop-ups break websites?
Rarely. Some legitimate sites (like banking or ticketing) use pop-ups for important functions. If a site doesn't work correctly, you can allow pop-ups for that site individually.
Can I allow pop-ups for a specific site on iPhone?
Yes. While on the site, tap the "aA" icon in the address bar, then select Website Settings, and toggle off Block Pop-ups. Or, you can disable the global blocker temporarily.
Is it safe to click on a pop-up that says my device is infected?
No. These are scams. Close the entire tab or window immediately. Do not call any number or download any software they suggest.
Do content blockers slow down Safari?
Generally, no. They may slightly increase page load time because they filter content, but the difference is usually unnoticeable. Some blockers are more efficient than others.