Popups are usually ads, but some are malware — here's how to block them

A popup is a window that opens on top of what you're looking at without you clicking anything to make it appear. Most are advertisements, but some carry malware or trick you into downloading something harmful. You can stop most popups at the browser level without installing extra software, though the method depends on which browser you use and how aggressive the popups are.

The fastest fix is to turn on your browser's built-in popup blocker — all major browsers have one and it's usually on by default. If popups still get through, you can add a browser extension that catches the ones the built-in blocker misses. If popups are coming from a website you visit often, you may need to add that site to an exception list so you can see legitimate popups there while blocking them everywhere else.

Key Takeaways

  • Chrome, Firefox, Safari, and Edge all have popup blockers built in; check your settings to confirm it's turned on.
  • If your browser's blocker isn't catching everything, add a browser extension like uBlock Origin or Adblock Plus, which block ads and popups more aggressively.
  • Some websites need popups to work properly — banking sites, email, video players — so you may need to allow popups on those specific sites.
  • Popups that appear even when you're not using your browser, or that you can't close, usually mean malware is installed on your device and need a different fix.

Turn on your browser's built-in popup blocker

Every major browser blocks popups by default, but the setting can be turned off. Open your browser settings and look for "Privacy and security" or "Security" — the exact name varies by browser. Search the page for "popup" and make sure the toggle is on. This blocks most popups automatically.

If the blocker is already on and popups are still appearing, the popups may be coming from a site you've allowed, or they may be aggressive enough to slip past the basic blocker. Move to the next step.

Add a browser extension for stronger popup blocking

uBlock Origin is the most widely used popup and ad blocker. It's free, open source (meaning anyone can inspect the code), and available for Chrome, Firefox, Safari, and Edge. Install it from your browser's extension store, and it starts blocking popups and ads when ready without any setup needed.

Adblock Plus is another option that works similarly. Both extensions block more aggressively than your browser's built-in blocker, catching popups that slip through. The trade-off is that some websites detect ad blockers and ask you to turn them off before you can read the page — that's a choice you make each time.

Install only one popup blocker extension. Running two at once can slow your browser and cause conflicts. If you install a new one, remove the old one first.

Allow popups on specific websites that need them

Some websites use popups for legitimate functions: banks use them for security prompts, email services use them for notifications, video players use them for controls. If a site isn't working properly, the popup blocker may be the reason.

In most browsers, you can right-click the address bar and look for "Manage popups for this site" or similar language, or you can add the site to an exception list in your popup blocker settings. This lets popups through on that one site while blocking them everywhere else.

Popups that won't go away usually mean malware, not just ads

If popups appear even when you're not using your browser, or if you can't close them by clicking the X button, the problem is likely malware installed on your device rather than a website issue. Browser settings and extensions won't stop these because they're not coming from the web — they're coming from a program on your computer.

Run a malware scan using Windows Defender (built into Windows) or Malwarebytes (a free tool you read). Restart your device in Safe Mode first if the popups are severe, then run the scan. If malware is found, the scanner will remove it. After removal, restart your device normally and the popups should be gone.

What to do if a popup asks you to read something

Never click "read" or "Install" on a popup unless you opened it intentionally. Popups that ask you to update software, scan for viruses, or install a plugin are often malware disguised as legitimate tools. Close the popup by clicking the X button or pressing Escape on your keyboard.

If the popup won't close, close the entire browser window. If you genuinely need to update software, go directly to the official website instead of clicking a popup — for example, go to adobe.com to update Adobe Reader, not through a popup that claims to be from Adobe.

Frequently Asked Questions

Why do some websites still show popups even with my blocker on?

Some websites detect popup blockers and disable them, or they use popups that are technically part of the page rather than separate windows. You can add that site to your blocker's exception list if you trust it, or you can accept the popups as the cost of using that site. If the popups are aggressive or suspicious, it's often safer to find a different website.

Is it safe to use a popup blocker extension?

uBlock Origin and Adblock Plus are both safe and widely used. They don't collect your browsing data or inject ads of their own. Avoid lesser-known extensions that promise to block popups but have few reviews — some of those are malware themselves. Stick to extensions from the official browser store with thousands of positive reviews.

Can I block popups on my phone?

Most phones have popup blockers built into their browsers. On iPhone, open Settings, scroll to Safari, and turn on "Block Pop-ups". On Android, open Chrome, tap the three-dot menu, go to Settings, then Privacy, and turn on "Block pop-ups". If popups persist, you can add a browser extension like Firefox Focus, which blocks ads and popups by default.

What if a popup says my device has a virus?

This is a scam. Popups cannot scan your device or detect viruses — only software installed on your computer can do that. Close the popup and ignore it. Do not click anything on it or call any number it displays. If you're worried about malware, run Windows Defender or Malwarebytes yourself instead.

Do I need to pay for a popup blocker?

No. uBlock Origin, Adblock Plus, and your browser's built-in blocker are all free. Paid popup blockers exist but offer no real advantage over free ones. If you see an ad for a paid popup blocker, it's usually trying to sell you something you don't need.