How to Stop Pop-Up Ads on Your Computer for Good

Pop-up ads come from four common sources. Learn how to block them in your browser, shut off notification spam, and remove the adware behind them.

How to Stop Pop-Up Ads on Your Computer for Good

Pop-up ads come from a handful of specific places: the website you are on, a notification permission you granted without realizing it, a browser extension or program that rode in alongside a free download, or, in the worst case, adware running on the computer itself. The fix is different for each one, which is why flipping on a pop-up blocker sometimes solves everything in two minutes and sometimes changes nothing at all.

Before you touch a setting, notice the pattern. Pop-ups that appear only on certain sites are those sites' doing, and the browser can handle them. Small ad boxes that slide in near the clock, even when the browser is closed, are notifications you once approved and can revoke. New tabs that open on their own, a homepage you never chose, or ads stuffed into pages that used to be clean point to an unwanted extension or program that has to be removed.

The sections below walk through each source in order, from the quickest fix to the most thorough. They cover both a Windows PC and a Mac, and each step takes only a few minutes.

Check your browser's built-in pop-up blocker

Every major browser ships with a pop-up blocker, and it is usually on by default. It is still worth confirming, because a stray click or a newly installed program can quietly change the setting. Open your browser's settings, type "pop" into the settings search box, and open the section called something like Pop-ups and redirects. Make sure blocking is turned on.

While you are there, scroll to the list of sites that are allowed to show pop-ups. Sites land on this list when someone clicks Allow on a prompt, and adware loves to add entries here on your behalf. Remove anything you do not recognize or no longer use.

One caution: a few legitimate sites use pop-up windows for real work, such as bank login windows or print previews. If a site you trust stops working after this step, add that one site back to the allowed list rather than switching the blocker off entirely.

Shut off notification spam

The pop-ups that fool the most people are not browser windows at all. They are web notifications, and they arrive because a site once asked "Show notifications?" and got a yes. Shady sites earn that yes with tricks: "Click Allow to prove you are not a robot," "Press Allow to start the video," or a fake loading screen that never finishes until you agree. Once allowed, the site can push ads to the corner of your desktop all day, even when the browser is closed, which is why these are so often mistaken for a virus.

The fix takes one visit to settings. In your browser's settings, search for "notifications" and open the site notifications section. Look at the list of sites allowed to send them. Keep the handful you actually chose, such as your email account or a calendar, and remove everything else. When in doubt, remove it: the worst that happens is a site politely asks again.

You can also check at the operating system level. On Windows, open Settings, choose System, then Notifications, and turn off any sender you do not recognize. On a Mac, open System Settings, choose Notifications, and do the same.

Remove extensions and programs you never chose

If ads appear on pages that used to be clean, if your searches run through an unfamiliar engine, or if new tabs open by themselves, the problem is probably living inside the browser or the computer. This is adware: software whose whole job is injecting ads. It usually arrives bundled with free software, when an installer preselects a checkbox for a "helpful" toolbar or "search enhancer" and you click Next without reading.

Clean out three places, in this order:

  • Browser extensions. Open your browser's extensions or add-ons page and read the list slowly. Remove anything you do not remember installing, anything with a vague name like "Web Helper" or "Search Guard," and anything you no longer use. If you are unsure about one, disable it and see whether the ads stop.
  • Installed programs. On Windows, open Settings, choose Apps, then Installed apps, and sort the list by install date. Look for unfamiliar entries that appeared around the time the pop-ups started, then uninstall them. On a Mac, open the Applications folder and drag anything unfamiliar to the Trash, then check System Settings, General, Login Items for anything set to launch at startup.
  • Browser settings. If your homepage or search engine was changed, most browsers offer a reset option in settings, often called "Restore settings to their original defaults." It undoes hijacked settings while leaving your bookmarks and saved passwords alone.

Run a scan to catch what you missed

Some adware hides from the programs list, so finish the cleanup with a scan. On Windows, open the Windows Security app, choose Virus & threat protection, then run a full scan rather than a quick one. On a Mac, the built-in protections remove much of this automatically, but a reputable antivirus from the official app store can run a deeper check. If the scan turns up anything beyond adware, our guide to malware, viruses, and trojans explains what you are looking at and what to do next.

Add an ad blocker for everything else

The steps above stop pop-ups caused by settings and software. For ordinary sites that are simply aggressive with advertising, a content-blocking extension is the strongest everyday tool. A good one stops most pop-ups, auto-playing video ads, and many of the trackers behind them before the page even finishes loading, which also makes browsing noticeably faster.

Install one only from your browser's official extension store, and pick an established blocker with a large user base and recent updates, because fake "ad blockers" that inject their own ads do exist. Once it is running, you can confirm it actually works with our free ad blocker test.

Expect an occasional trade-off. Some news sites ask you to pause the blocker before showing an article. Most blockers let you allow a single site with one click, so you stay protected everywhere else while you read.

Never trust a pop-up that says your computer is infected

One kind of pop-up deserves its own rule. A page suddenly fills the screen with flashing warnings, an alarm sound, and a message that your computer is infected, sometimes with a phone number for "support." All of it is fake. Real security software does not deliver warnings through a webpage, and no legitimate company puts a phone number inside a virus alert. The goal is to scare you into calling, paying, or installing a "cleaner" that is itself the infection. It is the pop-up version of phishing: manufactured panic pointed at a single click.

Do not call the number, do not click anything inside the warning, and do not download what it offers. Close the tab. If the page has locked the browser so the close button does not respond, close the whole browser from the system instead: on Windows, press Ctrl+Shift+Esc to open Task Manager, select the browser, and choose End task. On a Mac, press Option+Command+Esc, select the browser, and choose Force Quit. When the browser reopens and offers to restore your previous session, decline, or the same page will come right back.

Keep the pop-ups from coming back

A clean computer stays clean when a few habits change:

  • Download software from the developer's own site or the official app store, not from download portals that wrap installers in extra offers.
  • Choose the custom install option when one exists, and uncheck every bundled toolbar, "PC optimizer," and browser change the installer suggests.
  • Treat notification prompts like a stranger asking for your address. The answer is Block unless you specifically want alerts from that site.
  • Keep the browser and the operating system updated. Updates close the holes that the nastier pop-up campaigns rely on.
  • Be suspicious of free versions of paid software. Cracked downloads are one of the most common ways adware spreads, and they often carry something worse.

A fifteen-minute cleanup to do right now

Work through this list once, in order, and most pop-up problems end today:

  • Open your browser's settings, search for "pop," and confirm pop-ups are blocked. Clear out the allowed list.
  • Search settings for "notifications" and remove every site you did not deliberately approve.
  • Open the extensions page and remove anything unfamiliar or unused.
  • On Windows, sort Installed apps by install date and uninstall anything you cannot explain. On a Mac, check the Applications folder and Login Items.
  • Run a full antivirus scan to catch leftovers.
  • Install a well-reviewed ad blocker from the official extension store, then confirm it works with the ad blocker test.
  • Decide your rule for scary warning pop-ups now, while things are calm: never call, never click, and close the browser from Task Manager or Force Quit if you have to.