Pop-up ads come from websites you visit, not from your computer itself, so blocking them means changing your browser settings or installing a blocker

Pop-ups appear because websites embed code that launches them when you land on the page. Your browser is designed to let websites do this by default. You have three main ways to stop them: adjust your browser's built-in pop-up blocker (which most browsers have but don't always enable), install a browser extension that blocks ads, or change how you browse to avoid sites that use aggressive pop-up tactics.

The built-in blockers in Chrome, Firefox, Safari, and Edge work reasonably well for most pop-ups, though some websites find ways around them. Extensions like uBlock Origin or Adblock Plus catch more, but they also slow your browser slightly and can break some websites. The trade-off is worth it if you see pop-ups constantly, but if you only hit them occasionally, your browser's native blocker may be enough.

Key Takeaways

  • Most browsers have a pop-up blocker built in, but you may need to turn it on in Settings — Chrome and Firefox have it on by default, but Safari and Edge require you to enable it manually.
  • Browser extensions like uBlock Origin block more pop-ups than native blockers but can slow your browser and occasionally break website features.
  • Pop-ups that appear even with a blocker on are often from websites you have already visited and allowed notifications from — you can revoke those permissions in your browser settings.
  • Closing a pop-up by clicking the X button is safe; clicking anywhere else on the pop-up can trigger the ad or download malware.

Enable your browser's built-in pop-up blocker

Every major browser ships with a pop-up blocker, but not all of them turn it on by default. Check your settings first before installing anything else.

Chrome: Open Chrome, click the three vertical dots in the top right, select Settings, then Privacy and Security. Click Site Settings, then Pop-ups and redirects. Make sure "Blocked (recommended)" is selected. If a website you trust needs pop-ups to work, you can add it to the Allow list on this same page.

Firefox: Open Firefox, click the hamburger menu (three horizontal lines) in the top right, select Settings, then Privacy & Security. Scroll to Permissions and look for Pop-ups. Make sure "Block pop-up windows" is checked.

Safari: Open Safari, click Safari in the menu bar, then Preferences. Click the Security tab. Check the box next to "Block pop-up windows." This setting is off by default on Safari, which is why you may see more pop-ups there than in other browsers.

Edge: Open Edge, click the three dots in the top right, select Settings, then Privacy, search, and services. Scroll to Site permissions and click Pop-ups and redirects. Make sure it is set to "Block."

Install a browser extension to catch more pop-ups

If your browser's native blocker is not catching everything, a third-party extension will block more, though it comes with a small performance cost. The most widely used options are uBlock Origin (free, open-source, and lightweight) and Adblock Plus (free, with an optional paid version).

uBlock Origin: Go to the Chrome Web Store, Firefox Add-ons, or Edge Add-ons (depending on your browser), search for "uBlock Origin," and click Add to Browser. Once installed, you will see a small shield icon in your toolbar. It works automatically — no configuration needed. If a website breaks because of it, click the shield icon and toggle the power button off for that site only.

Adblock Plus: Search for "Adblock Plus" in your browser's extension store and click Add. It blocks pop-ups and banner ads by default. You can customize what it blocks by clicking the extension icon and adjusting the filter lists, but the default settings work for most people.

Both extensions are free and safe. They make money by allowing some "acceptable ads" to pass through (ads that meet certain size and placement standards), but you can disable this in settings if you want to block everything. Installing either one will noticeably reduce pop-ups, though some websites may detect ad blockers and ask you to disable them to view content.

Stop notifications that act like pop-ups

Some of the "pop-ups" you see are actually browser notifications from websites you have already visited. These appear as small boxes in the corner of your screen or as full-screen messages, and they come from sites that you once clicked "Allow" on when they asked for permission to send notifications.

To stop them, go to your browser's notification settings and revoke permission from the sites sending them. In Chrome, click the three dots, go to Settings > Privacy and Security > Site Settings > Notifications. You will see a list of websites allowed to send notifications. Click the three dots next to any site and select Remove. Do the same in Firefox (Settings > Privacy & Security > Permissions > Notifications) and Safari (Preferences > Websites > Notifications).

If you see a notification pop-up asking for permission to send notifications, click "Block" or "Don't Allow" rather than "Allow." You can always change your mind later if a site genuinely needs to notify you about something important.

Close pop-ups safely

When a pop-up does appear despite your blocker, close it correctly. Look for a small X button, usually in the top right corner of the pop-up window. Click only that X. Do not click anywhere else on the pop-up — clicking the main content or buttons can trigger the ad, download a file, or in rare cases, expose you to malware.

If there is no visible close button, try pressing the Escape key on your keyboard. If the pop-up is a full-screen overlay, you can also try closing the entire browser tab (right-click the tab and select Close Tab) if the pop-up is the only thing on that tab.

Some malicious pop-ups mimic system warnings or claim your computer has a virus. These are scams. Do not click anything on them. Close the tab or use Escape, and do not visit that website again.

Avoid websites known for aggressive pop-ups

Some websites use pop-ups as their primary business model and will find ways around blockers. Streaming sites, free movie sites, and some download sites are common culprits. If you find yourself on a site with constant pop-ups even with a blocker on, the simplest solution is to leave and find an alternative.

Legitimate news sites, shopping sites, and software companies rarely use aggressive pop-ups. If a site you use regularly has started showing more pop-ups, it may have changed ownership or been compromised. Check the URL carefully to make sure you are on the real site and not a lookalike.

Frequently Asked Questions

Will a pop-up blocker slow down my browser?

Your browser's built-in blocker has almost no impact on speed. Third-party extensions like uBlock Origin have a tiny impact — most people do not notice it — but Adblock Plus can be slightly slower on pages with many ads. If speed matters more than blocking every ad, stick with your browser's native blocker.

Can I block pop-ups on my phone?

Yes. On iPhone, open Settings, scroll to Safari, and toggle on "Block Pop-ups." On Android, open Chrome, tap the three dots, go to Settings > Site Settings > Pop-ups, and make sure it is set to Block. Mobile browsers are generally better at blocking pop-ups than desktop browsers because websites have less control over the mobile experience.

What if a website says I need to disable my pop-up blocker to use it?

Some legitimate websites do require pop-ups for certain features — login windows, file uploads, or chat boxes. If you trust the site, you can temporarily disable your blocker for it. In Chrome, click the shield icon in the address bar and toggle it off. In Firefox, click the shield icon and select "Disable protection on this page." You can re-enable it once you are done.

Are pop-up blockers safe to use?

Yes. Built-in blockers are part of your browser and are safe by default. Widely used extensions like uBlock Origin and Adblock Plus are open-source and reviewed by thousands of people, so they are safe too. Avoid unknown or obscure ad blockers from sources you do not recognize.

Why do some pop-ups still get through my blocker?

Websites constantly update their code to work around blockers, so no blocker catches 100 percent of pop-ups. Some pop-ups are actually notifications from sites you have already allowed. Others are triggered by clicking a link or button, not by the page loading. If you see a lot of pop-ups on one site, try a different browser or extension, or simply avoid that site.