Short answer: first check whether the “virus” warning is just a web page (it vanishes when you quit the browser) or an installed app. A web page needs only a browser clean-up. For an installed app, quit the fake antivirus app (use Force Quit if needed), drag it from Applications to the Trash, then remove its leftovers: login items, background items, launch agents and daemons, configuration profiles and browser extensions. Restart and check that nothing reappears. If you paid for it, contact your card issuer. If you gave it your password or remote access, change passwords from another device and consider reinstalling macOS.
Fake antivirus, also called scareware or rogue security software, pretends to find viruses or “junk” on your Mac and demands payment to remove them. It usually arrives through pop-ups claiming “Your Mac is infected”, fake Flash or software updates, bundled downloads from unofficial sites, or misleading ads. Some variants also change browser settings, inject ads, or act as a gateway for info-stealing malware.

First, work out which kind you have: a web page or an installed app
“Fake antivirus on a Mac” covers two different problems, and the fix for one is much smaller than the fix for the other. Answer one question first: does the warning disappear when you quit the browser completely (Safari > Quit Safari, or Command + Q)?
| Clue | Browser scareware (web page or notification) | Installed fake cleaner or antivirus app |
|---|---|---|
| Where it appears | Inside a browser tab, or as a notification that names a website rather than an app | An app icon in Applications, the Dock or the menu bar |
| After quitting the browser | Gone (unless the site was allowed to send notifications) | Still running, and it starts again after a restart |
| Typical message | “Your Mac is infected with 5 viruses”, a countdown, a phone number, a “Scan now” button | A scan result listing hundreds of “threats” or gigabytes of “junk”, with a “Pay to fix” or “Activate” button |
| What it can do | Nothing to your files on its own; the risk is that you call the number or download what it offers | Runs code on your Mac, may have asked for your admin password, may install background items or profiles |
| What to do | Close the tab, revoke notification permission, check extensions (see the Safari section below) | Follow every step in this guide, then check whether you need a refund |
If you only ever saw a web page and never downloaded or opened anything, you do not have fake antivirus installed. Clean the browser and stop there. If you downloaded a “cleaner” the page offered, or an app is now running that you did not choose, continue.
Real macOS security warnings vs fake ones
macOS has three built-in layers that can show security messages. Gatekeeper checks that an app you open comes from an identified developer and has been notarised by Apple. XProtect checks apps and files against Apple’s malware signatures when they are first opened, when they change and when signatures update, and it blocks known malware. XProtect Remediator runs periodic background scans and removes known malware it finds. None of them is a separate app you install, none of them charges money, and none of them shows a phone number.
| Feature | Genuine macOS warning | Fake warning |
|---|---|---|
| Form | A small system dialog with Apple’s standard buttons, appearing when you try to open a specific file or app | A browser page, a website notification or a branded app window with logos, shields and animations |
| Typical wording | Malware: “[name] will damage your computer. You should move it to the Trash.” Unverified app: “Apple could not verify [name] is free of malware” (exact wording varies by macOS version) | “Your Mac is heavily damaged”, “(5) viruses found”, “Your Apple ID will be suspended” |
| What it asks | Move to Trash, Cancel or Done | Call a number, pay, download a “fix”, enter your password, allow remote access |
| Countdowns and sounds | Never | Common: timers, beeping, full-screen pages that seem impossible to close |
| Response | Choose Move to Trash and do not override it unless you are certain the file is safe | Close it; never call or pay |
One tell-tale sign of a fake cleaner installer is that it coaches you around Gatekeeper: “if macOS refuses to open the app, right-click and choose Open”, “go to Privacy & Security and click Open Anyway”, or “drag this file into Terminal”. On macOS Sequoia and later, Apple removed the Control-click shortcut, so overriding Gatekeeper requires going to System Settings > Privacy & Security and clicking Open Anyway. Legitimate software from the App Store or a notarised developer download does not need any of these workarounds.
Signs you have fake antivirus
- An app you do not remember installing runs scans and shows alarming numbers of “threats”.
- It demands payment to “fix” problems and nags constantly.
- It starts automatically at login and is hard to quit.
- Your browser homepage or search engine has changed.
- A configuration profile you did not add appears in System Settings.
Real Mac security software exists, and macOS includes its own built-in protections (XProtect, Gatekeeper and notarisation). The difference is that legitimate products come from known vendors, are installed deliberately and do not use pop-up scare tactics.
Step 1: Disconnect and do not pay
Turn off Wi-Fi if the app is actively showing payment screens or you suspect it is stealing data. Do not enter card details or call any “support” number it shows.
Step 2: Quit the app
- Press Option + Command + Esc to open Force Quit, select the app and click Force Quit.
- If it relaunches, open Activity Monitor (Applications > Utilities), search for the app’s name, select related processes and click the stop (X) button.
Step 3: Delete the app
Open Finder > Applications, drag the app to the Trash and empty it. If macOS says it is in use, finish Step 2 first. If the app includes its own “uninstaller”, be cautious; scareware uninstallers sometimes reinstall components. Manual removal is safer.
Step 4: Remove login and background items
Go to System Settings > General > Login Items & Extensions (on older macOS, Login Items). Remove the app from Open at Login and switch off any related entries under Allow in the Background.
Step 5: Clean launch agents and daemons
Persistent Mac malware commonly installs property list (.plist) files that relaunch it. In Finder, choose Go > Go to Folder and check each location:
| Folder | What lives here |
|---|---|
~/Library/LaunchAgents |
Items that start when you log in |
/Library/LaunchAgents |
Items that start for all users |
/Library/LaunchDaemons |
System-level background processes |
~/Library/Application Support |
App data folders |
Look for files named after the fake app or with random-looking names and recent dates. Move suspicious ones to the Trash (you may need your admin password), but do not delete files from Apple (com.apple.*) or from software you recognise. When unsure, search the file name online before deleting.

Step 6: Remove configuration profiles
Some adware and scareware install profiles that lock browser settings. Open System Settings > Privacy & Security > Profiles (or General > Device Management on some versions). If you see a profile you do not recognise on a personal Mac, select it and click the minus (−) button. On a work Mac, ask IT before removing anything.
Step 7: Clean your browsers
- Safari: Settings > Extensions, remove unknown extensions; check Search engine and Homepage under Settings.
- Chrome: chrome://extensions to remove unknown extensions; Settings > Reset settings to restore defaults.
- Firefox: Add-ons and themes; Help > More troubleshooting information > Refresh Firefox.
Also check notification permissions; scam sites often get permission to show “virus” notifications. In Safari, Settings > Websites > Notifications; in Chrome, Settings > Privacy and security > Site settings > Notifications. See how to remove adware from Mac.
Step 8: Restart and verify
Restart your Mac and confirm the app and pop-ups do not return. Keep macOS updated, because Apple’s built-in XProtect receives malware definition updates automatically. You can also run a scan with a reputable, well-known Mac security tool as a second opinion.
If you paid, gave your password or allowed remote access
- Payment: call your card issuer, explain you paid for fraudulent software, ask for a chargeback and a new card.
- Passwords: if you entered your Mac password into the app’s prompts, it may have gained admin rights. Change your Apple Account and other important passwords from another device.
- Remote access: if a “technician” connected to your Mac, remove remote-access apps, check Screen Sharing and Remote Management in System Settings > General > Sharing, and seriously consider backing up your files and reinstalling macOS. See fake tech support scams.
- Watch for info-stealing malware signs, such as unexpected logins to your accounts, and change passwords for anything saved in browsers.
How to avoid fake antivirus on Mac
- Install software from the Mac App Store or developers’ official websites.
- Ignore website pop-ups that claim your Mac is infected. Browsers cannot scan your Mac.
- Keep Gatekeeper at its default setting, and do not bypass warnings about apps from unidentified developers unless you are certain.
- Never enter your password into an app or prompt you did not expect.
Check what macOS has recorded about background items
Since macOS Ventura, macOS shows a “Background Items Added” notification whenever an app registers something to run at login or in the background. If you remember seeing one around the time the fake cleaner appeared, the name it showed is the developer or helper you are looking for. To get a full list rather than relying on memory, open Terminal (Applications > Utilities) and run these read-only commands:
launchctl list | grep -v com.applelists non-Apple jobs loaded for your user account.ls -la ~/Library/LaunchAgents /Library/LaunchAgents /Library/LaunchDaemonsshows the plist files and their dates; compare dates with when the problem started.sudo sfltool dumpbtm(macOS Ventura and later, asks for your password) prints every login and background item macOS is tracking, with the file path and developer identifier for each.profiles listshows configuration profiles installed for your user;sudo profiles show -type configurationshows device-level ones.
Worked example: ~/Library/LaunchAgents contains com.mac-optimizer-pro.helper.plist dated the same afternoon a “cleaner” appeared. Open it with Quick Look (select it and press Space) and find the ProgramArguments entry: it points to a file inside ~/Library/Application Support/ under a random-looking folder name. Remove both the plist and the folder it points to, then restart. If the plist reappears after the restart, something else is recreating it, usually a second plist in /Library/LaunchDaemons or an item listed by sfltool dumpbtm, so repeat the check at the system level. (The file name here is illustrative; real names vary and are often designed to look like Apple or system components.)
Safari notification spam that looks like a virus alert
Many “your Mac is infected” alerts that appear in the top-right corner of the screen are not from an installed app at all. They are website notifications that you (or a misleading “Click Allow to continue” page) once permitted. To revoke them:
- In Safari, choose Safari > Settings > Websites > Notifications.
- Select any site you do not recognise and click Remove, or set it to Deny.
- Optionally untick Allow websites to ask for permission to send notifications at the bottom of that window.
- Also check Safari > Settings > Websites > Pop-up Windows and set unknown sites to Block, and turn on Warn when visiting a fraudulent website under Settings > Security.
If a scam page has taken over the whole screen and will not close, force quit Safari (Option + Command + Esc), then hold the Shift key while reopening Safari so that it does not restore the previous windows. Clear the history for the last hour from History > Clear History.
Where today’s fake Mac cleaners come from
The template is old. In 2011, scareware called MacDefender (also distributed as MacProtector, MacSecurity and MacGuard) reached Mac users through poisoned search results that led to a fake “scan” web page. The page downloaded an installer, the installed app reported invented infections, and it demanded a payment to “activate” protection. Apple responded with a security update that added detection for it and automatic removal, an early version of the XProtect system that exists today.
The modern version works the same way with different packaging: a fake scan page or a misleading search ad, a download offered as a “cleaner”, “optimiser” or “antivirus”, inflated scan results and a subscription. Some are distributed as disk images that ask you to bypass Gatekeeper; some bundle adware or info-stealing malware alongside the visible app. Be aware that legitimate Mac utilities also exist, including products that have been criticised in the past for aggressive marketing. Judge by behaviour rather than by name: how it got on your Mac, whether its findings are plausible, and whether it pressures you to pay.
Getting your money back
How you paid decides where to go. Act quickly: card disputes and refund requests have time limits that depend on your issuer and country.
| How you paid | Where to go | What helps your case |
|---|---|---|
| App Store purchase or subscription | Cancel first: App Store > your name > Account Settings > Subscriptions > Manage. Then request a refund at reportaproblem.apple.com | Choose the option that best describes the problem, such as the app not working as advertised; mention the misleading scan results |
| Credit or debit card on a website | Call the number on the back of your card, not any number shown by the app | Say you were charged for software that misrepresented threats; ask for a dispute (chargeback), a replacement card and cancellation of any recurring charge |
| PayPal or similar wallet | Open a dispute in the payment service’s own app or website | Receipt email, merchant name, screenshots of the fake scan |
| Gift cards, crypto or a wire transfer to a “technician” | Contact the gift card issuer or your bank immediately, and report to the police or a national fraud reporting service (in the US, reportfraud.ftc.gov) | These payments are hard to reverse, so speed matters more than detail |
Before you uninstall anything, take screenshots of the app’s name, its scan results, any payment page and the receipt email. They are useful evidence for a dispute and cost nothing to keep.
When to erase and reinstall instead of cleaning
Manual cleaning is enough for most fake cleaners. Back up your documents and erase the Mac if any of these apply:
- You let a “support technician” control your Mac remotely and you cannot account for everything they did.
- Launch daemons or background items keep coming back after you remove them and restart.
- A configuration profile cannot be removed and the Mac is not owned by an employer or school.
- You also found other malware, such as an info-stealer, on the same Mac (see the Mac trojan and infostealer guide).
On Macs with Apple silicon or the Apple T2 chip running macOS Monterey or later, System Settings > General > Transfer or Reset > Erase All Content and Settings is the quickest route. Restore documents from a backup, but reinstall apps fresh from the App Store or developers’ websites rather than restoring them, so you do not bring the problem back.
Frequently asked questions
Is “Mac cleaner” software always fake?
No, some cleaning utilities are legitimate. The warning signs are aggressive pop-ups, inflated threat counts, pressure to pay and installation you did not choose.
Is “[app] will damage your computer. You should move it to the Trash” a scam?
No. That plain system dialog comes from macOS’s built-in XProtect when it recognises known malware. Choose Move to Trash. The scams are the warnings that come with logos, countdowns, phone numbers or payment buttons.
Do Macs need antivirus?
macOS has strong built-in protection (Gatekeeper, XProtect and XProtect Remediator). Many users rely on it plus careful downloading; others add a reputable product from a well-known vendor for extra coverage. Either way, never install security software because a pop-up told you to.
The pop-ups appear only in my browser. Is my Mac infected?
Not necessarily. Many “virus detected” alerts are web pages or notifications. Close the tab, remove notification permissions and clear browser extensions.
Related: remove fake antivirus from Windows, tech support scam prevention, fake Apple texts and emails, remove a trojan from Mac, remove spyware from Mac.
Sources
- Apple Platform Security: Protecting against malware in macOS
- Apple Support: Safely open apps on your Mac
- Apple Support: Change Login Items settings on Mac
- FTC: How to recognize, remove and avoid malware
- FTC: How to spot, avoid and report tech support scams
- Apple Support: Block pop-up ads and windows in Safari
- Apple Support: Change Device Management settings on Mac
- Apple Personal Safety User Guide: Review and delete configuration profiles
- Apple Support: Request a refund for apps or content that you bought from Apple
- TidBITS: Apple responds to increasingly serious MacDefender situation (2011)



