Safari's built-in pop-up blocker stops most unwanted windows automatically
Safari blocks pop-ups by default on both Mac and iPhone, so you likely do not need to change any settings. The browser's pop-up blocker catches most windows that open without you clicking a link, including ads, surveys, and fake alerts. If pop-ups still get through, you can strengthen the blocker or adjust which sites are allowed to show them.
The steps differ slightly between Mac and iPhone because the settings live in different places. On Mac, you control pop-ups through Safari's preferences. On iPhone, the setting is in the main Settings app, not inside Safari itself.
Key Takeaways
- Safari blocks pop-ups automatically by default, so most users do not need to change anything.
- On Mac, open Safari Preferences, go to Security, and check that "Block pop-up windows" is turned on.
- On iPhone, open Settings, scroll to Safari, and turn on "Block Pop-ups" if it is off.
- You can allow pop-ups from specific websites by visiting the site, clicking the pop-up icon in the address bar, and selecting "Always Allow Pop-ups on This Website".
- If a website needs pop-ups to work properly, you can turn off the blocker temporarily or add that site to your exceptions.
Turning on the pop-up blocker in Safari on Mac
Open Safari and click Safari in the menu bar at the top of the screen. Select Preferences (or Settings on newer macOS versions). Click the Security tab.
Look for the checkbox labeled "Block pop-up windows" and make sure it is checked. If it is already checked, the blocker is on and working. Close the preferences window when you are done.
If you have already checked this box and pop-ups are still appearing, the issue may be that you previously allowed pop-ups on that specific website. You can remove individual sites from the exceptions list by going back to Security preferences, finding the site in the list, and clicking the minus button next to it.
Turning on the pop-up blocker in Safari on iPhone
Open the Settings app on your home screen. Scroll down and tap Safari. Look for the toggle labeled "Block Pop-ups" and turn it on if it is off (the toggle will be green when on).
This setting controls pop-ups across all websites you visit in Safari on that iPhone. Unlike the Mac version, iPhone does not show you a list of exceptions — if you allow pop-ups on a site, they stay allowed until you turn off the blocker entirely or clear your Safari data.
Allowing pop-ups on websites that need them
Some websites use pop-ups for legitimate functions like opening documents, playing videos, or showing login windows. When Safari blocks a pop-up on a site that needs it, a small icon appears in the address bar — usually a circle with a line through it or a pop-up symbol.
On Mac, click that icon and select "Always Allow Pop-ups on This Website". On iPhone, tap the icon and choose the same option. The site will now be able to open pop-ups without triggering the blocker. If you change your mind later, you can remove the site from exceptions by going back to Safari settings and clearing the list.
Clearing pop-up exceptions if you change your mind
On Mac, go to Safari Preferences, click Security, and look for a button labeled "Manage Website Settings" or a list of sites with pop-up permissions. Select any site you want to remove and click the minus button, then close the window.
On iPhone, there is no direct way to remove individual sites from the exceptions list through Settings. Instead, you can clear all Safari data by going to Settings > Safari > Clear History and Website Data, then choosing what time period to clear. This removes all exceptions along with your browsing history and cookies, so use it only if you are comfortable starting fresh with that data.
What to do if pop-ups still appear after blocking is on
If pop-ups continue to show up even with the blocker enabled, they may be coming from a source other than the website itself. Some pop-ups are actually part of the webpage content and not technically "pop-up windows," so the blocker cannot stop them. These appear as banners, overlays, or ads embedded directly in the page.
For those, you have two options: use a content blocker extension (a separate tool you can add to Safari), or simply close the pop-up by clicking the X button if one is visible. Content blockers are available in the App Store and can be enabled in Safari settings under Extensions, but they require you to trust the extension maker with your browsing data.
Differences between Mac and iPhone pop-up blocking
Mac's pop-up blocker is more detailed — it shows you which sites have exceptions and lets you remove them one at a time. iPhone's blocker is simpler but less transparent; you cannot see which sites are allowed to show pop-ups without visiting them again.
Both versions block the same types of pop-ups and use the same basic approach: stopping windows that open without a user click. The main practical difference is that on Mac you have finer control over exceptions, while on iPhone you either allow pop-ups globally or clear all exceptions at once.
Frequently Asked Questions
Why do some websites say I need to disable the pop-up blocker?
Some older websites or services rely on pop-ups to display important information, like a login window or a document viewer. If a site tells you to turn off the blocker, you can instead click the pop-up icon in the address bar and select "Always Allow Pop-ups on This Website" — this is safer than turning off the blocker entirely.
Can I block pop-ups on only certain websites?
Safari does not work that way. The blocker is either on for all sites or off for all sites. You can allow pop-ups on specific sites by adding them to exceptions, but you cannot block pop-ups on some sites while allowing them on others without using a third-party content blocker extension.
Do I need a separate app or extension to block pop-ups?
No. Safari's built-in blocker handles most pop-ups without any additional tools. Extensions are only useful if you want to block embedded ads and banners that are not technically pop-up windows, or if you want more detailed control over which sites can show what.
Will blocking pop-ups slow down Safari?
No. The pop-up blocker has no noticeable effect on Safari's speed. It simply prevents certain windows from opening, which actually saves resources rather than using them.
What if I accidentally allowed pop-ups on a website and want to undo it?
On Mac, go to Safari Preferences > Security and remove the site from the list. On iPhone, your only option is to clear all Safari data, which also removes your browsing history and cookies. Consider whether that trade-off is worth it before clearing.