Most browsers have a built-in pop-up blocker you can turn on in settings

Your web browser—whether it's Chrome, Firefox, Safari, or Edge—comes with a pop-up blocker already installed. In most cases it's turned on by default, but if pop-ups are still getting through, you may need to check your settings or adjust them. The steps differ slightly depending on which browser you use, but the principle is the same: you tell the browser to refuse requests from websites that try to open new windows without your click.

Pop-ups fall into two categories. Some are legitimate—a website asking you to confirm something, or a login window you actually need. Others are ads, fake warnings, or scams designed to trick you into clicking. A good blocker stops the unwanted ones while letting through the ones the website genuinely needs to function.

Key Takeaways

  • Chrome, Firefox, Safari, and Edge all have built-in pop-up blockers that you can enable or adjust in browser settings under Privacy or Security.
  • If a pop-up blocker is already on but pop-ups still appear, you may need to clear your browser cache, disable extensions that interfere, or check for malware on your computer.
  • You can allow pop-ups from specific websites you trust while blocking them everywhere else by adding those sites to your browser's exceptions list.
  • Third-party ad blockers like uBlock Origin or Adblock Plus offer stronger filtering than built-in blockers but require installation as browser extensions.

How to enable pop-up blocking in Chrome

Open Chrome and click the three vertical dots in the top right corner. Select Settings, then click Privacy and security in the left sidebar. Look for the section labeled Site settings and click it. Scroll down until you see Pop-ups and redirects, then click that option.

You should see a toggle switch next to "Blocked (recommended)". If it's already blue and switched on, your pop-up blocker is active. If it's gray, click it to turn blocking on. You can also scroll down on this same page to see a list of websites you've allowed to show pop-ups—remove any you no longer trust by clicking the X next to the site name.

How to enable pop-up blocking in Firefox

Click the three horizontal lines (hamburger menu) in the top right corner and select Settings. In the left sidebar, click Privacy & Security. Under the section labeled Permissions, look for Pop-ups. The checkbox next to "Block pop-up windows" should be checked. If it's not, click it to enable blocking.

Below that checkbox, you'll see a Exceptions button. Click it if you want to see which websites you've allowed to show pop-ups, or to add a new site to the exceptions list. To remove a site from the list, select it and click Remove Website.

How to enable pop-up blocking in Safari

Click Safari in the menu bar at the top of your screen, then select Settings (or Preferences on older macOS versions). Click the Security tab. You should see a checkbox labeled Block pop-up windows—make sure it's checked. If it's not, click it to turn on blocking.

Safari's pop-up blocker is simpler than Chrome or Firefox and doesn't have a separate exceptions list. If a website you trust needs to show you a pop-up, you can temporarily disable the blocker, visit that site, then turn it back on.

How to enable pop-up blocking in Microsoft Edge

Click the three dots in the top right corner and select Settings. In the left sidebar, click Privacy, search, and services. Scroll down to the section labeled Site permissions and click Pop-ups and redirects. Toggle the switch to Block (the default setting).

Like Chrome, Edge lets you add exceptions for websites you trust. On the same page, scroll down to Allow and click Add to whitelist a specific site. This way that website can show pop-ups while all others remain blocked.

What to do if pop-ups still appear even with blocking turned on

If your pop-up blocker is on but you're still seeing unwanted windows, the problem usually falls into one of three categories: browser cache and cookies, interfering extensions, or malware on your computer.

Start by clearing your browser cache. In Chrome, Firefox, and Edge, press Ctrl + Shift + Delete (or Command + Shift + Delete on Mac). Select "All time" from the time range dropdown, check the boxes for "Cookies and other site data" and "Cached images and files", then click Clear data. In Safari, click Safari in the menu bar, select Settings, click the Privacy tab, and click Manage Website Data, then Remove All.

Next, check your browser extensions. Pop-up blockers work best when you don't have too many other extensions running at once—some can conflict with each other. Open your extensions menu (usually a puzzle piece icon in the top right) and disable any extensions you don't actively use. If pop-ups stop appearing after you disable one, that extension was the culprit; you can uninstall it or leave it disabled.

If clearing cache and disabling extensions doesn't help, your computer may have malware. Run a full scan with Windows Defender (built into Windows) or your antivirus software. Malware can inject pop-ups that bypass browser settings because it operates at the system level, not just in the browser. If you find infections, remove them and restart your computer.

Using third-party ad blockers for stronger protection

Built-in pop-up blockers handle most cases, but some aggressive ad networks find ways around them. If you want stronger filtering, you can install a third-party extension like uBlock Origin, Adblock Plus, or Ghostery. These are free extensions available in your browser's extension store.

uBlock Origin is the most popular choice because it blocks not just pop-ups but also banner ads, tracking scripts, and other unwanted content. It's lightweight and doesn't slow down your browser. To install it, search "uBlock Origin" in your browser's extension store, click the result, and click Add to Chrome (or the equivalent button in your browser). Once installed, it runs automatically in the background.

Keep in mind that third-party blockers can occasionally break a website's functionality—some sites rely on ads to pay for their content and may not load properly if ads are completely blocked. If a site doesn't work, you can temporarily disable the extension for that site by clicking its icon in the toolbar and selecting the option to pause blocking.

Frequently Asked Questions

Can I allow pop-ups from one website but block them everywhere else?

Yes. In Chrome, Firefox, and Edge, go to your pop-up blocker settings, scroll to the exceptions or allow list, and enter the website address. That site will then be able to show pop-ups while all others remain blocked. Safari doesn't have this feature, so you'd need to temporarily disable the blocker for that site.

What's the difference between a pop-up and a pop-under?

A pop-up appears on top of the window you're viewing. A pop-under opens behind your current window, so you don't see it until you close or minimize your browser. Most pop-up blockers catch both, but pop-unders can sometimes slip through. If you notice windows opening behind your main browser window, check your extensions and run a malware scan.

Will blocking pop-ups break websites I need to use?

Rarely. Most legitimate websites don't rely on pop-ups for core functions. If a site you trust needs to show you a pop-up—for example, to confirm a purchase or display a login window—your browser will usually let it through. If a site doesn't work, you can add it to your exceptions list or temporarily disable the blocker for that visit.

Do I need antivirus software if my browser has a pop-up blocker?

A pop-up blocker protects you from browser-based pop-ups, but it doesn't protect against malware, viruses, or other threats that operate at the system level. Windows comes with Windows Defender built in, which is sufficient for most users. Mac users should run regular scans with their built-in security tools or a third-party antivirus if they read files frequently.

Why do some websites ask me to disable my pop-up blocker?

Some websites use pop-ups for legitimate functions—opening a chat window, displaying a necessary form, or showing a video in a new window. When a site asks you to disable blocking, it's usually because it genuinely needs that feature. You can safely add that site to your exceptions list so it can show pop-ups while your blocker remains on everywhere else.