To scan a Mac for viruses, install every macOS update, restart the Mac so XProtect can remove known malware, then run a free on-demand scan with Malwarebytes and manually check Applications, Safari extensions, login items, and configuration profiles for anything unfamiliar.
Key takeaways
- macOS has no Scan button: XProtect works automatically, and updates plus a restart are what trigger its cleanup.
- A free Malwarebytes scan is the best second opinion because it finds adware and Mac malware XProtect may miss.
- Most Mac infections are adware and fake cleaners, so check login items, extensions, and profiles by hand.
There is no Scan button on a Mac, and that confuses almost everyone who looks for one. macOS does scan for malware, but it does so silently in the background, which means a proper check is a short routine: update, restart, run a second-opinion scan, and inspect the hiding places yourself.
Does a Mac have a built-in virus scanner?
Yes. macOS includes XProtect, Apple's built-in antivirus, which uses signatures Apple updates automatically and independently of full system updates. It checks apps when they first launch, when they change, and when new signatures arrive.
Apple describes three layers of defense. Gatekeeper and notarization try to stop malware launching at all, XProtect blocks known malware from running, and XProtect also remediates malware that already executed. When XProtect detects known malware, it blocks it, moves it to the Trash, and alerts you in the Finder, according to Apple Support.
XProtect also includes an engine that can detect unknown malware from its behavior, and Apple says it checks for new XProtect updates daily by default. That is strong protection, but it only knows what Apple has already identified, so it is a foundation rather than a complete answer.
How do I scan my Mac for viruses?
Install every macOS update, restart the Mac, run a free on-demand scan with Malwarebytes, then check Applications, browser extensions, login items, and profiles by hand. The whole routine takes about 20 minutes for most people.
- Update macOS. Open Apple menu, then System Settings, then General, then Software Update. Install everything offered, including system data files and security updates. These carry the newest XProtect signatures.
- Restart the Mac. XProtect removes known malware when it receives updated information and continues to check periodically, but Apple notes that it does not automatically restart the Mac for you.
- Run a free Malwarebytes scan. Download the free scanner from the official Malwarebytes site, install it, click Scan, and quarantine anything it finds. Restart if prompted.
- Check the hiding places. Look in Applications for apps you do not recognize, in Safari settings for unknown extensions, and in System Settings under General, then Login Items, for unknown startup items.
- Check profiles. In System Settings, look under General, then Device Management or Profiles. A profile you did not install yourself can force browser settings and should be removed.
- Review your browsers. Reset any homepage or search engine you did not choose, and remove extensions you do not recognize from every browser you use, not just Safari.
If the scan finds nothing but the symptoms continue, repeat the scan after updating Malwarebytes, and check Activity Monitor for a process using far more CPU than it should. A clean scan plus clean login items and extensions is a good result, not a reason to keep scanning every day.
What built-in Mac tools protect against malware?
Four built-in tools do most of the work: Gatekeeper, notarization, XProtect, and System Integrity Protection. Together they check software before it runs, block known malware, and shield system files from tampering.
| Tool | What it does | When it acts |
|---|---|---|
| Gatekeeper | Checks that downloaded software is from an identified developer and notarized by Apple | First time you open a downloaded app |
| Notarization | Apple scans the app for known malware before distribution and can revoke it later | Before distribution, and continuously via revocation checks |
| XProtect | Signature-based detection and removal of known malware | App launch, app change, and signature updates |
| System Integrity Protection | Protects sensitive system files and folders from modification | Always, in the background |
Gatekeeper also asks for your approval before opening downloaded software for the first time, which is a useful pause: it stops you running executable code you believed was simply a data file. Apple explains in its Gatekeeper and runtime protection guide that it verifies software is from an identified developer and notarized by Apple. Do not casually override Gatekeeper warnings, and never disable it to install a pirated app.
On Apple silicon Macs, additional protections limit what malware can do even if it manages to execute. Keep FileVault on as well, so your data stays encrypted if the Mac is lost or stolen.
How do I run a free virus scan on a Mac?
Download the free Malwarebytes scanner from malwarebytes.com, install it, open it, and click Scan. It checks for viruses, malware, adware, and other threats, then lets you quarantine what it finds.
Malwarebytes says the free scanner supports Mac, Windows, Android, and iOS, and that it works as an on-demand scanner without running in the background. Its help center lists Quick Scan and Custom Scan as free on Mac, while Threat Scan, scheduled scans, and real-time protection need a paid plan.
The paid Standard plan lists at $59.99 per year for three devices on the Malwarebytes site, with first-year promotional pricing shown at the time of writing. You do not need to pay for a one-off cleanup: install the free scanner, decline the trial if you only want the free scan, and uninstall it afterward if you prefer.
Only download the scanner from the official Malwarebytes site or the Mac App Store. Fake Mac cleaners are a common infection route, so a scanner downloaded from an ad or a search result promising a free cleanup is exactly the thing you are trying to remove.
What are the signs of a virus on a Mac?
The most common signs are pop-ups that will not stop, a browser homepage or search engine you did not set, new extensions or toolbars, apps you do not remember installing, and a Mac that suddenly runs slowly, overheats, or shows constant password prompts.
- Browser changes: your homepage, default search, or new-tab page changed without you, or searches redirect through an unfamiliar site.
- Pop-ups and fake alerts: warnings claiming your Mac is infected and urging you to download a cleaner or call a number.
- Unknown apps and extensions: a new app in Applications or a browser extension you never installed.
- Performance changes: the fan runs constantly, the battery drains fast, or Activity Monitor shows an unknown process using heavy CPU.
- Account oddities: password-reset emails you did not request, or contacts receiving spam from your address.
Adware is the most common Mac problem, and it often arrives bundled with a free app or a fake update. If you see several of these signs together, treat it as an infection until a scan proves otherwise. For a wider check on device compromise, see our guide on how to know if your phone is hacked, which uses the same evidence-first approach.
How do I check a Mac for malware manually?
Manual checks catch the adware and persistence tricks that automated scans sometimes classify as low priority. Work through Applications, login items, browser extensions, profiles, and Activity Monitor in that order.
Open Finder, then Applications, and sort by date added. Remove anything you do not recognize or remember installing, then empty the Trash. Next, open System Settings, then General, then Login Items, and remove unknown items under Open at Login and under Allow in the Background.
In Safari, open Settings, then Extensions, and uninstall anything unfamiliar. Repeat in Chrome and Firefox if you use them, since adware often installs in every browser at once. Then check System Settings, then General, then Device Management or Profiles, and remove any profile you did not install yourself.
Finally, open Activity Monitor from Applications, then Utilities, and sort by CPU. Search the web for any process name you do not recognize before quitting it, because some system processes have unfamiliar names. If a process keeps relaunching after you quit it, that is a strong sign of persistence and a reason to run a full scan again.
What should I do if my Mac has a virus?
Quarantine everything the scanner flags, restart the Mac, then change any passwords you entered while infected and check your accounts for unknown devices, mail rules, or forwarding settings. Speed matters more than embarrassment.
- Quarantine, do not just delete. Let the scanner quarantine the files so they cannot run, then restart the Mac.
- Change passwords from a clean device. Start with email, banking, and Apple ID, and use a password manager to make each one unique.
- Check account security. Look for new devices, app passwords, and mail-forwarding rules in your email and Apple ID settings.
- Remove the source. Uninstall the app or extension that brought the malware in, and delete the installer you downloaded.
- Scan again. Run a second scan after the restart to confirm nothing relaunched.
If banking details or card numbers were entered, call your bank and watch statements for a few weeks. If the Mac belongs to your employer, tell IT immediately, even if the scan came back clean, because a work Mac may hold access to company systems. Our small business cybersecurity checklist covers the wider response, including backups and device updates.
How do I keep my Mac free of viruses?
Keep macOS and your browsers updated, install apps only from the App Store or the developer's official site, and treat every unexpected download prompt, fake update, or free cleaner offer as a trap. Prevention is mostly about downloads, not about buying more software.
- Turn on automatic updates for macOS and for system data files and security updates, so XProtect signatures arrive daily.
- Use the App Store first for new apps, and download anything else only from the vendor's own site.
- Never install a cleaner from a pop-up that claims your Mac is infected. That pop-up is the infection.
- Keep a backup with Time Machine, so a serious infection is a restore job, not a data-loss event.
- Use a password manager and passkeys where possible, so a stolen password alone does not unlock your accounts.
Also be careful with browser extensions: install only the ones you need, from the official browser store, and review them every few months. An extension with broad permissions can read pages, change searches, and inject ads, which is why adware loves them.
The bottom line
Scanning a Mac is not one button press. It is updates, a restart, a free second-opinion scan, and a manual look at the places adware hides. Do that routine once when something feels wrong, and repeat it after any suspicious download.
Keep automatic updates on, download software only from trusted sources, and check whether any password you used while infected appears in a known breach with our free pwned password checker.
Frequently asked questions
Does a Mac have a built-in virus scanner?
Yes. macOS includes XProtect, a signature-based antivirus that checks apps at first launch, when they change, and when Apple updates its signatures. It blocks known malware, moves it to the Trash, and can remove infections that already ran. There is no button to start it manually.
How do I run a full scan on a Mac?
Install all macOS updates, restart the Mac, then run a free on-demand scan with Malwarebytes. Finish with manual checks of Applications, browser extensions, login items, and configuration profiles, since those are the places adware hides.
Is Malwarebytes free for Mac?
Yes, the Malwarebytes scanner is free for Mac and includes Quick Scan and Custom Scan. Real-time protection, web protection, and scheduled Threat Scans need a paid plan. The free scanner finds and removes threats already on the device.
Can Macs get viruses?
Yes. Macs get adware, browser hijackers, fake system cleaners, information stealers, and trojans, even though classic file-infecting viruses are rare. Most Mac malware arrives through fake downloads, malicious ads, and trojanized apps rather than email attachments.
How do I know if my Mac has a virus?
Look for sudden pop-ups, a changed browser homepage or search engine, new toolbars or extensions you did not install, apps you do not recognize, slowness, overheating, or unexpected password prompts. Any one sign deserves a scan, not a wait-and-see approach.
Should I pay for Mac antivirus?
Pay only if you want real-time protection that blocks threats before they run. For a one-off cleanup, the free Malwarebytes scanner plus Apple's built-in tools is enough. If you download a lot of software from outside the App Store, paid real-time protection is worth considering.
What should I do if a scan finds malware?
Quarantine or remove everything the scanner flags, then restart the Mac, change passwords you entered while infected, and check for new mail rules or unknown devices on your accounts. If money moved or banking details were entered, contact your bank as well.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against Apple Support documentation on XProtect, Gatekeeper, and notarization, and Malwarebytes' free scanner and free-vs-paid feature pages.
How we write and fact-check →