How to Remove a Pop-Up Virus: Stop Browser Pop-Ups for Good (2026)
Endless pop-ups — fake virus warnings, “your PC is infected” alerts, sketchy ads, or a browser that keeps opening new tabs — are almost always caused by adware or browser notification spam, not a classic file-infecting virus. The good news is that “pop-up viruses” are usually among the easiest infections to clean once you know where they hide. Here’s how to stop them for good.
First, an important warning: the pop-ups themselves often are the scam. A page screaming “CALL THIS NUMBER” or “Microsoft has detected a virus, download this tool” is a tech-support scam. Never call the number, never enter card details, and never install the “fix” they offer. Just close it and follow the steps below.
Step 1: Close the pop-up safely
If a pop-up won’t close or fills the screen:
- Don’t click anything inside it — not even the “X” if it looks fake, since that can be a disguised button.
- Open Task Manager (Ctrl + Shift + Esc), select your browser, and click End task to force-close it.
- When you reopen the browser, don’t restore the previous tabs if it offers to — that would reload the malicious page.

Step 2: Revoke notification permissions
A very common cause of “pop-ups even when the browser is closed” is website notification spam: at some point you clicked “Allow” on a site’s notification prompt, and now it pushes ads. Remove it:
- Chrome: Settings → Privacy and security → Site settings → Notifications. Remove any site you don’t recognize.
- Edge: Settings → Cookies and site permissions → Notifications. Remove unknown sites.
- Firefox: Settings → Privacy & Security → Permissions → Notifications → Settings. Remove unknown sites.
This single step fixes a large share of “pop-up virus” complaints.
Step 3: Remove suspicious extensions
Adware often installs a browser extension. In each browser, open the extensions page and remove anything you didn’t deliberately install — especially “coupon finders,” “search enhancers,” or video downloaders you don’t remember adding.
- Chrome / Edge: menu → Extensions → Manage extensions.
- Firefox: menu → Add-ons and themes → Extensions.
Step 4: Reset the browser
If pop-ups, a hijacked homepage, or a changed search engine persist, reset the browser to defaults. This clears malicious settings while keeping bookmarks and saved passwords:
- Chrome: Settings → Reset settings → Restore settings to their original defaults.
- Edge: Settings → Reset settings → Restore settings to their default values.
- Firefox: Help → More troubleshooting information → Refresh Firefox.
Step 5: Uninstall adware programs
Some pop-up adware installs as a Windows program, not just a browser add-on:
- Settings → Apps → Installed apps.
- Sort by install date and look for anything you don’t recognize installed around when the pop-ups started.
- Uninstall suspicious entries (common adware names look like generic “PC optimizers,” “media players,” or toolbars you never chose).
Step 6: Run a malware scan
Back up your removal with a scan:
- Microsoft Defender: Windows Security → Virus & threat protection → Scan options → Full scan.
- For adware and PUPs specifically, a free on-demand cleaner like ADWCleaner (by Malwarebytes) is purpose-built for browser hijackers and adware. The free Malwarebytes scanner works too.
Quarantine anything found and reboot.
Step 7: Check startup and the hosts file (optional)
- Task Manager → Startup apps: disable unknown items launching at boot.
- Hosts file (
C:\Windows\System32\drivers\etc\hosts): some adware adds redirect entries. It should normally contain only comment lines and localhost; remove unfamiliar entries only if you understand the change.
Step 8: Secure accounts if you interacted with the scam
If you entered any password or payment details into a pop-up, or installed something it told you to, treat those credentials as compromised. From a clean device, change the affected passwords and enable two-factor authentication.
How to avoid pop-up viruses next time
- When a site asks to “show notifications,” click Block unless you genuinely want its updates.
- Don’t install software from pop-up ads or “your driver is out of date” prompts.
- Keep an ad/content blocker and your browser updated.
- Be skeptical of any page that creates urgency (“act now, your PC is infected”) — that urgency is the scam.
FAQ
Are pop-ups always a virus? Not always. Many are website notification spam or adware rather than a file-infecting virus, but they’re still unwanted and worth removing with the steps above.
Why do I get pop-ups when my browser is closed? That’s usually browser notification spam from a site you accidentally allowed. Revoke its notification permission (Step 2) to stop it.
Is the “Microsoft detected a virus, call this number” pop-up real? No. Microsoft never puts a phone number in a browser pop-up. It’s a tech-support scam — close it and never call.