How to Remove Malware From Your Mac Step by Step 2026

A MacBook on a desk with a person checking Activity Monitor on screen

How to Remove Malware From Your Mac Step by Step 2026

A MacBook on a desk with a person checking Activity Monitor on screen

Your Mac is acting strangely. Pop-ups appear out of nowhere, your browser homepage has changed, and the fan spins loudly while nothing is open. It might be malware. The good news is that most Mac infections can be removed at home, without a repair shop, if you follow the steps in the right order.

Learning how to remove malware from your Mac step by step matters because doing it in the wrong order can make things worse. Logging into your bank while malware is still running, for example, can hand your credentials straight to the attacker. Disconnect first, clean second, and change passwords last.

Here is the short answer. Disconnect from the internet, boot into Safe Mode, check Activity Monitor for suspicious processes, run a trusted malware scanner such as Malwarebytes, remove suspicious apps and browser extensions, clear your browser settings, and then change your passwords from a clean device.

If the infection returns after all that, erase the Mac and restore from a backup made before the infection.

Key Takeaways

  • Disconnect from the internet first: it stops malware spreading to other devices and stealing more data.
  • Most Mac malware is adware, browser hijackers or potentially unwanted programs, not destructive viruses.
  • Safe Mode stops most malware from running, which makes it much easier to find and remove.
  • Use a trusted scanner such as Malwarebytes for Mac, and beware of fake cleaners that are malware themselves.
  • Change your passwords only after the Mac is clean, starting with email and banking, and turn on multi-factor authentication.

Close-up of hands on a MacBook keyboard with a notebook beside it
Signs Your Mac Has Malware

Before you start cleaning, confirm that malware is the likely cause. The clearest signs are pop-up ads that appear even when your browser is closed, a homepage or search engine that changed without your permission, new toolbars or extensions you did not install, and your Mac running slowly or overheating for no obvious reason.

Adware, PUPs and Real Malware: What Is the Difference?

Most Mac infections are adware: software that shows you unwanted ads, redirects your searches, or changes your browser settings to earn money for its makers. Adware is annoying and invasive, but it rarely destroys files. Browser hijackers such as Search Marquis are a common example, and they are the infection most Mac owners actually meet.

Step 1: Disconnect From the Internet

The first step is always the same: disconnect from the internet. Click the Wi-Fi symbol in the top right corner of the screen and toggle the Wi-Fi switch off, or unplug the Ethernet cable if you use one.

This isolates your Mac, preventing malware from spreading to other devices on your network or extracting more sensitive data.

If this is a work Mac, talk to your IT team first. Do not remove device management profiles, security agents or other software your IT team installed, because that can break your work setup and your company’s security policies. Your IT team may want to handle the cleanup themselves.

A person working on a laptop in a living room with plants nearby
Step 2: Boot Into Safe Mode

Safe Mode starts your Mac in a diagnostic mode that allows you to troubleshoot issues without malware interference. Most malware does not load in Safe Mode, which makes it much easier to find and remove. The steps differ slightly between Intel and Apple silicon Macs, so check which one you have first.

On an Intel-based Mac, restart the Mac and press and hold the Shift key as it starts up. When the login window appears, release the Shift key and log in. You should see Safe Boot in the upper-right corner of the screen.

On a Mac with Apple silicon, restart and hold the power button until you see the startup options, then select your startup disk, press and hold the Shift key, and click Continue in Safe Mode.

Step 3: Check Activity Monitor for Suspicious Processes

Activity Monitor is a built-in macOS tool that shows every process running on your Mac in real time, including any background activity run by malware. Open it from Finder by going to Applications, then Utilities, then Activity Monitor.

Click the CPU tab and look for processes using a lot of processor power that you do not recognise.

Look for process names that are misspelled versions of real apps, names made of random letters, or apps you do not remember installing. Do not quit an unfamiliar process straight away, because many belong to macOS itself, and quitting does not remove malware that starts again.

Note the name first, then search for it online from a clean device if you can.

Check Login Items and Launch Agents

Malware often survives a restart by adding itself to your login items. Go to the Apple menu, then System Settings, then General, then Login Items and Extensions, and look for anything you do not recognise. Disable the ones you do not need, and remove anything suspicious.

Also check the Launch Agents and Launch Daemons folders in your Library. From Finder, use Go, then Go to Folder, type ~/Library, and look in Launch Agents for files related to a suspicious app. Remove any .plist files tied to it, and check the Application Support folder for leftover files from the same app.

Be careful here: delete only files you can link to the suspicious app.

Step 4: Run a Trusted Malware Scanner

Running a malware scanner is one of the most effective ways to detect and remove infections, giving your system a fresh start. Use a trusted scanner, and beware of fake cleaners that are malware themselves.

Malwarebytes for Mac is a good choice: its free scanner finds adware, browser hijackers, spyware and other threats, and it is widely recommended by reviewers.

Download the scanner from the vendor’s official website only, never from a pop-up ad or a download site that bundles extra software. Open the app, run a full system scan, and wait for it to finish. If anything malicious is found, follow the on-screen steps to remove it.

If the scan comes back clean, your problem may not be malware at all.

Step 5: Remove Suspicious Apps and Browser Extensions

Next, remove the software that caused the problem. Go to your Applications folder and look for apps you do not recognise or did not install. Drag the app to the Trash, then check ~/Library/Application Support for any files related to the app and drag those to the Trash too.

Empty the Trash when you are done.

Then fix your browser, because that is where most Mac malware lives. In Chrome, open chrome://extensions/ and remove any extension you do not recognise. In Safari, go to the Safari menu, then Settings, then Extensions, and uninstall the ones you do not know.

In Firefox, go to the main menu, then Settings, then Extensions and Themes, and remove the suspicious ones.

Clear Caches and Temporary Files

To delete temporary files, quit all active apps, then open Finder and press Shift, Command and G. Type ~/Library/Caches into the box and press Enter. Select the cache files, press Command and Delete to move them to the Trash, and enter your password to confirm. Then empty the Trash.

StepWhat to doWhy it matters
1. DisconnectTurn off Wi-Fi and unplug EthernetStops data theft and spread
2. Safe ModeRestart holding ShiftStops malware from running
3. Activity MonitorFind and quit suspicious processesIdentifies what is running
4. Run a scannerFull scan with Malwarebytes or similarFinds and removes the infection
5. Remove apps and extensionsDelete suspicious apps and browser add-onsRemoves the source
6. Clear cachesEmpty ~/Library/Caches and browser dataRemoves hiding places
7. Change passwordsFrom a clean device, starting with emailBlocks stolen credentials

Mac Malware Removal Checklist

Work through this checklist in order, and do not skip ahead to changing passwords until the Mac is clean.

  1. Disconnect from the internet and stay offline while you clean.
  2. Boot into Safe Mode using the steps for your Intel or Apple silicon Mac.
  3. Check Activity Monitor, login items and Launch Agents for suspicious entries.
  4. Run a full scan with a trusted scanner such as Malwarebytes, and remove what it finds.
  5. Delete suspicious apps from the Applications folder and their support files.
  6. Remove unknown browser extensions and reset your homepage and search engine.
  7. Clear caches and temporary files, then restart the Mac normally.
  8. Run the scanner a second time to confirm the Mac is clean.
  9. Change passwords from a clean device, starting with email and banking.
  10. Turn on multi-factor authentication on every important account.

Frequently Asked Questions

How do I know if my Mac has malware?

Common signs include pop-up ads when the browser is closed, a changed homepage or search engine, new toolbars or extensions you did not install, slow performance, and the fan running loudly with nothing open. One sign alone may have an innocent cause, but several together point to an infection.

A free scan with a trusted scanner such as Malwarebytes will confirm it.

Can I remove malware from my Mac for free?

Yes. Malwarebytes offers a free scanner for Mac that finds and removes adware, browser hijackers and other threats. Apple’s built-in tools, Activity Monitor and Safe Mode are also free. You only need to pay if you want real-time protection afterwards, which the free scanner does not include.

Never pay for a cleaner advertised in a pop-up, because those are often malware themselves.

What is the best malware scanner for Mac?

Malwarebytes for Mac is the most widely recommended free scanner, because it is good at finding adware and browser hijackers that other tools miss. CleanMyMac is another trusted option, and it is Apple-notarised.

For ongoing real-time protection after cleanup, consider a full antivirus such as Bitdefender or Intego, both of which scored top marks in independent lab tests.

Will Safe Mode remove malware from my Mac?

No, Safe Mode does not remove malware by itself. It starts your Mac in a diagnostic mode where most malware does not load, which makes the infection much easier to find and remove. You still need to run a scanner, delete the malicious app, and clean your browser.

Think of Safe Mode as a safe workshop, not as the repair itself.

Should I change my passwords after removing Mac malware?

Yes, but only after the Mac is clean. If you change passwords while malware is still running, the attacker can capture the new ones too. Once two scans come back clean, change your passwords from the Mac or another clean device, starting with email and banking, then social media and shopping.

Turn on multi-factor authentication on every important account.

What if malware keeps coming back after I remove it?

If the infection returns after a full cleanup, something is reinstalling it, usually a login item, a Launch Agent, a browser extension, or a malicious profile you missed. Check those places again carefully.

If it still returns, the safest option is a full cleanup: erase the Mac, reinstall macOS, and restore only your personal files from a backup made before the infection. Never restore apps or settings from an infected backup.

Conclusion

Removing malware from your Mac is a process, not a single click. Disconnect first, boot into Safe Mode, check Activity Monitor, run a trusted scanner, remove suspicious apps and extensions, clear your caches, and only then change your passwords.

Each step makes the next one easier, and skipping one leaves a door open for the infection to return.

If the infection keeps coming back despite a careful cleanup, do not keep fighting it. Erase the Mac, reinstall macOS, and restore only your personal files from a backup made before the infection.

For more on keeping your Mac safe, see our guides on how to check for malware on a Mac, the best antivirus for Mac, the best antivirus software, and the best password managers for security.

on this page