On this page
Most people don’t need a traditional antivirus on a Mac. macOS already checks apps for known malware, blocks most of it before it opens, and removes known infections in the background. Extra software helps in a few specific cases, which this guide lists after what macOS covers.
Macs do get malware, though. Most of it doesn’t break in. It gets installed by someone who was persuaded to. That’s why the habits on this page matter as much as any scanner.
What macOS already blocks
These protections are on by default, and none of them needs a download.
Gatekeeper and notarization. Before an app from outside the App Store can be distributed normally, its developer sends it to Apple to be scanned for known malware. Apple calls this notarization. Gatekeeper checks for that approval the first time you open a downloaded app, and asks you before it opens. Apple can also revoke an app it later finds to be malicious, and Gatekeeper then blocks it.
XProtect. This is the malware check built into every Mac. Apple describes it as built-in antivirus technology that uses YARA rules, a common format for describing malware. XProtect checks an app when it first opens, when it changes, and when its rules update. Apple updates the rules on its own schedule, separately from macOS updates.
XProtect’s remediation engine. If known malware does run, macOS looks for it in the background and removes it when Apple’s rules describe it. Apple’s documentation calls this part of XProtect. Some writers call it XProtect Remediator.
System Integrity Protection (SIP). SIP keeps the system files read-only, even for apps running as an administrator. This stops malware from changing or replacing parts of macOS.
Permission prompts and the app sandbox. An app needs your permission before it reads your Desktop, Documents or Downloads, records the screen, or watches the keyboard. App Store apps also run in a sandbox, which keeps them out of other apps’ data.
Automatic security updates. Security fixes and XProtect rules can install without you doing anything. From macOS 26.1, Apple can also send small security fixes for Safari and system libraries between full updates. Apple calls these Background Security Improvements.
How to check these protections are on
- Open System Settings > General > Software Update.
- Click the info button next to Automatic updates.
- Make sure Install Security Responses and system files is on.
You can also check from Terminal. These commands only read settings. They don’t change anything.
spctl --statusassessments enabled means Gatekeeper is on.
xprotect versionThis shows the XProtect rules version and when it was installed, such as Version: 5368 Installed: 2026-10-22. A date within the last few weeks means updates are arriving.
csrutil statusSystem Integrity Protection status: enabled. means SIP is on. If it says disabled and you didn’t turn it off yourself, find out who did. Developers sometimes turn it off on purpose.
What macOS leaves to you
The built-in checks are good at known malicious files. They do less when you are the one being tricked.
Social engineering. A web page tells you to paste a command into Terminal to “fix” something. A pop-up gives you a support number to call. These work by getting you to act, so there may be no malicious file to catch until it’s too late. Apple says macOS 26.4 and later add warnings and checks for commands pasted into Terminal.
Things you approve. If you click Open Anyway, enter your password for an installer, or grant an app Full Disk Access, macOS treats that as your decision. That’s how many Mac password stealers and remote-control tools get in.
Adware in browsers. A browser extension that injects ads or changes your search engine often isn’t malware in Apple’s rules. It can stay installed for months.
Fake password prompts. A program you ran can show a window that looks like a macOS password request. macOS can’t tell whether you typed your password into a real prompt or a copy.
Network visibility. The macOS firewall can block incoming connections. It doesn’t ask before apps connect out, or show where each app sends data. The Mac firewall guide shows what the built-in firewall does.
Brand-new malware. XProtect knows what Apple has already described. Something new, or written for one target, can pass until the rules catch up.
What macOS covers and what’s left to you
| Risk | What macOS does | What’s left to you |
|---|---|---|
| Known malware in a download | Notarization, Gatekeeper and XProtect block it | Keep automatic updates on |
| Known malware that already ran | XProtect finds and removes it in the background | Nothing, unless it keeps coming back |
| Changes to system files | SIP makes them read-only | Leave SIP on |
| Apps reading your files, screen or keyboard | Asks you first | Say no to apps you don’t recognize |
| Fake support pages and pasted commands | Some Terminal checks on macOS 26.4 and later | Don’t paste commands from web pages |
| Browser adware | Little | Check your extensions |
| Fake password prompts | Little | Only type your password when you started the action |
| Apps sending data out | Shows totals in Activity Monitor | A tool that shows destinations, if you want them |
When extra security software is worth it
For a single careful user who installs from the App Store and well-known developers, macOS covers the main risks. Extra software is worth considering if:
- Several people share the Mac and install things freely.
- You look after someone else’s Mac, such as a parent who gets scam calls or pop-ups.
- You install a lot from outside the App Store, such as free tools, plug-ins or open-source builds.
- You want to see what’s running and connecting, not only whether a file is known malware.
- Your job requires it. Some employers and clients ask for a named security product.
If you think something is already wrong, check your Mac for signs of malware or for signs of a hack first. Both use only what’s built in.
What to look for in extra software
- It explains what it found and why, in words you can check.
- It says clearly what it checks.
- It asks before it deletes anything.
- The renewal price is clear before you pay.
- You can download it from the developer’s own site or the App Store, not from a pop-up or an ad.
Frequently asked questions
Is XProtect enough on its own?
For known Mac malware, mostly yes, together with Gatekeeper and automatic updates. It doesn’t help when you approve something harmful yourself, so the habits above matter as much as any scanner.
Do Macs get viruses?
Self-spreading viruses are rare on a Mac. Other malware is common, mainly adware, password stealers and remote-access tools, and people usually install it without knowing.
Is a free Mac antivirus from an ad safe?
Be careful with any security app advertised in a pop-up or a search ad. Some “Mac cleaners” sold that way are adware themselves. Download only from a developer whose site you found yourself.
Does an antivirus slow down a Mac?
Any app that scans files uses some processor time and battery while it works. How much depends on the app and how often it scans, so try it for a few days before you pay.
Do I need antivirus for a MacBook Air?
No more than for any other Mac. A MacBook Air runs the same macOS protections, so the answer on this page applies to it too.
Does Apple recommend antivirus for Mac?
Apple doesn’t tell people to install one. It points to the protections built into macOS and to keeping the Mac up to date.
Sources
- Apple Platform Security, Protecting against malware in macOS.
- Apple Platform Security, Gatekeeper and runtime protection in macOS.
- Apple Platform Security, System Integrity Protection.
- Apple Platform Security, Controlling app access to files in macOS.
- Apple Platform Security, Terminal and script protections.
- Apple Platform Security, Background Security Improvements in Apple operating systems.
- Apple Support, Safely open apps on your Mac and Recognize and avoid social engineering schemes.
- Terminal commands and setting names checked on macOS 26.0.1 (25A362), 31 October 2026.
How we tested. Every step was checked on macOS 26.0.1 (25A362), MacBook Pro (16-inch, 2021), 31 October 2026. Menus and wording can differ on other versions of macOS.