Can Macs Get Viruses?

It’s not common, but Mac computers and other Apple products can get viruses. Historically, macOS has been more secure than Windows, but hackers and other cyber attackers are figuring out how to get around Apple’s robust defenses. Malwarebytes Labs reported that malware attacks on Macs grew more than 270% between 2016 and 2017.

Master your smart devices with our weekly newsletter
Sign up to get the latest smart home tips and reviews directly in your inbox.

By signing up, you agree to our Terms and Conditions and Privacy Policy.

Mac Security Measures

Macs are built to resist malware and other computer viruses thanks to the Unix-based Mac operating system. Unix includes many built-in security components that are challenging for hackers to circumvent. Apple also builds security measures into its operating system to help fend off attackers. Macs come with built-in anti-malware protection and a malware scanning tool, plus macOS prevents you from downloading software that hasn’t been approved by Apple.

Every Mac comes with Gatekeeper, a system that blocks downloads from unidentified developers. Whenever you try to download software on a Mac, Gatekeeper checks to see if the software has been digitally signed. This means that the developer has been vetted and approved by Apple. If the software doesn’t have a digital signature, you’ll get an error message that the download is blocked. You can go into Settings to bypass the Gatekeeper block, but that is not recommended.

Another security measure that helps protect Macs from viruses is called sandboxing. Sandboxing applies to apps, and it makes sure that apps can’t do more than what they are designed to do. It prevents apps from accessing sensitive data like your Mac’s system components, your data, and other apps. Apple also provides built-in data encryption via the FileVault setting, which protects all the data on your Mac and encrypts all files. To use this protection, you need to manually turn on FileVault in the Security & Privacy section of System Preferences.

How to Prevent Computer Viruses on Your Mac

One of the biggest reasons virus attacks on Macs have been less common is due to the smaller percentage of people using Macs instead of PCs. As Macs take a larger share of the market, hacking them becomes more worthwhile. To better understand Mac vulnerabilities, learn about verified viruses and malware attacks that have happened in recent years.

In addition to relying on Apple’s built-in security measures, there is more you can do to keep your Mac from getting hacked.

  • Keep your operating system up to date.
  • Turn on your Mac’s firewall, FileVault, and other built-in security settings.
  • Protect your passwords for your Mac and sensitive files.
  • Disable the automatic login setting.
  • Avoid using public Wi-Fi networks.
  • Use a VPN (virtual private network) when using a shared or public network.
  • Pay attention to privacy settings.
  • Turn off remote login.
  • Keep Flash and Java plugins updated.
  • Watch out for phishing email scams.
  • Enable two-step verification for apps and downloads.
  • Use antivirus software designed for Macs.

Even though Macs are less vulnerable than traditional PCs, Mac users should still take measures to protect their computers and personal information.


Compare the best identity theft protection services

Best comprehensive Best individual coverage Best family coverage Best budget pick Best insurance coverage
Brand
Identity Force Logo 2019IdentityForce
ReliaShieldReliaShield
Identity GuardIdentity Guard
ZanderZander
LifeLockLifeLock
Starting price

$9.99/mo.

$7.19/mo.

$6.67/mo.

$6.75/mo.

$8.99/mo.

Recovery insurance

$1 million

$1 million

$1 million

$1 million, lost wages up to $30k

$1 million, reimbursement up to $1 million

Family plan
Icon Yes  Light

Yes

Icon Yes  Light

Yes

Icon Yes  Light

Yes

Icon Yes  Light

Yes

Icon No  Light

No

Dark-web monitoring
Icon Yes  Light

Yes

Icon Yes  Light

Yes

Icon Yes  Light

Yes

Icon Yes  Light

Yes

Icon Yes  Light

Yes

Credit monitoring available
Icon Yes  LightYes
Icon Yes  Light

Yes

Icon Yes  LightYes
Icon No  Light

No

Included w/ base plan

*Amazon.com price as of 4/8/2021 at 9:10 a.m. (MT). Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply to the purchase of this product. Safewise.com utilizes paid Amazon links.

Rebecca Edwards
Written by
Rebecca Edwards
Rebecca is the lead safety reporter and in-house expert for SafeWise.com. She has been a journalist and blogger for over 25 years, with a focus on home and community safety for the past eight. Rebecca spends dozens of hours every month poring over crime reports and spotting trends. Her safety expertise is sought after by publications, broadcast journalists, non-profit organizations, podcasts, and more. You can find her expert advice and analysis in places like TechCrunch, The Washington Post, The Chicago Tribune, The Miami Herald, NPR, HGTV, MSN, Reader's Digest, Real Simple, and an ever-growing library of radio and TV clips.

Recent Articles

SimpliSafe UK Home Alarm Review
SimpliSafe combines the convenience of DIY purchase and installation with the comfort of professional monitoring....
security system being installed on wall
Best DIY Home Security Systems of 2021
DIY install home security systems are cost-efficient, effective, and easy to install. See which DIY...
couple sitting on floor with moving boxes and a dog
Best Home Security Systems for Renters
These renter-friendly home security systems keep your house or apartment safe and require less commitment...
Large craftsman style house at twilight with lights on
Best Home Security Systems of 2021
After hundreds of hours of tests and research, plus a combined 50+ years of experience,...