You are browsing and a full-screen page says "Virus detected", plays an alarm and gives a phone number. This is almost always a scam. A website cannot scan your computer for viruses, and real security software does not warn you through a web page.
How to recognise a fake warning
- It appears inside a web page or browser window, not from your own security software.
- It uses countdowns, alarms, "do not close this page" or "your data is being deleted".
- It tells you to call a number, install a tool or give remote access.
- It claims to be from Microsoft, Apple or Google. They do not show warnings with phone numbers.
How to close it safely
- Do not call the number or click the buttons, including "OK" or "Cancel".
- Close the tab or window. If it will not close, use the keyboard: Alt+F4 on Windows, Command+Q on Mac. On a phone, close the browser from the app switcher.
- If the browser reopens the page, restart it and choose not to restore the previous session.
- Force quit using Task Manager (Windows) or Force Quit (Mac) if needed.
If you called or let someone in
Disconnect the device from the internet, remove any remote access app they asked you to install, and change your passwords from a different device. If you paid or shared card details, call your bank. Follow what to do if you clicked a phishing link.
Clean up notification spam
Some popups are browser notifications you allowed earlier. Open your browser's site settings, go to notifications and remove any site you do not recognise. Set "ask before sending" or block them. The browser security guide shows where this is for your browser.
Check extensions and apps
Unwanted popups can come from an extension. Remove extensions you do not use or did not install on purpose, and keep the rest to well-known ones. On a phone, delete apps you do not remember installing. See the mobile app safety guide.
Prevent them
- Keep the browser updated and leave its built-in popup blocker on.
- Avoid clicking ads on download or streaming sites.
- Check suspicious addresses with the suspicious link checker.