“macs can't get viruses”
the short answer
In 2012, Apple's own Mac page said: "It doesn't get PC viruses." That meant Windows viruses, which generally can't run on a Mac. Office macros are the exception: they work on Macs too.
Apple's own security guide says Macs ship with three layers of defense, on by default, and one of them removes malware that has already run. You don't build clean-up into a computer that can't be infected.
Macs have been hit. One antivirus firm counted over 600,000 infected Macs in 2012, and in 2006 a true virus infected Mac apps, with few cases reported. Well protected, not immune.
phrase by phrase
what you can do
- 01Before clicking Open Anyway on an app warning, ask: were you expecting this app?
- 02Keep your Mac updated and leave automatic security updates on.
- 03Never paste commands from a website into Terminal, and don't install apps or fixes from ads.
- 04Leave Office's macro warning on, and don't turn on macros in documents you weren't expecting.
sources
Every source is linked. Primary means the original document or data; Secondary means other sources we used.
- Apple Platform Security: Protecting against malware in macOSThree layers of defense; XProtect section
- Apple Support: About the security content of Flashback malware removal toolMalware removal description
- Apple Developer News: Updates to runtime protection in macOS Sequoia (Aug 6, 2024)First paragraph (Control-click override removed)
- Apple Support: Safely open apps on your MacMalware warning; Open Anyway steps; Allow apps downloaded from settings
- Microsoft Security Blog: Infostealers without borders: macOS, Python stealers, and platform abuse (Feb 2, 2026)Intro and 'macOS users are being targeted' section
- Doctor Web: A chronology of the BackDoor.Flashback.39 epidemicApril 3-10, 2012 entries (infected host counts)
- Apple, Why You'll Love a Mac: better OS (Wayback copy, spring 2012)'It doesn't get PC viruses' section
- Apple, Why You'll Love a Mac: better OS (Wayback copy, summer 2012)'It helps keep you safe' section
- CISA Known Exploited Vulnerabilities catalog (CSV, retrieved 2026-11-01)Apple rows mentioning macOS; CVE-2021-30657 and CVE-2026-86950 rows
- NIST CSRC Glossary: virusCNSSI 4009-2022 definition
- CNBC: Apple's head of software says current level of Mac malware is not acceptable (May 19, 2021)
- Engadget: Apple removes claim of virus immunity (June 26, 2012)
- Virus Bulletin: A small step for Mac OS X (Glyn Kennington, Sophos, April 2006)Introduction; 'Infection' and 'What next for OS X malware?' sections
- Microsoft Support: Enable or disable macros in Microsoft 365 for MacOpening paragraph (macro virus warning)
- NCSC: Macro security for Microsoft OfficeMacro engine enabled by default on macOS and Windows; macOS section; Office for macOS paragraph
- Kaspersky Securelist: Flashfake Mac OS X botnet confirmed (April 6, 2012)
- Apple Support: About the security content of iOS 26.7.1 and iPadOS 26.7.1CoreGraphics entry (CVE-2026-86950 impact statement)
think we got it wrong? bring a source.
Send us the source and what it changes. If it holds up, we’ll correct this page and say so.
Send a source