How to scan your MacBook Pro for viruses and malware

To scan your MacBook Pro for viruses, install the latest macOS update and restart, because the built-in XProtect antivirus removes known malware it finds when the Mac restarts.

This guide covers how XProtect scans, the settings that keep it current, and how to hunt down adware, rogue extensions, login items and profiles by hand.

How to scan your MacBook Pro for viruses and malware
Install every update Software Update offers, then restart so the security updates can remove known malware. (Image: Apple)

How do I scan my MacBook Pro for viruses?

macOS has no Scan button. XProtect checks apps on its own, so the job is to give it the latest malware signatures, restart, then check the places adware likes to hide.

  1. Choose Apple menu > System Settings, click General, then click Software Update.
  2. Click Check for Updates and install anything offered. Keep the power adapter plugged in and the lid open.
  3. Restart the MacBook Pro so the security updates can remove any known malware already installed.
  4. Open Finder > Applications and look for apps you do not remember installing.
  5. In Safari, choose Safari > Settings > Extensions and uninstall anything you do not recognise.
  6. Open System Settings > General > Login Items & Extensions and remove unknown items under Open at Login.

If macOS ever shows a malware alert for a file, put the item in the Trash and empty the Trash.

Does MacBook Pro have a built-in virus scanner?

Yes. Every MacBook Pro runs XProtect, Apple's signature-based antivirus, alongside Gatekeeper and notarization. Together they block known malware before it opens and remove it if it does run.

Protection What it does When it acts
XProtect Detects and blocks known malware using signatures Apple updates on its own schedule, then moves it to the Trash When an app first launches, when an app changes, and when signatures update
XProtect remediation Removes infections that already ran and keeps checking periodically After Apple delivers updated information, and on restart
Gatekeeper Checks the Developer ID signature and asks before downloaded software opens the first time First launch of downloaded apps, plug-ins and installer packages
Notarization Apple scans developer apps for known malware and can revoke them later Before an app is distributed, plus frequent background revocation checks
Background Security Improvements Extra protection delivered between full macOS updates (macOS Tahoe 26 or later) Installed automatically in the background

By default, macOS checks for new XProtect updates daily, independently of full macOS releases.

How to do a full scan on Mac

A full scan on a Mac means making sure XProtect updates install automatically, then restarting. The setting has a different name depending on your macOS version.

Your macOS Where to turn it on Setting to turn on
macOS Tahoe 26 or later System Settings > General > Software Update > More Info next to Automatic Updates Install system data files and security updates
macOS Tahoe 26 or later System Settings > Privacy & Security > Background Security Improvements Automatically Install
macOS Sequoia 15, Sonoma 14, Ventura 13 System Settings > General > Software Update > More Info next to Automatic Updates Install Security Responses and system files
macOS Monterey 12 and earlier System Preferences > Software Update > Advanced Install system data files and security updates

Restart the MacBook Pro once the setting is on. XProtect does not restart the Mac by itself, and some security-configuration updates only remove installed malware during a restart.

Full scan on Mac starts with Automatic Updates turned on in Software Update
Click the info button next to Automatic Updates and turn on the security update setting for your macOS version. (Image: Apple)

How to check XProtect is up to date on MacBook Pro

System Information lists every background update, including the XProtect malware definitions, with the date each one installed.

  1. Press and hold the Option key, then choose System Information from the Apple menu.
  2. In the sidebar, under Software, select Installations.
  3. Click the Install Date column to sort the list by date.
  4. Look for XProtectPayloads, XProtectPayloadsConfigData and XProtectPlistConfigData with recent dates.
  5. If the newest entries are weeks old, recheck the automatic update setting and run Software Update again.

How to remove malware apps from MacBook Pro

Adware often arrives bundled with other software from third-party download sites. Delete any app you do not expect to see.

  1. Quit the app if it is open.
  2. Open Finder and click Applications in the sidebar. Also check the Applications folder in your home folder via Go > Home.
  3. If the app came with an Uninstall or Uninstaller app, run it; that also removes its login items and extensions.
  4. Otherwise, drag the app to the Trash, or select it and choose File > Move to Trash.
  5. Enter your administrator name and password if asked.
  6. Choose Finder > Empty Trash to delete it for good.

Deleting an app does not cancel any subscription bought through it.

Remove malware apps from MacBook Pro with Finder File menu Move to Trash
Select the unwanted app in Applications, choose File > Move to Trash, then empty the Trash to delete it. (Image: Apple)

How to remove Safari extensions on Mac

Unwanted extensions can change pages, inject ads or redirect searches. Apple's advice is to uninstall any extension whose purpose you cannot work out.

  1. Open Safari and choose Safari > Settings from the menu bar.
  2. Click Extensions.
  3. Select an extension you do not recognise and click Uninstall.
  4. To keep an extension but stop it running, deselect its checkbox instead.
  5. If you use Safari profiles, open the Profiles tab and check each profile's own Extensions tab too.

How to check login items for malware on Mac

Malware and adware like to start at login. Login Items & Extensions shows what opens automatically and which apps run in the background.

  1. Choose Apple menu > System Settings, click General, then click Login Items & Extensions.
  2. Under Open at Login, select any item you do not recognise and click the remove (–) button.
  3. Review App Background Activity and turn off apps you do not know.
  4. Click the info button next to Added extensions and turn off third-party extensions you did not install.
  5. Restart the Mac and confirm the removed items do not come back.

How to find suspicious processes in Activity Monitor on Mac

Activity Monitor shows every program running on the MacBook Pro, including invisible background processes that a hidden app may start.

  1. Search for Activity Monitor with Spotlight and open it.
  2. Click CPU, then click a column heading to sort the list, busiest processes first.
  3. Choose View > Applications in last 12 hours to see which apps have been running.
  4. Select an unfamiliar process and double-click it to see more information about it.
  5. To stop it, click the stop button in the upper-left corner, then click Quit or Force Quit.
  6. Find the app that owns the process and uninstall it so it does not start again.

How to remove configuration profiles on Mac

A configuration profile can change Wi-Fi, VPN, mail and other settings. A profile you did not install yourself, and that no school or employer gave you, should go. The same check applies to configuration profiles on iPhone.

  1. Choose Apple menu > System Settings, click General, then click Device Management.
  2. Double-click each profile in the list to see what it controls.
  3. Select a profile you do not trust and click the remove (–) button.
  4. Enter your password if asked.
  5. If a profile will not remove, ask the person or organisation that provided it.

Removing a profile deletes every setting it added, such as a mail account it set up.

How to get rid of virus pop-ups in Safari on Mac

Pop-ups that warn about a virus or promise a prize are often phishing ads dressed up as Apple. Do not click their buttons, because some fake close buttons install software.

  1. Close the Safari tab or window instead of clicking anything inside the pop-up.
  2. Quit Safari, then hold Shift while opening it so the old windows and tabs do not reopen.
  3. Choose Safari > Settings, click Websites and block pop-ups for all or some websites.
  4. Click the Security tab and turn on the fraudulent website warning.
  5. If pop-ups still return, update macOS, restart, then remove unexpected apps and Safari extensions.
Get rid of virus pop-ups in Safari with the Websites Pop-up Windows setting
Set When visiting other websites to Block or Block and Notify to stop pop-ups on sites you have not listed. (Image: Apple)

Signs your MacBook Pro has a virus

Apple lists a handful of clear warning signs. Each one points to a specific place to look.

What you see What it usually means Where to look
Pop-ups that will not go away despite Safari settings Adware installed with other software Applications folder and Safari extensions
Apps you do not remember installing Bundled or unwanted software Finder > Applications
Unknown items opening at login Software set to start automatically Login Items & Extensions
Changed Wi-Fi, VPN or mail settings An unknown configuration profile General > Device Management
"will damage your computer" alert macOS detected malicious content or a revoked app Move the item to the Trash
An app moved to the Trash with a malware message XProtect blocked known malware Empty the Trash
MacBook Pro virus sign: Malware Blocked and Moved to Trash alert
XProtect stopped this app because it contains known malware; empty the Trash to finish removing it. (Image: Apple)

Do you need antivirus on a MacBook Pro?

For most people, the built-in protection is enough: keep automatic security updates on, install apps from the App Store or directly from the developer, and restart after updates. XProtect, Gatekeeper and notarization already block and remove known malware, and Apple updates their signatures separately from macOS releases. Third-party security software can add central logging through Apple's Endpoint Security framework, which matters mainly on managed work Macs. If you add one, get it from the App Store or the vendor's own site, never from a pop-up.

How to erase a MacBook Pro to remove malware

Erasing is the last resort when infections keep coming back. Erase All Content and Settings removes all data, settings and apps but keeps macOS installed. It needs macOS Monterey 12 or later on a Mac with Apple silicon or the Apple T2 Security Chip.

  1. Back up your files first, because every file on the Mac is deleted.
  2. Choose Apple menu > System Settings and click General.
  3. Scroll down and click Transfer or Reset.
  4. Click Erase All Content and Settings.
  5. Enter your Mac login password and your Apple Account password when asked.
  6. Click Erase All Content & Settings to start, then follow the setup assistant after the restart.
  7. Reinstall apps only from the App Store or developers' own sites.
Erase MacBook Pro to remove malware with Erase All Content & Settings
This last resort deletes all data, settings and apps, so back up your files before you confirm. (Image: Apple)

Mac malware warnings and virus alerts

"will damage your computer" message

macOS detected malicious content, or Apple revoked the app's authorization.

  1. Click the option to move the item to the Trash.
  2. Choose Finder > Empty Trash.
  3. Delete the installer or disk image you opened it from.

Alert that Apple cannot check the app for malicious software

The app is not notarized, so macOS cannot check it for known malware.

  1. Do not open it.
  2. Check the App Store for an updated version or an alternative app.
  3. Contact the app's developer for a notarized version.

Pop-ups return after closing Safari

Adware or an unwanted extension is still installed.

  1. Update macOS to the latest version, or restart if it is already current.
  2. Remove unexpected apps from the Applications folder.
  3. Uninstall unknown extensions in Safari Settings > Extensions.

Mac says the app is in use and will not delete

A process from the app is still running.

  1. Quit the app, or quit its process in Activity Monitor.
  2. Restart the Mac, or start up in Safe Mode, and try again.
  3. Empty the Trash once the app moves there.

Configuration profile has no remove button

An organisation or management server installed it.

  1. Double-click the profile to see who provided it.
  2. Ask that school, employer or provider to remove it.
Mac malware warning that Apple could not verify an app is free of malware
This alert appears for apps that are not notarized; choose Move to Trash instead of opening the app. (Image: Apple)

MacBook Pro virus scan FAQ

How do I do a full scan on a Mac?

macOS has no manual full-scan button. Turn on automatic security updates in Software Update settings, install every update, then restart. XProtect checks apps automatically, and security updates remove known installed malware during a restart.

Does a Mac have a built-in virus scanner?

Yes. XProtect is built into macOS and uses malware signatures that Apple updates independently of system releases. It checks apps when they first launch, when they change and whenever its signatures update, and moves known malware to the Trash.

Can a MacBook Pro get a virus?

Yes. Malware, including viruses, worms and trojan horses, can reach a Mac through downloads from email, messages and websites. It most often hides inside a harmless-looking app, which is why Apple recommends installing software from the App Store or known developers.

Does restarting a Mac remove malware?

Restarting after macOS security updates lets the built-in tool remove known malware that is already installed. It does not remove adware or unwanted apps it does not recognise, so check Applications, Safari extensions and login items too.

How do I know if my Mac has malware?

Look for pop-ups that keep coming back, apps you did not install, unknown login items, Safari extensions you do not recognise, and configuration profiles nobody gave you. A malware alert from macOS is a direct sign; move that item to the Trash.

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

Treat it as a scam. Pop-ups that use warnings or prizes to look like Apple messages are a common phishing tactic. Close the tab or window without clicking inside it, then quit Safari and reopen it while holding Shift.

Does XProtect run automatically?

Yes. XProtect needs no setup and runs in the background. Keep the Install Security Responses and system files setting on, or the Tahoe equivalent, so its signatures stay current. macOS checks for those updates daily by default.

Do I need antivirus software on my MacBook Pro?

Most home users do not, because XProtect, Gatekeeper and notarization cover known malware. Work Macs that need central security logging often run third-party security software. Install any such app from the App Store or the vendor's own site.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *