The fastest way to stop most pop-ups

Most modern browsers have a built-in pop-up blocker that works automatically — you do not need to install anything or change settings. Chrome, Firefox, Safari, and Edge all block pop-ups by default. If pop-ups are still getting through, the blocker may have been turned off, or you may be dealing with a type of pop-up the basic blocker does not catch.

The first step is to check whether your browser's pop-up blocker is actually on. In Chrome, click the three vertical dots in the top right, select Settings, then Privacy and Security, then Site Settings. Scroll down to Pop-ups and redirects and make sure it says "Blocked" rather than "Allowed". In Firefox, go to Settings, Privacy & Security, and look for the Permissions section — make sure the box next to "Block pop-up windows" is checked. Safari users should go to Safari menu > Settings > Security and check "Block pop-ups". In Edge, click the three dots, Settings, Privacy, search, and services, then scroll to Site permissions and select Pop-ups and redirects — make sure it is set to Block.

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 still enabled in your settings.
  • Some websites you have allowed to show notifications can also send pop-ups, so checking your notification permissions can reduce unwanted windows.
  • Browser extensions designed to block ads and pop-ups offer more aggressive filtering than the built-in blocker, though they require you to install and maintain them.
  • Malware and unwanted programs on your computer can generate pop-ups that no browser setting will stop — running a scan with Windows Defender or Malwarebytes can identify these.
  • Disabling JavaScript in your browser settings stops most pop-ups but will break many websites, so this is a last resort for specific sites rather than a permanent solution.

Why pop-ups still appear even with the blocker on

The built-in pop-up blocker stops windows that open automatically when you load a page, but it does not catch every type. Pop-ups triggered by clicking a button or link on the page itself often get through, because the browser cannot tell whether you intended to click something that opens a new window. Some websites also use what are called "pop-unders" — windows that open behind your current window so you do not see them until you close your browser tab. The basic blocker does not catch these either.

Websites can also ask your permission to send notifications, and once you have said yes, they can use those notifications to display pop-up-like messages on your screen. If you see pop-ups appearing in the corner of your screen even when you are not on a website, check your notification permissions. In Chrome, go to Settings > Privacy and Security > Site Settings > Notifications and look for websites you do not recognize. Click on them and select Remove.

Using browser extensions for stronger blocking

If your browser's built-in blocker is on and pop-ups are still getting through, a browser extension can provide more aggressive filtering. uBlock Origin is free, open-source, and blocks both ads and pop-ups more thoroughly than the default blocker. Adblock Plus and AdGuard are also widely used and work similarly. These extensions sit in your browser and filter content before it loads, catching pop-ups the basic blocker misses.

To install an extension, open your browser's extension store — the Chrome Web Store for Chrome, Add-ons for Firefox, the App Store for Safari, or the Edge Add-ons store for Edge. Search for the extension by name, click Add to [Browser], and confirm the installation. Once installed, the extension runs in the background. Most pop-up blockers have settings you can adjust — click the extension icon in your toolbar to see options like blocking certain types of ads or allowing pop-ups on specific websites you trust.

One trade-off: extensions use more memory and can slow your browser slightly, especially if you install many at once. Start with one extension and see whether it solves the problem before adding more.

Checking for malware and unwanted programs

If pop-ups appear even when you are not browsing — or if they mention products you have never heard of — the source may not be your browser at all. Malware and unwanted programs installed on your computer can generate pop-ups that no browser setting will stop. These programs run in the background and may also change your search engine, add toolbars to your browser, or redirect you to different websites.

To check for malware, use Windows Defender, which is built into Windows 10 and 11. Click the Windows icon, type "Windows Security", open it, and select Virus & threat protection. Click Scan options, select Full scan, and click Scan now. A full scan takes 20 minutes to an hour depending on how much is on your computer. If Windows Defender finds anything, it will quarantine it automatically.

If you want a second opinion, Malwarebytes is a free tool that catches things Windows Defender sometimes misses. Download it from malwarebytes.com, install it, and run a scan. Malwarebytes is more aggressive than Windows Defender and may flag programs that are technically unwanted but not dangerous — read what it finds before removing anything.

Disabling JavaScript as a last resort

JavaScript is a programming language that websites use to add interactive features — buttons that work, forms that respond, videos that play. It is also how most pop-ups are created. Turning off JavaScript stops nearly all pop-ups, but it also breaks most websites. Forms will not submit, buttons will not work, and videos will not load. This approach is only useful if you are dealing with a specific website that is unusable because of pop-ups and you do not visit it often.

To disable JavaScript in Chrome, go to Settings > Privacy and Security > Site Settings > JavaScript and turn it off. To disable it for only one website instead of all websites, click the lock icon next to the website address in your address bar, find JavaScript, and change it to Block. In Firefox, type about:config in the address bar, search for javascript.enabled, and toggle it to false. In Safari, go to Settings > Privacy and uncheck "Allow privacy-preserving ad measurement". In Edge, go to Settings > Privacy, search, and services and scroll to Tracking prevention.

Avoiding pop-ups in the first place

Some websites are more aggressive with pop-ups than others. Websites that offer free movies, TV shows, or software often use pop-ups as their main way to make money, and no blocker will stop all of them. If you find yourself on a site with constant pop-ups, the simplest solution is to leave and find an alternative. Legitimate websites — news sites, shopping sites, social media — use pop-ups sparingly because they annoy users and hurt their reputation.

Be cautious about clicking buttons that say "Download" or "Play" on unfamiliar websites, especially if the button looks unusual or is positioned in a way that makes you think it might be a trick. Scammers often disguise malware downloads as video players or document readers. If you need to download something, go directly to the official website of the company that makes it rather than downloading from a third-party site.

When to contact your browser maker

If you have turned on your browser's pop-up blocker, installed an extension, run a malware scan, and pop-ups are still appearing, the problem may be a setting in your browser that has been changed by malware or by a website you visited. Each browser has a support page where you can report the issue and get help. Chrome's support page is support.google.com/chrome, Firefox is support.mozilla.org, Safari is support.apple.com, and Edge is support.microsoft.com/en-us/edge.

When you contact support, describe what pop-ups you are seeing, which websites they appear on, and what steps you have already taken. Include details like whether the pop-ups appear only on certain sites or everywhere, and whether they happen when you first open your browser or only after you have been browsing for a while. This information helps the support team narrow down whether the issue is a browser setting, an extension conflict, or something else on your computer.

Frequently Asked Questions

Is it safe to install a pop-up blocker extension?

Yes, if you install it from your browser's official store — Chrome Web Store, Firefox Add-ons, Edge Add-ons, or the App Store for Safari. These stores review extensions before listing them. Avoid downloading extensions from random websites, as those may contain malware. Stick to well-known extensions like uBlock Origin, Adblock Plus, or AdGuard.

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

Some websites use pop-ups for legitimate purposes — to show you a login window, display a coupon, or let you watch a video. If a website asks you to disable your blocker, you can allow pop-ups just for that site. In Chrome, click the lock icon next to the address, find Pop-ups and redirects, and change it to Allow. This does not affect other websites.

Can I block pop-ups on my phone the same way?

Yes, but the steps are slightly different. On iPhone, open Settings > Safari > Block Pop-ups and toggle it on. On Android, open Chrome, tap the three dots, go to Settings > Site settings > Pop-ups, and make sure it is set to Block. Most phones have this turned on by default.

What if a pop-up asks me to update my browser or antivirus?

Do not click it. Scammers use fake update pop-ups to trick you into downloading malware. If you need to update your browser, go to the official website or use your computer's built-in update tool. For antivirus updates, open the antivirus program itself rather than clicking a pop-up.

Do I need to pay for a pop-up blocker?

No. Your browser's built-in blocker is free and works for most people. Free extensions like uBlock Origin and Adblock Plus are also effective. Paid versions of these extensions offer extra features, but the free versions block the vast majority of pop-ups.