How to Remove Malware From a Mac

Macs have built-in protections against many known threats, but no device is completely immune to malware. If your Mac is showing persistent pop-ups, unwanted redirects, unfamiliar apps or other suspicious behaviour, take these steps to investigate and clean it up safely.

Important: Don’t click suspicious pop-ups, call phone numbers shown in them, or install “cleaner” software they recommend. A warning in a web page may be a scam, not a genuine macOS alert.

x

1. Disconnect and protect your accounts

If you suspect information is being stolen, disconnect your Mac from Wi-Fi or unplug its network cable while you investigate. Use a different, trusted device to change the passwords for important accounts—especially your email, Apple Account, banking and work accounts. Turn on two-factor authentication where available.

If this is a work or school Mac, contact your IT support team before deleting anything.

2. Update macOS

Install the latest macOS version available for your Mac. Updates include security fixes, and Apple also distributes some malware protections in the background.

  1. Open the Apple menu  and choose System Settings.
  2. Select General, then Software Update.
  3. Install any available updates and restart when prompted.

Apple’s built-in XProtect checks for known malicious software and can block or help remove it. Keeping macOS and its security updates current helps those protections do their job. (support.apple.com)

3. Remove suspicious apps

Think about any app you installed just before the problem began. If you don’t recognise an app, look it up through a trusted source before removing it.

  1. Quit the app if it’s open.
  2. Open Finder > Applications.
  3. If the app provides an uninstaller, use that first; it may remove supporting files as well.
  4. Otherwise, drag the app to the Bin.
  5. Restart your Mac.

Don’t delete unfamiliar files from system folders or run Terminal commands you found online to remove them. Removing the wrong files can cause problems. Apple’s guidance recommends using an app’s own uninstaller when available. (support.apple.com)

4. Check what opens automatically

Some unwanted software may launch whenever you sign in.

  1. Open Apple menu  > System Settings.
  2. Select General > Login Items & Extensions.
  3. Review the items under Open at Login and remove anything you recognise as suspicious or no longer need.

Avoid removing items you can’t identify if your Mac is managed by an organisation or you’re unsure what they do. Login items can be legitimate software too. (support.apple.com)

5. Check your browser

If the problem is mainly pop-ups, search redirects or unfamiliar search results, check your browser:

  • Remove extensions you don’t recognise or no longer use.
  • Check that your homepage and search engine haven’t been changed without your permission.
  • Close suspicious tabs without interacting with their contents.
  • Clear website data if unwanted pages keep reopening.

In Safari, review Safari > Settings > Extensions. For other browsers, use their own extension and settings menus.

6. Run a reputable malware scan if needed

macOS includes built-in malware protections, but you can also use a reputable security tool if symptoms continue or you want a second opinion. Download it directly from the developer’s official website or the Mac App Store—not from an ad, pop-up or third-party download site. Avoid running multiple security apps at once unless their makers say they’re compatible.

7. Use Safe Mode if you can’t remove the app

Safe Mode can help diagnose problems caused by software that loads when your Mac starts. The steps depend on your Mac:

  • Apple silicon: Shut down. Press and hold the power button until startup options appear. Select your startup disk, hold Shift, then choose Continue in Safe Mode.
  • Intel: Restart and immediately hold Shift until the login window appears.

Then try removing the suspicious app or login item. Restart normally when you’re done. (support.apple.com)

8. If the problem persists

If suspicious activity continues after these steps, back up your important personal files, contact Apple Support or a trusted technician, and ask about reinstalling macOS. Avoid restoring apps or files that may have brought the problem back. If you believe a password or payment detail was exposed, contact the relevant service provider or bank promptly.

Prevent future infections

  • Install apps from the Mac App Store or directly from developers you trust.
  • Don’t bypass macOS security warnings for apps you can’t verify.
  • Keep macOS and your browser up to date.
  • Be cautious with unexpected attachments, downloads and prompts asking you to install software.

macOS uses protections such as Gatekeeper, notarisation and XProtect to help prevent, block and remediate known malware—but cautious download habits remain important. (support.apple.com)