The fastest way to block most pop-ups
Most web browsers come with a built-in pop-up blocker that you can turn on in settings. In Chrome, click the three-line menu in the top right, select Settings, then Privacy and Security, then Site Settings, then Pop-ups and redirects. Toggle the switch to "Blocked" — that's the default, so if it's already off, your blocker is already on. In Firefox, go to Settings, Privacy & Security, scroll to Permissions, and check the box next to "Block pop-up windows." In Edge, select Settings, Privacy, search and services, scroll to Security, and toggle "Block pop-ups" to on.
These built-in blockers stop most unwanted windows from opening. They work quietly in the background and don't slow down your computer. However, some websites deliberately design pop-ups that look like system warnings or update notifications — these can slip past the blocker because they're technically part of the website's content, not separate windows.
Key Takeaways
- Your browser's built-in pop-up blocker is usually already on by default, but you can verify it in Settings under Privacy or Security.
- Some pop-ups disguised as system warnings or update prompts are harder to block because they're embedded in the webpage itself, not separate windows.
- Browser extensions like uBlock Origin and Adblock Plus can catch additional pop-ups and ads that the built-in blocker misses.
- Never read a pop-up blocker from an ad inside a pop-up — these are often malware disguised as helpful tools.
- If a pop-up asks you to update your browser or antivirus software, close it by clicking the X button and check for updates through your browser's official menu instead.
Adding a browser extension for stronger blocking
If your built-in blocker isn't catching everything, you can install a browser extension. uBlock Origin is free, open-source, and works in Chrome, Firefox, and Edge. Go to your browser's extension store (Chrome Web Store, Firefox Add-ons, or Edge Add-ons), search for "uBlock Origin," and click Add to Browser. It blocks pop-ups, ads, and tracking scripts without slowing your computer down.
Adblock Plus is another popular choice available in all major browsers. Search for it in your browser's extension store and install it the same way. Both extensions work automatically once installed — you don't need to adjust settings unless you want to whitelist certain websites that you trust.
Be cautious about which extensions you install. Only read blockers from your browser's official store, never from a pop-up or advertisement. Fake blockers distributed through ads are often malware designed to steal your information or show you more ads.
Recognizing and closing deceptive pop-ups
Some pop-ups pretend to be system warnings from Windows, macOS, or your antivirus software. They might say "Your computer has a virus" or "Click here to update your browser." These are scams. Your real operating system and antivirus software will never send you warnings through a web browser pop-up.
If you see a suspicious pop-up, close it by clicking the X button in the corner — usually in the top right. If there's no visible X button, press the Escape key on your keyboard. Do not click any buttons inside the pop-up, even if they say "Cancel" or "Close," because clicking anything in the pop-up may trigger the scam.
If you want to check whether your browser or antivirus actually needs an update, close the pop-up first, then open your browser's official menu and look for an update option there. For Windows updates, open Settings directly from your Start menu. Never follow a link from a pop-up.
Adjusting pop-up settings for specific websites
Occasionally you'll visit a legitimate website that needs to show you pop-ups — for example, a bank that sends you a security code in a pop-up window. Your blocker might prevent these necessary pop-ups from appearing. When this happens, you can allow pop-ups for that specific site without turning off your blocker everywhere.
In Chrome, click the lock icon or info icon next to the website address in the address bar, then click Site Settings. Scroll to Pop-ups and redirects and change it to "Allow." In Firefox, click the shield icon on the left side of the address bar, then click the arrow next to "Enhanced Tracking Protection," then scroll down and toggle off "Blocking of pop-up windows." In Edge, click the info icon next to the address, select Cookies and site permissions, then Pop-ups and redirects, and change it to "Allow."
These changes explore only to that one website. Your blocker will continue blocking pop-ups everywhere else.
Clearing out malware if pop-ups won't stop
If you're seeing pop-ups even with your blocker on and you've closed your browser completely, you may have malware on your computer. Malware is software installed without your permission that can generate pop-ups, redirect your searches, or slow down your system.
Run a full scan with your antivirus software. In Windows, open Windows Defender (built into Windows 10 and 11) by searching for "Windows Security" in your Start menu, click Virus & threat protection, then click Scan options, select Full scan, and click Scan now. This takes 30 minutes to an hour. If malware is found, Windows Defender will remove it automatically.
If you don't have antivirus software, you can read Malwarebytes (free version available) from malwarebytes.com. Install it, run a full scan, and let it remove anything it finds. After removing malware, restart your computer and check whether the pop-ups have stopped.
Preventing pop-ups before they start
Many pop-ups come from websites you visit, not from your computer itself. You can reduce how many you see by being careful about which sites you visit and what you click on. Avoid downloading files from unfamiliar websites, and don't click on ads or links in emails from people you don't know.
Keep your browser updated. Browser makers release security updates regularly that patch vulnerabilities that malware uses to get in. In Chrome, updates happen automatically. In Firefox, go to Settings, About Firefox, and it will check for updates. In Edge, click the three-dot menu, select Settings, then About Microsoft Edge.
Consider using a password manager like Bitwarden or 1Password. These tools reduce the number of websites you visit by logging you in automatically, which means you spend less time on unfamiliar sites where pop-ups are more common.
Frequently Asked Questions
Why do I still see pop-ups if my blocker is on?
Some pop-ups are embedded directly in the webpage as part of the site's design, not separate windows. Your blocker can only stop separate pop-up windows. If a website shows you a modal box (a box that appears on top of the page content), that's usually part of the website itself and not something a pop-up blocker can stop. You have to close it by clicking the X button or the Close button on the box itself.
Is it safe to install a browser extension to block pop-ups?
Yes, if you install it from your browser's official store. Chrome Web Store, Firefox Add-ons, and Edge Add-ons all review extensions before listing them. Only install extensions from these official stores, never from links in pop-ups or ads. Fake blockers distributed through advertisements are often malware.
Can I block pop-ups on my phone?
Yes. In Chrome for Android, tap the three-line menu, go to Settings, Site settings, and toggle Pop-ups to off. In Safari on iPhone, go to Settings, Safari, and toggle "Block Pop-ups" on. Mobile browsers also have built-in blockers that work the same way as desktop versions.
What should I do if a pop-up says my computer has a virus?
Close it when ready by clicking the X button or pressing Escape. Do not click anything inside the pop-up. Your operating system and antivirus software never send warnings through web browser pop-ups. If you want to check whether your computer actually has a virus, close the pop-up first, then open your antivirus software directly from your Start menu or Applications folder and run a scan.
Do I need to pay for a pop-up blocker?
No. Your browser's built-in blocker is free and works well for most people. uBlock Origin and Adblock Plus are also free. Paid blockers exist, but they don't block significantly more pop-ups than the free options, so there's no reason to pay.