The fastest way to block most pop-ups

Most modern browsers have a built-in pop-up blocker that works automatically — you likely have one running right now without doing anything. Chrome, Firefox, Safari, and Edge all block pop-ups by default. The problem is that some pop-ups still get through, and some websites deliberately disable the blocker or use tricks to show ads that look like system warnings.

If pop-ups are still appearing, your first step is to check whether your browser's blocker is actually on. In Chrome, click the three-line menu in the top right, go to Settings, then Privacy and Security, then Site Settings, then Pop-ups and redirects. Make sure "Blocked (recommended)" is selected. In Firefox, go to Settings, Privacy & Security, and scroll down to Permissions — make sure "Block pop-up windows" is checked. Safari users go to Safari menu, Settings, Security tab, and check "Block pop-up windows."

Key Takeaways

  • Your browser's built-in pop-up blocker is on by default in Chrome, Firefox, Safari, and Edge, but you should verify it is enabled in your settings.
  • Some websites you trust may ask permission to show notifications — these can mimic pop-ups and should be blocked unless you actually want them.
  • Browser extensions like uBlock Origin and Adblock Plus block pop-ups more aggressively than the built-in blocker, but they also block ads on every website.
  • Malware and unwanted programs on your computer can generate pop-ups that your browser cannot stop — running a scan with Malwarebytes or Windows Defender may be necessary.
  • Some pop-ups are legitimate security warnings from your browser or operating system, and closing them without reading can leave you vulnerable.

Blocking notifications that pretend to be pop-ups

Websites can ask your browser for permission to send you notifications — small messages that appear in the corner of your screen even when you are not on that website. Many sites abuse this by sending fake security warnings or ads that look like system alerts. These are not pop-ups in the traditional sense, so your pop-up blocker does not stop them.

To see which sites have notification permission, go to your browser settings and find the Notifications section. In Chrome, this is Settings > Privacy and Security > Site Settings > Notifications. You will see a list of websites that can send you notifications. Remove any you do not recognize or do not want. If a site asks for notification permission and you do not want it, click "Block" instead of "Allow."

Using a browser extension for stronger blocking

If your browser's built-in blocker is on and you are still seeing pop-ups, a browser extension can catch more aggressive ones. uBlock Origin is free and blocks pop-ups, ads, and tracking scripts. Adblock Plus is another option that works similarly. Both are available for Chrome, Firefox, Safari, and Edge.

Install the extension from your browser's official store (Chrome Web Store, Firefox Add-ons, etc.), and it runs in the background. Most pop-ups will disappear when ready. Some websites detect ad blockers and ask you to turn them off — you can choose to do that on sites you trust, or you can leave the blocker on and use a different site.

Be aware that these extensions block ads across the entire web, not just pop-ups. If a website you like depends on ad revenue, consider turning off the extension for that site only.

Checking for malware if pop-ups keep appearing

If pop-ups continue even with your browser blocker on and no extensions installed, malware or unwanted software on your computer may be generating them. This is different from web-based pop-ups — your browser cannot block something that is running on your system itself.

Run a full scan with Windows Defender (built into Windows) or Malwarebytes (free version available). Windows Defender: open Windows Security, click Virus & threat protection, then Scan options, select Full scan, and click Scan now. Malwarebytes: read from malwarebytes.com, install it, open the program, and click Scan. Both will take 15 to 45 minutes depending on how much is on your disk. If either finds something, follow the prompts to remove it.

After the scan, restart your computer and check whether the pop-ups are gone. If they persist, the unwanted program may have hidden itself — consider running the scan again or asking for help from someone who knows computer repair.

Telling the difference between real warnings and fake ones

Not every pop-up is something to block. Your browser and operating system show legitimate security warnings — for example, when a website is not find, or when you are about to read a file that could be dangerous. These warnings come from your browser or Windows itself, not from the website you are visiting, and they have specific visual markers.

Real browser warnings appear in a straightforward dialog box with the browser's name and logo. Real Windows warnings come from the Windows Security app or appear in a system dialog. Fake warnings often use urgent language ("Your computer is infected," "Act now," "Click here to fix"), bright colors, or buttons that are hard to close. If you are not sure, close the pop-up by clicking the X button in the corner — never click inside the pop-up itself.

Adjusting settings on specific websites

Some websites you use regularly may have legitimate reasons to show pop-ups — for example, a notification that your order shipped, or a login prompt. If you trust the site and want to allow pop-ups there while blocking them everywhere else, you can add it to an exception list.

In Chrome, go to Settings > Privacy and Security > Site Settings > Pop-ups and redirects, and look for the "Allow" section. Add the website URL there. In Firefox, the process is similar: Settings > Privacy & Security > Permissions > Pop-up Windows, then add the site. This way, only that site can show pop-ups, and everything else stays blocked.

Frequently Asked Questions

Why does my browser say it blocked a pop-up?

Your browser shows a notification at the top of the page when it blocks a pop-up, so you know something tried to open. You do not need to do anything — the pop-up is already gone. If you actually wanted to see what the pop-up said, you can click the notification to allow it, but usually you can ignore it.

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-dot menu, go to Settings, then Site Settings, then Pop-ups, and make sure it is set to Block. The process is similar in Firefox for Android.

What if a website I need says I have to turn off my ad blocker?

You can add that website to your ad blocker's exception list so it shows ads and pop-ups there, while everything else stays blocked. In uBlock Origin, click the extension icon on that website, then click the power button to turn it off for that site only. Refresh the page and the website should work.

Is it safe to click the X button on a pop-up?

Yes, clicking the X in the corner of a pop-up is safe. Never click inside the pop-up itself or on any button that says "Click here" or "read" — those are designed to trick you. The X button closes it without doing anything else.

Do I need both a browser blocker and an extension?

No. Your browser's built-in blocker handles most pop-ups. An extension is only necessary if pop-ups are still getting through after you have verified the browser blocker is on. Using both at once does not help much and can slow your browser down slightly.