Transparency: Some links in this article are affiliate links. If you buy through them, we earn a small commission at no extra cost to you. We only recommend products we’d buy ourselves.

There are three distinct categories of pop-up ads on a Windows PC, and they need different fixes. Lumping them together is why people spend hours trying solutions that don’t work for their actual problem.

The three categories: ads delivered inside a browser by websites (browser-level), ads delivered by your browser via notification permissions you granted (notification abuse), and ads delivered outside the browser by software installed on your system (adware/PUPs). Identify which category you’re dealing with first, then apply the right fix.

Ads vs. Malware: Tell Them Apart First

Before anything else, a quick diagnostic. The fix depends entirely on what you’re looking at.

Probably Just Ads

  • Pop-ups only appear inside a browser tab
  • New tabs open when you click anywhere on a site
  • Ads appear on sites that didn’t used to have them
  • Windows notifications promoting news sites or deals
  • Redirects to unfamiliar shopping sites

Likely Adware or Worse

  • Pop-ups appear with NO browser open
  • Your browser homepage changed without your input
  • New toolbar you didn’t install appeared in the browser
  • Search results go to a different engine than you set
  • Fake “Your PC is infected” alerts with a phone number

Real Windows Security never asks you to call a phone number. If a pop-up shows a countdown timer, a Microsoft support number, or asks for remote access — that’s a scareware ad, not a legitimate alert. Close the browser window (use Alt+F4 if the X button is hidden) and skip straight to the nuclear option below.

If you’re in the “probably just ads” camp: great. Browser-level and DNS fixes will solve it cleanly. If your browser homepage changed or you’re seeing desktop pop-ups with no browser open, you have installed adware and need the system-level section too.

Browser-Level: The First Line of Defense

Easy Fix
Time: 5 minutes · Cost: Free

Step 1: Install uBlock Origin

This is non-negotiable. uBlock Origin is the best ad blocker available — it uses less RAM than AdBlock Plus, blocks more by default, and doesn’t accept payment from advertisers to let their ads through (unlike AdBlock Plus’s “Acceptable Ads” program). Install it from the official extension store for your browser:

Default settings block almost everything without breaking sites. You don’t need to configure anything out of the box. If a site asks you to disable your ad blocker, use the uBlock Origin power button in the toolbar to pause it for that domain specifically.

Step 2: Check your browser’s built-in popup blocker

Every major browser includes a popup blocker that should be on by default — but sometimes it gets disabled or set to “exceptions” mode without you knowing. Verify it’s active:

Chrome/Edge: Settings → Privacy and Security → Site Settings → Pop-ups and redirects → make sure it’s set to Don’t allow sites to send pop-ups or use redirects. Scroll down and remove any sites in the “Allowed to send pop-ups” list that you don’t recognize.

Firefox: Settings → Privacy & Security → Permissions → Block pop-up windows (check the box). Click Exceptions and remove anything unfamiliar.

Step 3: Audit your browser extensions

Malicious or adware-bundled extensions are a common source of injected ads — new tabs that open, ads inserted into pages, redirected search results. Go to your extension manager and look at what’s installed:

Remove anything you don’t recognize or didn’t intentionally install. Common culprits have generic names like “Search Manager,” “PDF Converter Free,” “Coupon Helper,” or “Video Downloader Pro.” If in doubt, remove it — you can always reinstall a legitimate extension.

Stop Browser Notification Pop-Ups

Easy Fix
Time: 3 minutes · Cost: Free

This is one of the most common sources of modern “pop-up ads” and most people don’t recognize what they’re looking at. At some point you clicked “Allow” on a notification prompt from a website — possibly a news site, a streaming site, or a sketchy page that disguised the prompt as a CAPTCHA or age verification. Now that site sends you Windows notifications that look like system alerts.

The fix is not malware removal. The fix is revoking those notification permissions.

Chrome/Edge: Settings → Privacy and Security → Site Settings → Notifications. Under “Allowed to send notifications,” click the three dots next to any site you don’t want, then Remove or Block. While you’re there, set the default to Don’t allow sites to send notifications so this doesn’t happen again.

Firefox: Settings → Privacy & Security → Permissions → Notifications → Settings. Remove any domains sending unwanted notifications. Check “Block new requests asking to allow notifications” to prevent future abuse.

Pro move: Set all future notification prompts to auto-deny. In Chrome: Settings → Privacy and Security → Site Settings → Notifications → set to “Don’t allow sites to send notifications.” You’ll never see another notification permission request again. If you actually want notifications from a specific site, you can whitelist it manually.

System-Level: Adware and PUPs

Intermediate Fix
Time: 15–30 minutes · Cost: Free (or $40/yr for Malwarebytes Premium)

If your browser homepage changed, search engine was hijacked, or you’re seeing pop-up windows appear with no browser open — you have software installed on your system that shouldn’t be there. This typically arrives bundled with free software downloads: a PDF reader, a video converter, a game client, or a driver update tool that included “optional” offers you didn’t untick.

Step 1: Uninstall suspicious programs

Open Settings → Apps → Installed apps. Sort by Date installed. Look for anything that appeared around the time the pop-ups started. Common adware program names include things like “Browser Assistant,” “Web Companion,” “PC Optimizer Pro,” anything with the word “search” in the name, and any PDF or media tool you downloaded from a third-party site. Uninstall them.

If you’re not sure whether a program is legitimate, right-click it → copy the name → search it with “is [program name] adware.” Forums like Reddit’s r/techsupport and Bleeping Computer have reliable information on known PUPs.

Step 2: Run Malwarebytes Free

Malwarebytes is specifically good at finding adware and PUPs that traditional antivirus misses. The free version scans on-demand — it doesn’t run in the background (that’s the Premium version), but for a one-time cleanup it’s exactly what you need.

  1. Download Malwarebytes from malwarebytes.com (official site only). Don’t search for it — type the URL directly. Fake “malware removal” downloads are themselves malware.
  2. Run the installer and choose Free when prompted.
  3. Click Scan and let it run. A full scan takes 5–15 minutes depending on drive size.
  4. Review the results and quarantine everything it finds.
  5. Restart when prompted.

If you want ongoing protection — real-time blocking of malicious sites and drive-by downloads — Malwarebytes Premium runs quietly in the background and pairs well with your existing antivirus. For a full comparison of free security tools, see our best free antivirus guide.

Step 3: Reset hijacked browser settings

After removing adware, your browser settings may still be pointing to the hijacker’s search engine or homepage. Fix them manually:

Chrome: Settings → Search engine → change to Google, Bing, or DuckDuckGo. Settings → On startup → set to “Open a specific page” and set your preferred homepage. Check Settings → Appearance → Home button URL as well.

Firefox: Settings → Search → Default Search Engine. Settings → Home → Homepage and new windows.

Get Malwarebytes Premium on Amazon →

The DNS Trick: Block Ads Everywhere at Once

Easy Fix
Time: 5 minutes · Cost: Free (NextDNS free tier handles most users)

This is the bonus layer most guides skip. DNS-level ad blocking works differently from browser extensions: instead of filtering page elements after they load, it intercepts the domain lookup for known ad servers and returns nothing. The ad never connects. It works in every browser, every app, every device on your network — without installing anything per-device.

Two free options worth knowing:

Option A: NextDNS (recommended for control)

NextDNS lets you set up a custom DNS resolver with ad blocking, malware blocking, and detailed query logs. The free tier covers 300,000 queries per month — plenty for a single household. Setup:

  1. Go to nextdns.io and create a free account.
  2. Note your unique DNS addresses (shown on the Setup page).
  3. On Windows: Settings → Network & Internet → your connection → DNS server assignment → Manual → enter your NextDNS addresses for both IPv4 and IPv6.
  4. Enable the blocklists you want in the NextDNS dashboard (AdGuard DNS Filter and OISD Big are good starting points).
  5. Test it at test.nextdns.io.

The NextDNS dashboard shows which domains are being blocked, so you can whitelist anything that breaks. You can also set it on your router to cover every device on your home network instead of configuring it per-device.

Option B: AdGuard DNS (simpler, no account needed)

If you just want ad blocking without setup overhead, AdGuard offers public DNS servers with ad filtering built in. No account needed:

Change these in the same Windows DNS settings mentioned above. Less control and visibility than NextDNS, but zero configuration required.

Best practice: Use both. DNS blocking stops most ads network-wide; uBlock Origin in your browser catches what DNS misses (especially ads served from first-party domains that also serve legitimate content). The two layers cover each other’s gaps without conflicting.

Nuclear Option: Malwarebytes + Browser Reset

Heavy Cleanup
Time: 30–45 minutes · Cost: Free

If you’ve worked through the sections above and ads are still appearing, or if you have an active infection that Malwarebytes didn’t fully clear — do this combination: a Malwarebytes scan in Safe Mode plus a full browser reset.

Safe Mode scan

Adware that survives a normal scan can often be removed in Safe Mode, where most third-party software (including the adware) doesn’t load:

  1. Press Windows key, hold Shift, click Power → Restart. This boots into the recovery environment.
  2. Choose Troubleshoot → Advanced options → Startup Settings → Restart.
  3. Press F4 for Safe Mode (no network) or F5 for Safe Mode with Networking if you need to download Malwarebytes.
  4. Open Malwarebytes and run a full scan.
  5. Quarantine everything it finds, then restart normally.

Full browser reset

After clearing the infection, reset your browser to defaults to remove any lingering hijacked settings that the uninstall left behind:

Chrome: Settings → scroll down to “Reset settings” → Restore settings to their original defaults. This resets your homepage, search engine, pinned tabs, and disables extensions — your bookmarks and passwords are not affected.

Firefox: Help menu → More troubleshooting information → Refresh Firefox. This keeps bookmarks, passwords, and open tabs, but removes extensions, customizations, and preferences.

Edge: Settings → Reset settings → Restore settings to their default values.

After a browser reset, reinstall only the extensions you actually want — starting with uBlock Origin. Don’t restore from a backup of your extension list; start clean.

For anything more serious — ransomware, rootkits, or an infection you can’t clear after Safe Mode — see our complete PC virus removal guide, which covers boot-level scanners and Windows reset as a last resort. You can also use our free PC Tech Helper tool to describe your symptoms and get tailored next steps.

Browse Antivirus Software on Amazon →

Staying Clean Going Forward

The three habits that prevent most adware infections:

If you’re looking for a broader security setup, our guide to the best free antivirus tools covers Windows Defender, Malwarebytes, and a few others worth knowing about — including which combinations work well together without conflicts. And if your PC is generally running slow in addition to showing ads, the two are often related — background adware processes consume CPU. See our Windows 11 speed-up guide for a full walkthrough of what to disable.

For the toolkit to do a proper cleanup yourself — bootable USB scanner, licensed Malwarebytes, and a step-by-step removal checklist — see the Pro Toolkits section.

Still getting ads after trying everything here?

Describe your symptoms to our free AI-powered PC Tech Helper — what the pop-ups look like, when they appear, what you’ve already tried. It’ll ask the right follow-up questions and point you at the most likely remaining culprit.

Try the Free PC Tech Helper →

Frequently Asked Questions

Why am I getting pop-up ads even when my browser is closed?

Pop-ups appearing outside the browser — on your Windows desktop or in the notification area — are almost always adware or a PUP (potentially unwanted program) installed on your system. They are not browser ads. Run Malwarebytes Free and check your installed programs list for anything you don’t recognize. Browser pop-ups only appear when a browser window is open; desktop pop-ups come from installed software.

Is uBlock Origin better than AdBlock Plus?

Yes, for most users. uBlock Origin uses less RAM, blocks more by default, and doesn’t participate in the Acceptable Ads program that lets some ads through in exchange for payment. uBlock Origin is free, open-source, and available for Chrome, Firefox, and Edge. It’s the first extension to install on any new browser.

Are browser notification pop-ups the same as adware?

No. Browser notification pop-ups appear because you (or a misleading website) clicked “Allow” on a browser notification prompt. They’re delivered by Windows as system notifications, but generated by the browser — not by installed software. The fix is to revoke notification permissions in your browser settings, not to run a malware scanner. Go to browser Settings → Notifications → remove any sites you don’t recognize.

Does DNS-level ad blocking work on HTTPS sites?

Yes. DNS blocking works at the domain level, before your browser connects. When an ad network domain appears in a page, your DNS resolver checks it against a blocklist and returns nothing instead of the ad server’s IP. HTTPS encryption protects content, not the domain name — so DNS blocking is effective regardless of whether the ad server uses HTTPS.

Will blocking ads break websites?

Occasionally. Some sites detect ad blockers and refuse to load content until you disable them. DNS blocking can sometimes block first-party scripts bundled with ads, breaking site functionality. The practical fix: keep uBlock Origin as your main blocker (it has an easy pause-per-site button), and use DNS blocking as a secondary layer. If a site breaks, pause uBlock Origin for that site — it’ll load normally.

What’s the difference between a pop-up ad and a virus warning pop-up?

Legitimate antivirus software will never ask you to call a phone number, enter payment details, or grant remote access through a browser pop-up. If a pop-up claims your PC is infected, shows a countdown timer, or displays a support phone number — that’s a scareware ad, not a real security alert. Real Windows Security alerts appear in the system tray with a shield icon, not as browser windows. Close the browser tab (Alt+F4 if it won’t close normally) and do not call the number.

Related Guides