Security

How to Stop Pop Ups on Your Computer (Browser and Fake Alerts)

To stop pop ups on your computer, turn on your browser's pop-up blocker, then block any site that sends notifications and remove browser extensions you don't recognise. If a pop-up claims your computer is infected, close the tab or window without clicking anything inside it.

Pop-ups are not one problem. A new window, a notification from a site, an ad inside a page and a fake alert all look similar but have different fixes. This guide goes in order from the quickest check to the most involved. Menu names are from each vendor's help pages as of November 2026 and can change between versions.

Step 1: Make sure the pop-up blocker is on

Every major browser has a built-in blocker, and it may have been switched off by a work policy, an extension or someone else using the machine. The exact menu path for Chrome, Edge, Firefox and Safari is in how to turn on the pop-up blocker in each browser. In Chrome the setting lives at Settings, Privacy and security, Site settings, Pop-ups and redirects.

On the same Chrome page you can block one noisy site by name. Under Not allowed to send pop-ups or use redirects, select Add and enter the address. To cover a whole domain, use a pattern such as [*.]example.com.

Step 2: Block website notifications

Many "pop-ups" in the corner of the screen are not pop-ups at all. They are notifications from a website you clicked Allow on, sometimes by accident. The pop-up blocker does not touch these, because they use a separate permission.

In Chrome on a computer:

  1. Click More (three dots, top right), then Settings.
  2. Go to Privacy and security, then Site Settings, then Notifications.
  3. Next to Not allowed to send notifications, select Add, enter the site's address and select Add.

If you can open the offending site, there is a shortcut: click View site information next to the address and turn off Notifications. When a site asks Get notifications?, click the settings icon beside the prompt and choose Don't allow.

Google's page also describes a default for all sites on the same Notifications page, including quieter prompts that replace the pop-up with a bell icon in the address bar. It says Chrome automatically blocks notifications from sites it marks as intrusive or misleading. This guide only verified the Chrome steps. Edge and Firefox have their own notification settings, which were not checked here.

Step 3: Know what the blocker cannot stop

Microsoft's Edge help page is direct about this: remaining pop-ups may be "website advertisements created to look like pop-ups," and those cannot be blocked by the Edge pop-up blocker. They are drawn by the page itself, so the browser sees nothing to block.

That has a practical consequence. If the pop-up disappears when you close the tab and returns when you visit the same site, the site is the cause. Stop visiting it, or block it as described above. A different pop-up that follows you from site to site points to something installed on your computer.

Step 4: Find a bad extension

Extensions can inject ads and open new tabs on every site. Microsoft's troubleshooting list for Edge applies to other Chromium browsers in the same way. Go to Settings and more, Extensions, Manage extension and turn every extension off. If the pop-ups stop, turn the extensions back on one at a time until they return. The last one you enabled is the cause. Remove it, and remove any extension you don't remember installing.

On a Mac, Apple gives the equivalent for Safari: open Safari settings, go to the Extensions tab, and turn off or uninstall any extension you didn't intend to install.

Step 5: Update, scan and check for unwanted software

Microsoft's list for Edge also includes these checks:

  • Update the browser. Open Settings and more, Settings, About Microsoft Edge. If an update is available, apply it there.
  • Scan the device for malware. Microsoft points to Windows Security for this. Use whatever security software is already installed on your computer.
  • Block third-party cookies. In Edge this is under Settings, Privacy, search, and services, Cookies.
  • Clear the browser cache. Microsoft links to its instructions for viewing and deleting browser history.

On a Mac, Apple adds two steps. Update to the latest macOS, or restart if you are already current, because Apple says macOS includes a built-in tool that removes known malware when it restarts. Then check your Applications folder for apps you don't recognise and uninstall them.

If a scan finds something, or the pop-ups survive every step above, follow how to remove a virus from your computer. For background on adware and other categories, see the types of malware explained.

What to do when a pop-up says your computer is infected

These alerts often fill the screen, play a sound, show a phone number or imitate a company's logo. Apple states that pop-ups can use phishing tactics, such as warnings or prizes, to make you think they come from Apple or another trusted company. It advises not to interact with pop-ups or pages that seem to take over your screen unless you are confident they are legitimate.

Do this instead:

  1. Don't click inside the pop-up, including its close button. Apple warns that some have fake buttons that resemble a close button.
  2. Close the whole tab or window. If the page won't let you, close the browser from the taskbar or Dock.
  3. On a Mac, Apple's method for stopping Safari from reopening the bad page is to quit Safari, then hold Shift while opening it again.
  4. On an iPhone or iPad, if you can't see the Search field, tap the top of the screen to show it and enter a new address.
  5. Run your own security software, then work through the steps above.

Never call a phone number shown in such a pop-up, and never install software it offers. A web page that tells you to do either is not scanning your computer.

If pop ups still appear

Go back through the list and note which type you are seeing. A corner notification means a site still has permission. A new window from every site means an extension or unwanted software. A full-screen warning means a bad page you should close and avoid. If you cannot tell, switch off all extensions, update the browser, and run a full scan before changing anything else.

Frequently asked questions

Why do pop ups keep appearing on my computer?
There are four common causes: a site you allowed to send notifications, an ad built into the web page that only looks like a pop-up, a browser extension you don't remember installing, or unwanted software on the computer. Work through them in that order, because the first two are the cheapest to check.
Can the pop-up blocker stop every ad?
No. Microsoft's Edge page says website advertisements cannot be blocked by the Edge pop-up blocker, because they are part of the page and are made to look like pop-ups. An ad blocker is a different tool from a pop-up blocker.
Is a pop-up that says my computer has a virus real?
Treat it as untrustworthy. Apple notes that pop-ups can use warnings or prizes to look like they come from Apple or another trusted company. A web page cannot be your antivirus. Close the tab or window and run a scan with security software you already have installed.
Is the X button on a pop-up safe to click?
Not always. Apple warns that some pop-ups and ads have fake buttons that resemble a close button. Close the whole tab or window instead of clicking inside the pop-up.

Sources