How to Remove Malware from a Mac (2026 Step-by-Step Guide)
Macs do get malware. In May 2011, fake antivirus apps called MacDefender, MacProtector and MacSecurity tricked Mac users with “your computer is infected” pop-ups and tried to steal credit card details. Apple released a security update to remove them. Similar scams still appear today. Here’s how to remove malware from a Mac in 2026 and avoid it in the first place.

Quick answer: To remove malware from a Mac, update macOS, quit suspicious apps in Activity Monitor, delete unknown apps from Applications, remove unwanted items in System Settings > General > Login Items, remove strange browser extensions and configuration profiles, then run a scan with a trusted tool like Malwarebytes for Mac. macOS also has built-in XProtect, which removes known malware automatically.
Table of Contents
Signs your Mac may have malware
- Pop-ups saying your Mac is infected, asking you to download “antivirus” or call support.
- Your browser homepage or search engine changed on its own.
- New toolbars, extensions or apps you didn’t install.
- The Mac is suddenly slow, or the fan runs constantly.
How to remove malware from a Mac
- Don’t enter your password or card details in any pop-up. Quit the browser (Force Quit with Option-Command-Esc if needed).
- Update macOS: System Settings > General > Software Update. Updates include the latest XProtect malware definitions.
- Check Activity Monitor (Applications > Utilities) for unfamiliar processes and quit them.
- Delete suspicious apps from Applications and empty the Trash. Also check your Downloads folder for installers.
- Remove login items: System Settings > General > Login Items, and remove anything you don’t recognise.
- Clean your browsers: remove unknown extensions in Safari, Chrome and Firefox, and reset the homepage and search engine.
- Check profiles: System Settings > Privacy & Security > Profiles (if present). Remove profiles you didn’t add.
- Scan with a reputable tool such as Malwarebytes for Mac.
- Change passwords if you entered any on a suspicious site.
The 2011 MacDefender scam
Fake websites told Mac users their computer was infected and offered MacDefender “antivirus” software. Once installed, it showed fake alerts and asked for payment. Apple’s advice then still applies: quit the browser, cancel the install, never enter your administrator password, and delete the installer. Apple followed up with an update that removed the malware automatically.
How to avoid Mac malware
- Download apps from the Mac App Store or the developer’s official site.
- Keep Gatekeeper on (Privacy & Security > allow apps from App Store and identified developers).
- Ignore pop-ups claiming your Mac is infected.
- Avoid cracked or pirated software, a common malware source.
- Use a password manager and two-factor authentication; see the most common passwords to avoid.
FAQ
Do Macs need antivirus software?
macOS includes XProtect and Gatekeeper, which stop most threats. An extra scanner helps if you suspect an infection.
Can Apple remove malware from my Mac?
macOS updates remove known malware automatically. Apple Support can also help.
Is the “your Mac is infected” pop-up real?
Almost always it’s a scam. Close the page and never call numbers or download software it suggests.

$4.99Free when you subscribe
Get 100 tech terms explained in plain English
8-page PDF on AI, coding, slang and SEO + one tech email a week.
Sent by email. Unsubscribe anytime. See our privacy policy.






