What causes pop-up ads and how to block them
Pop-up ads appear because websites embed code that launches new browser windows or overlays when you visit or interact with the page. Some pop-ups are legitimate — password reset windows, login screens, or alerts from the site itself. Most are advertisements that websites run to make money, and they interrupt what you're doing.
Your browser has built-in pop-up blocking, but it only stops the most obvious ones. Advertisers have learned to disguise pop-ups as legitimate content, and some slip through. You can block most of the rest using your browser's settings, extensions, or both together.
Key Takeaways
- Every major browser — Chrome, Firefox, Safari, and Edge — has pop-up blocking turned on by default, but it catches only obvious pop-ups.
- Your browser's settings let you block pop-ups site-by-site or create a list of sites you trust to show them.
- Ad-blocking extensions like uBlock Origin, Adblock Plus, and Ghostery remove most remaining pop-ups and banner ads without slowing your browser.
- Some pop-ups are intentional parts of a website's design, so blocking them all may break login screens or download buttons on sites you use regularly.
- Combining your browser's built-in blocker with one extension catches the vast majority of pop-ups without extra work.
Turn on pop-up blocking in your browser settings
Pop-up blocking is already on in Chrome, Firefox, Safari, and Edge. You can check and adjust it in your browser's settings. In Chrome, go to Settings > Privacy and Security > Site Settings > Pop-ups and redirects. In Firefox, go to Settings > Privacy & Security and scroll to Permissions. In Safari, go to Preferences > Security. In Edge, go to Settings > Privacy, Search, and Services > Site Permissions > Pop-ups and redirects.
Once you're in the pop-up settings, you'll see a toggle or dropdown that says "Blocked" or "Don't allow". This is your baseline protection. Below that, you can add specific websites to an allow list if a site you trust needs to show pop-ups for legitimate reasons — for example, a banking site that uses pop-ups for two-factor authentication.
To add a site to the allow list, visit the site, try to trigger the pop-up, and your browser will show a notification asking if you want to allow pop-ups from that domain. Click Allow. From then on, pop-ups from that specific site will appear, but pop-ups from everywhere else stay blocked.
Install an ad-blocking extension for stronger protection
uBlock Origin is the most effective free option. It blocks pop-ups, banner ads, and tracking scripts without slowing your browser. Install it from the Chrome Web Store, Firefox Add-ons, or Edge Add-ons. Once installed, it works automatically — you don't need to configure anything. If a pop-up still gets through, click the uBlock Origin icon in your toolbar and you'll see a list of what it blocked on that page.
Adblock Plus is another popular choice. It works similarly to uBlock Origin but has a slightly different interface. Some ads slip through by default because Adblock Plus allows "acceptable ads" — you can turn this off in settings if you want to block everything.
Ghostery focuses on blocking tracking scripts and ads. It's lighter on system resources than some other extensions and shows you exactly which companies are trying to track you on each page. It blocks pop-ups as a side effect of blocking the tracking code they often contain.
Install only one ad-blocking extension. Running two or more together can cause conflicts, slow your browser, and sometimes block legitimate content by mistake.
Understand what you might break by blocking too much
Some websites use pop-ups for essential functions. A login screen, a password reset window, or a download prompt might technically be a pop-up. If you block all pop-ups on a site, these features won't work. This is why your browser lets you create an allow list for specific domains.
If you visit a site and something stops working — you can't log in, can't download a file, or can't see a menu — the first thing to try is adding that site to your pop-up allow list. Go back to your browser's pop-up settings, find the site in the blocked list, and move it to allowed. Reload the page and try again.
Some sites also use pop-ups to show important notifications or warnings. Blocking them all means you might miss a security alert or a message from the site owner. This is rare, but it's worth knowing that blocking isn't always a pure win.
Recognize and avoid malicious pop-ups that look real
Some pop-ups are designed to look like system warnings or browser alerts. They might say "Your device has a virus" or "Click here to update your browser" or "Your password has expired". These are scams. Your browser and operating system don't send warnings through pop-ups on random websites.
Real browser warnings appear in your address bar or in a small notification at the top of the window, not in a large pop-up window in the middle of the page. If you see a pop-up claiming your device is infected or needs an update, close it by clicking the X button in the corner — never click the button inside the pop-up that says "Fix" or "Update".
If you accidentally click one of these fake warnings and it downloads a file, don't open the file. Delete it from your Downloads folder. If you're unsure whether a warning is real, open a new tab and go directly to your browser's official website or your operating system's official website to check for updates — don't use a link from the pop-up.
Test your pop-up blocking and adjust if needed
After you've turned on blocking and installed an extension, visit a site that normally shows many pop-ups — news sites, streaming sites, or download sites are good test cases. You should see far fewer interruptions. If pop-ups still appear frequently, check that your extension is actually enabled. Click its icon in your toolbar to make sure it's active.
If a specific site is still showing pop-ups you want to block, you can often adjust the extension's settings for that site. Most extensions let you click their icon and then click a settings or options button to fine-tune what gets blocked on each domain. This takes a few minutes but gives you precise control.
Keep your browser and extensions updated. Developers release updates regularly to catch new pop-up tricks. In Chrome, Firefox, Safari, and Edge, updates happen automatically in the background. For extensions, check your browser's extension manager every few months to see if updates are available.
Frequently Asked Questions
Will blocking pop-ups slow down my browser?
No. Pop-up blocking actually makes browsing faster because your browser doesn't have to load and render the pop-up code. Extensions like uBlock Origin are lightweight and use very little memory. Some older or heavier extensions can slow things down, but the popular ones are designed to be fast.
Can websites tell if I'm blocking ads?
Yes, some websites can detect ad blockers. A few sites show a message asking you to turn off your blocker or offering a paid ad-free version. You can usually dismiss these messages or add the site to your allow list if you want to support it. Most sites don't detect blockers at all.
What's the difference between pop-ups and pop-unders?
A pop-under is an ad window that opens behind your current browser window instead of in front of it. You don't see it until you close or minimize your current window. Most ad blockers catch pop-unders the same way they catch pop-ups, so you don't need to do anything extra.
Do I need to block pop-ups on my phone?
Mobile browsers have pop-up blocking built in, and it works the same way as on desktop. Chrome on Android and Safari on iPhone both block pop-ups by default. If you want extra protection, you can install extensions on Firefox for Android, but most people find the built-in blocker is enough.
Is it safe to use free ad-blocking extensions?
The popular ones — uBlock Origin, Adblock Plus, and Ghostery — are safe and widely used. They're open-source or transparent about what they do, and they don't collect your browsing data. Avoid unknown extensions with few reviews or from developers you've never heard of, as some malicious extensions pretend to block ads while actually tracking you.