How to Check for Malware on Windows, Mac and Phones
Most malware checks take less than an hour and use free tools that are already on your device or come from the operating system’s maker. This guide gives you the steps for Windows, Mac, Android and iPhone in order, then covers browsers, second opinions and when to call in help.
If your scanner has already found something it cannot remove, or you suspect a hidden infection, the rootkit detection guide goes deeper.
Before you scan
- Write down what you saw. A pop-up, a strange charge, an account alert, a new toolbar. The details help you decide whether this is malware, a scam or a hacked account.
- Change passwords from a different device if you think anything was stolen. Start with email, because it can reset everything else.
- Back up your documents and photos to an external drive or cloud storage before you start removing things.
Check a Windows PC
1. Run a full scan in Windows Security
- Open Windows Security from the Start menu.
- Select Virus & threat protection, then Scan options.
- Choose Full scan and select Scan now.
Microsoft says a full scan “checks every file and program on the device,” so it takes the longest. A quick scan is fine for routine use, but use the full scan when you suspect a problem.
2. Run the offline scan
In the same Scan options list, choose Microsoft Defender Antivirus (offline scan). The PC restarts and scans before Windows loads, which Microsoft says “makes it harder for persistent malware to hide.” It takes about 15 minutes. Results appear in Protection history. If BitLocker is on, suspend it first or have your recovery key ready. The Windows detection guide has the full details.
3. Get a second opinion
No scanner catches everything, so use one from a different vendor. These are free, scan only when you run them, and work alongside Microsoft Defender:
| Scanner | Notes |
|---|---|
| Microsoft Safety Scanner | A portable download. Microsoft says it expires 10 days after download, so get a fresh copy each time. Its log is saved at %SYSTEMROOT%\debug\msert.log. |
| Malwarebytes (free) | Finds adware and unwanted programs that other scanners often ignore. Tick Scan for rootkits in a custom scan for a deeper check. |
| ESET Online Scanner | Despite the name, a downloaded one-time scanner for Windows. It does not provide ongoing protection. |
The online rootkit scanners page explains what “online” scanners can and cannot do, and the best rootkit scanners compares the deeper tools.
4. Check that protection is still on
In Windows Security > Virus & threat protection > Manage settings, confirm that real-time protection and Tamper protection are on. Tamper protection stops other apps from changing important Defender settings. If either keeps switching off by itself, that is a warning sign in itself.
5. Review installed apps and startup items
Open Settings > Apps > Installed apps and sort by install date. Uninstall anything you do not recognise that appeared around the time the trouble started. Then check startup apps in Task Manager. For a more thorough look, Microsoft’s free Sysinternals Autoruns shows every startup location.
Check a Mac
- Update macOS in System Settings > General > Software Update. macOS includes XProtect, Apple’s built-in malware detection, which Apple says checks apps when they launch and removes known malware. Its definitions update in the background.
- Review login and background items in System Settings > General > Login Items & Extensions. Switch off anything you do not recognise.
- Check Privacy & Security permissions, especially Input Monitoring, Accessibility and Screen & System Audio Recording. Remove access from apps that do not need it.
- Scan with the free version of Malwarebytes for Mac, which can remove malware already on the Mac. Real-time protection is a paid feature.
- For a deeper check, Objective-See’s free KnockKnock lists everything installed to run automatically, with signing status and VirusTotal results.
The Mac detection guide explains each of these and what a real compromise looks like.
Check an Android phone
- Open the Google Play Store, tap your profile icon, then Play Protect, and make sure scanning is on. Google says Play Protect checks apps from any source, not only the Play Store.
- In Settings > Apps, look for apps you did not install, especially ones with generic names like “System Service” or no icon.
- In Settings > Accessibility, remove access from any app that is not a genuine accessibility tool. Malware uses this permission to read the screen and act on your behalf.
- Check device admin apps, usually under Settings > Security, and deactivate unknown ones before uninstalling them.
- Remove the suspect apps, then restart.
If unknown apps keep coming back after removal or a factory reset, the malware may be in the firmware. That happens on some cheap and counterfeit phones and is covered in the Android guide.
Check an iPhone
iPhone apps are sandboxed, so traditional malware is rare and no app can scan other apps. Instead:
- Update iOS in Settings > General > Software Update.
- Delete apps you do not recognise.
- In Settings > General > VPN & Device Management, remove any configuration profile you did not install yourself. Profiles can route your traffic or change settings.
- Review your Apple Account’s signed-in devices and remove any you do not recognise.
If Apple sends you a threat notification about targeted spyware, follow Apple’s guidance and consider Lockdown Mode.
Clean up your browser
Many “my computer has a virus” problems are really a browser problem: a malicious extension, a changed search engine or notifications from a scam site.
- Extensions: open
chrome://extensionsin Chrome oredge://extensionsin Edge, or Settings > Extensions in Safari, and remove anything you did not knowingly install. Be wary of extensions that can “read and change all your data on all websites.” - Search engine and home page: reset them in the browser’s settings if they have changed.
- Site notifications: scam sites often trick you into allowing notifications, then send fake virus alerts. Remove unknown sites from the browser’s notification permissions.
- Reset the browser if problems persist. In Chrome, Settings > Reset settings > Restore settings to their original defaults resets the search engine, home page and startup pages and disables extensions. Google says saved bookmarks and passwords are not deleted.
Scams that are not malware
Not every alarming message means your device is infected. Some of the most damaging attacks need no malware at all:
- Fake virus pop-ups. The FTC’s rule is simple: “Real security pop-up warnings and messages will never ask you to call a phone number.”
- Tech support calls. Legitimate companies, the FTC says, “won’t contact you by phone, email, or text message to tell you there’s a problem with your computer.” If you let a caller connect remotely, assume they installed something, and run the checks above.
- Payment and marketplace scams. Requests to pay by gift card, wire transfer or cryptocurrency, or to share a verification code, are scams whatever story comes with them. MK Library’s explainer on the Facebook Marketplace phone number scam shows how one common version works.
Report scams in the US at ReportFraud.ftc.gov.
When to get professional help
Do it yourself for adware, unwanted toolbars and a single detected trojan that your scanner removes cleanly. Get help when:
- The device belongs to your employer. Tell IT straight away and do not try to clean it yourself. They may need to check other systems.
- You lost money or shared bank details. Call your bank using the number on your card first, then deal with the device.
- Malware returns after removal, or a scanner finds a rootkit, bootkit or hidden driver. A wipe and reinstall is the reliable fix. See how to remove a rootkit.
- Your files are encrypted with a ransom note. Disconnect the device and follow the steps in ransomware prevention, including reporting it.
- You think someone you know is monitoring you. Stalkerware removal can alert the person who installed it. A domestic abuse support service can help you plan safely first.
When choosing a repair shop, prefer one recommended by people you know or by the device maker. Be wary of anyone who cold-calls you, or who promises to remove “hundreds of infections” found by a free scan.
Prevent the next one
- Keep automatic updates on for the operating system, browser and apps.
- Install software only from developers’ own sites or official app stores, and skip cracked software.
- Use a password manager and turn on two-factor authentication, ideally passkeys, for email and banking. The keyloggers guide explains why.
- Keep at least one backup that is not permanently connected to your computer.
Frequently asked questions
- How do I check my computer for malware for free?
- On Windows, run a full scan and then the Microsoft Defender Offline scan from Windows Security, both built in. For a second opinion, use a free on-demand scanner from another vendor, such as Microsoft Safety Scanner, Malwarebytes or ESET Online Scanner. On a Mac, use the free version of Malwarebytes for Mac or Objective-See's KnockKnock.
- Is a pop-up saying my computer is infected real?
- Almost never. The FTC says real security warnings "will never ask you to call a phone number." A browser page claiming your PC is infected and urging you to call or download something is a scam. Close the tab, or the whole browser if it will not close.
- Can I run more than one antivirus at once?
- Not two real-time antivirus products, because they conflict. You can run on-demand scanners such as Microsoft Safety Scanner or the free Malwarebytes alongside your main antivirus, since they only scan when you start them.
- Does a factory reset remove malware?
- On a computer, a full wipe and reinstall removes almost all malware. On a phone, a factory reset removes malware installed as an app but not malware built into the firmware, which some cheap Android phones ship with.
- When should I get professional help?
- When the device belongs to a business, when you have lost money, when malware keeps returning after a reinstall, or when you suspect someone you know installed monitoring software to track you. A reputable local repair shop, your bank, your employer's IT team or a domestic abuse support service are the right starting points depending on which applies.