1. Consider reputable antivirus software

Although macOS includes protections against known malware, Macs can still be affected by malicious apps, adware and deceptive downloads. A reputable security tool may provide additional scanning or alerts, depending on the product and plan.

Choose software from the vendor’s official website and check its current features, privacy terms and subscription price. Antivirus software is not a guarantee against every threat and does not replace updates or cautious browsing.

2. Keep macOS up to date

Apple releases updates that include security fixes. Install updates that are available for your Mac.

  1. Open the Apple menu.
  2. Choose System Settings.
  3. Select General, then Software Update.
  4. Install available updates. If possible, enable automatic updates that suit your preferences.

The exact labels can differ slightly by macOS version. Older Macs may show Software Update in a different location.

3. Download apps carefully

Prefer the Mac App Store or the official website of a developer you trust. Be wary of download buttons on unfamiliar websites, unexpected email attachments and apps promoted through alarming pop-ups.

If macOS warns that an app cannot be verified or may harm your Mac, do not bypass the warning automatically. Check that you have the correct app from a legitimate source before deciding what to do.

4. Leave macOS security protections enabled

macOS includes security features such as Gatekeeper and XProtect. Gatekeeper helps restrict apps from unidentified developers, while XProtect can detect certain known malware. Their exact behaviour and settings depend on your macOS version.

On current macOS versions, review app security options in System Settings → Privacy & Security. Avoid changing these settings just to install an app unless you understand why the warning appears and have verified the source.

5. Use strong, unique passwords and multi-factor authentication

A password manager can help you create and store a different strong password for each account. Enable two-factor authentication where available, especially for your Apple Account and email. Never enter your password after following an unexpected link or a message that pressures you to act immediately.

6. Watch for phishing and fake virus warnings

Messages claiming that your Mac is infected may be designed to make you install unwanted software or call a fake support number. A website pop-up alone cannot reliably diagnose your Mac.

  • Do not call phone numbers shown in unexpected security pop-ups.
  • Do not install a scanner through a warning on an unfamiliar website.
  • Close the tab or browser window. If pop-ups return, check website notification permissions and browser extensions.
  • Download apps and updates only from trusted sources.

7. Keep a current backup

A backup will not prevent malware, but it can help you recover important files if something goes wrong. Use Time Machine or another trusted backup method, and check periodically that your backup can be accessed.

What if you suspect your Mac is infected?

If you see persistent unwanted ads, browser redirects or unfamiliar apps, avoid clicking suspicious messages. Disconnect from the internet if you believe there is active harmful activity, remove only software you can identify, and run a scan with a reputable security tool if appropriate. Keep your system updated and change passwords from a trusted device if you think an account may have been compromised.

If you are unsure what is safe to remove, get help before deleting system files or your photo and document libraries.

Frequently asked questions

Does a Mac need antivirus software?

Not every user needs a separate paid antivirus suite. macOS has built-in protections, but extra scanning may be useful depending on how you use your Mac. No product offers complete protection.

Is Gatekeeper still available?

Yes. Gatekeeper remains part of macOS security. On current versions, related app security options can be found in System Settings under Privacy & Security.

Are Macs immune to viruses?

No. Macs can be affected by malware, adware, phishing and other attacks. Updates, cautious downloads, strong account security and backups all matter.

Should I trust a website saying my Mac is infected?

No. Treat unexpected pop-ups with caution. Do not call the number or install software they recommend; close the page and check your Mac using trusted tools.

For more help, read our guide Does your Mac need antivirus software? or contact us for personal Apple support.

Last updated: October 2026.