How to Block Pop-up Windows in Safari on Mac

Unexpected pop-up windows advertising unwanted software, surveys, or promotional offers disrupt your reading flow and can pose security risks. Apple Safari includes a native pop-up blocker that prevents unprompted browser windows from opening automatically while still allowing you to permit legitimate pop-ups—such as banking authentication portals or university document viewers—on a site-by-site basis.

Enabling the Global Pop-up Blocker in Safari

You can enforce a blanket rule blocking pop-up windows across all web browsing sessions in Safari’s preferences.

  1. Launch Safari on your Mac.
  2. Click Safari in the top Apple menu bar and choose Settings (or Preferences on older macOS versions, or press Cmd + ,).
  3. Click the Websites tab at the top of the settings window.
  4. In the left sidebar menu, scroll down to the General section and select Pop-up Windows.
  5. Look at the bottom-right corner of the window for the setting labelled When visiting other websites.
  6. Click the drop-down menu and choose Block and Notify (or Block).

Choosing “Block and Notify” ensures pop-ups are suppressed by default, while displaying an icon in the Smart Search field so you can choose to view legitimate dialogs when required.

If you frequently download files while browsing, see our companion tutorial on how to change the default download location in Safari on Mac.

Allowing Pop-ups for Specific Trusted Websites

Certain educational portals, corporate intranets, and financial websites require pop-up windows to display tax forms or statements:

  1. While viewing the target website in Safari, open Safari Settings > Websites > Pop-up Windows.
  2. The website you currently have open will appear in the Currently Open Websites list at the top.
  3. Click the drop-down menu beside the domain name and select Allow.
  4. Reload the webpage. Legitimate pop-up windows will now open seamlessly without compromising security on other domains.

Quickly Toggling Permissions from the Smart Search Field

You can also adjust permissions directly without digging through system menus:

  1. Right-click (or hold Control and click) in the address bar on any active site.
  2. Select Settings for This Website….
  3. Beside Pop-up Windows, choose Allow, Block, or Block and Notify.

For more everyday browser customisations, discover how to show the Home button on Google Chrome toolbar.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.