Is my Mac infected? How to check for viruses and adware, step by step

Updated October 2026 · 7 min read

Your browser opens pages you didn't ask for, the search engine changed by itself, or a pop-up insists your Mac is "infected with 3 viruses." It's natural to wonder whether something nasty got in.

Here's the calm version: Macs do get unwanted software, but true viruses are rare. What most people actually run into is adware — apps and browser extensions that push ads, change your settings, or track your browsing. The good news is that you can check for all of it yourself, using only what's built into macOS, in about 15 minutes.

First, a rule of thumb: a web page that says your Mac is infected is not a scan. Websites cannot see what's on your disk. Those warnings are ads designed to scare you into installing something. Close the tab (or force quit the browser with Option-Command-Esc if it won't close) and don't download anything it offers.

What your Mac already does to protect you

Every Mac ships with several layers of protection that work quietly in the background:

To keep these working, leave the default setting in System Settings → Privacy & Security, under Allow applications from, and keep macOS up to date in System Settings → General → Software Update. Make sure Automatic Updates there is set to install security responses and system files.

These protections are strong, but they can't stop software you agree to install. Most unwanted software gets onto Macs because someone clicked "Allow" on a fake video player, a "free" converter, or a bundled installer. That's what the checks below are for.

Signs something unwanted is on your Mac

A slow Mac on its own is not a sign of infection — it's much more often too little memory or a full disk. See 15 fixes for a slow Mac for that.

Step 1: Check your Applications folder

Open Finder → Applications and switch to list view (View → as List). Click the Date Added column, if you see it, to sort newest first (if not, choose View → Show View Options and turn it on). Look for anything you don't recognize, especially apps added around the time the problems started — names like generic "player," "search," "optimizer," or "PDF converter" apps are common.

If you find something suspicious and you're sure you don't need it, drag it to the Trash and empty it. If macOS says it can't move it because it's open, quit it first from the Dock or force quit it. Our guide to uninstalling apps completely shows how to clear the leftovers too.

Step 2: Check Login Items and background items

Unwanted software likes to start automatically. Open System Settings → General → Login Items & Extensions (called Login Items on macOS Sonoma).

macOS also shows a notification whenever a new app adds a background item. If you ever see one you don't expect, that's a good moment to investigate. More details in our login items guide.

Step 3: Clean up your browser

Browser extensions are the most common home for adware.

Safari

  1. Open Safari and choose Safari → Settings (Command-comma).
  2. Click Extensions. Turn off or uninstall anything you don't recognize.
  3. Click General and check that the homepage is what you want.
  4. Click Search and make sure the search engine is one you chose.

Other browsers

Every major browser has an extensions page in its main menu (often under Settings → Extensions). Remove anything you didn't install on purpose, then check the homepage, startup pages and default search engine in the browser's settings. If a setting keeps changing back, an app or profile is controlling it — continue to the next steps.

Step 4: Look for configuration profiles

Profiles are a legitimate tool that companies and schools use to manage Macs. Adware sometimes abuses them to lock your browser settings. Open System Settings → General → Device Management (you may need to scroll down). On macOS Sonoma, look in System Settings → Privacy & Security → Profiles if Device Management isn't there.

If the section isn't there or is empty, you have no profiles — that's normal for a personal Mac. If you see one you don't recognize, select it and click the minus (–) button to remove it.

Careful with work or school Macs: if your Mac belongs to an employer or school, the profiles you see were probably put there on purpose. Don't remove them — ask your IT team instead. If a profile can't be removed, your Mac is likely managed by an organization.

Step 5: Check Activity Monitor for anything odd

Open Activity Monitor (Spotlight, Command-Space, then type its name) and click the CPU tab. Sort by % CPU. Most names you see belong to macOS and look technical — that's fine. What you're looking for is a name that matches the suspicious app you found earlier, or something unfamiliar that keeps using lots of CPU while you're idle. Don't quit processes you don't recognize at random; use them as clues for which app to remove. Our Activity Monitor guide explains the columns.

Step 6: Restart and confirm

Restart your Mac, open your browser, and check that your homepage and search engine stay the way you set them. If the problems are gone, you're done. Keep macOS updated and install apps only from the App Store or directly from developers you trust.

If unwanted behavior keeps coming back after all of this, the most thorough fix is to back up your personal files and erase and reinstall macOS, then reinstall your apps fresh from trusted sources.

Want a second pair of eyes on what's installed?

Gigatidy isn't an antivirus — it's a cleanup assistant. It lists what's installed and what starts with your Mac, explains each item in plain English, and removes only what you approve. Apps go to the Trash, so nothing is lost by mistake.

Meet Gigatidy →

FAQ

Do Macs need antivirus software?

For most home users, macOS's built-in protections — Gatekeeper, notarization and XProtect — plus regular updates and careful downloading are enough. The biggest risk is installing something you were tricked into, which no setting can fully prevent.

Is the "your Mac is infected" pop-up real?

No. Websites cannot scan your Mac. These pop-ups are scare ads trying to get you to download or pay for something. Close the tab, don't call any phone number shown, and don't install what it offers.

How do I know if a Mac app is safe to install?

The safest sources are the Mac App Store and the official website of a developer you know. If macOS warns that it can't check an app for malicious software, think twice before overriding that warning.