To scan for malware, stop signing in to sensitive accounts on the device, update your security software, and run a full scan with the built-in tool: Windows Security on a PC, XProtect and Gatekeeper on a Mac, or Play Protect on Android. If the scan finds nothing but problems persist, run an offline scan on Windows or a second-opinion scan, then change passwords from a clean device.
Key takeaways
- Update your security software before you scan, or the scan may miss new threats.
- A quick scan is a routine check; a full or offline scan is for a suspected infection.
- If scans cannot clear the problem, back up your files and reset the device.
Your computer is slow, pop-ups keep appearing, or a friend got a message you never sent. Guessing will not help — but a scan, run in the right order, will tell you whether malware is really there.
What should you do before you scan for malware?
Disconnect the device from the internet and stop signing in to accounts on it. That stops malware from sending out data or spreading, and stops you handing it fresh passwords.
The FTC's first step is blunt: immediately stop logging into online accounts with usernames, passwords, or other sensitive information, including shopping and banking. If it is a work or school device, call IT first — CISA's recovery guidance says to contact them immediately, because a fast response limits damage to your computer and others on the network. Do not delete anything or reset the device before they advise you.
Also check whether the problem is really malware. A single pop-up that says "call this number, you have a virus" is usually a scam page, not an infection. Do not call the number. The FBI's IC3 advises shutting the device down if a pop-up or locked screen will not close, even if the message says not to.
How do you know if you have malware?
No single symptom proves an infection, so look for a pattern. The FTC lists sudden slowdowns and crashes, a device that will not shut down or restart, software you cannot remove, and excessive pop-ups.
Other signs include unexpected toolbars, a changed home page or search engine, and ads appearing on sites that never carry them. Emails sent from your accounts that you did not write are another clear sign.
A battery that drains faster than it should also deserves attention. On a phone, watch for faster battery drain, unexpected data use, overheating, and unexpected restarts.
If your antivirus has been switched off, or Task Manager will not open, treat that as a serious warning. Real malware often disables the tools that could catch it.
Which scan should you run first?
Update your security software, then run a quick scan for a routine check or a full scan if you suspect an infection. A scan with out-of-date definitions can miss new threats.
| Scan type | What it checks | When to use it |
|---|---|---|
| Quick scan | Places threats most often hide | Routine check, or a first look |
| Full scan | Every file and program | You suspect an infection |
| Custom scan | Files or folders you pick | One suspicious download or drive |
| Offline scan | Runs before Windows loads | Stubborn or hidden malware |
| Second-opinion scan | A fresh check with another tool | First scan found nothing, problems persist |
The FTC's order is: stop sensitive activity, get security software if you do not have it, make sure all your software and operating system are fully up to date, then run a scan and delete what it finds. If that does not work, the next step is to recover or reinstall the operating system using the manufacturer's instructions — not instructions from a search result.
How do you scan for malware on Windows?
Open the Windows Security app, choose Virus and threat protection, then pick a scan under Scan options. Update the security intelligence first, then run a full scan if you suspect an infection.
- Update first: in Windows Security, go to Virus and threat protection, then Protection updates, and check for updates.
- Run a quick scan: a good first check. Read the Current threats section when it ends — it shows threats found, the last scan time, and quarantined items.
- Run a full scan if problems persist: under Scan options, choose Full scan. It checks every file and program, so it takes longer.
- Scan one file or drive: use Custom scan for a single suspicious download or an external drive.
- Use the offline scan for stubborn malware: save your work first, because the PC restarts. Choose Microsoft Defender Antivirus (offline scan) under Scan options, then start it. It runs in the Windows Recovery Environment before Windows loads, which makes it harder for persistent malware to hide. Check the results under Protection history after the restart.
If a threat is found, follow the tool's remove or quarantine action. Do not choose to allow a detected file unless you trust both the software and its publisher. Microsoft Safety Scanner is a free on-demand removal check from Microsoft for a second opinion; Microsoft says it does not replace an installed antimalware product, and you should download a fresh copy before each use.
How do you scan for malware on a Mac?
Keep macOS updated and let its built-in protection do the work: Gatekeeper checks apps before they open, and XProtect can detect and remove known malware. Apple updates XProtect on its own, separately from system updates.
There is no user-run "full scan" button on a Mac. What you can do is install every macOS update, set System Settings, then Privacy and Security, to allow apps only from the App Store or from known developers, and remove any app you do not recognize.
If the Mac still behaves strangely, run a scan with a trusted security tool from a known vendor, and beware of pop-ups or ads offering a "free Mac scan" — CISA warns that some supposed spyware-removal tools are spyware themselves.
If Apple identifies a downloaded item as malware, do not open it. Move it to the Bin and empty the Bin. If problems return after cleaning, back up your files and reinstall macOS from Apple's own instructions.
How do you scan for malware on Android and iPhone?
On Android, use Google Play Protect: open the Play Store, tap your profile icon, then Play Protect, and run a scan. Keep "Scan apps with Play Protect" turned on in its settings.
Play Protect scans apps when you install them and checks the phone regularly. If a bad app is already installed, uninstall it, then restart the phone in safe mode and scan again if the problem continues. Also check for unknown apps in Settings, and remove any you do not recognize. On iPhone, iOS has no user-run malware scanner. Update iOS, delete unknown apps and configuration profiles, restart the phone, and check for unfamiliar apps in Settings. If the phone still misbehaves, back it up and reset it.
On both platforms, the bigger risk is often the account, not the app. If messages were sent from your accounts, change those passwords from a clean device and turn on two-factor authentication. Our guide to how to know if your phone is hacked walks through the phone-specific signs in more detail.
What do you do after the scan finds malware?
Follow the tool's instructions to remove or quarantine what it found, restart the device, and scan again. Removal does not undo what the malware already took.
Change passwords for any accounts you used on that device, from a clean device, and turn on two-factor authentication. If a password was reused elsewhere, change it there too — you can check whether it appears in known breaches with our pwned password checker. If identity details may have been stolen, the FTC directs US consumers to IdentityTheft.gov for a recovery plan. If money is involved, call your bank at once.
Also clean up the entry point. Remove unknown browser extensions, reset your browser settings if the home page or search engine changed, and check for new mail-forwarding rules. If the infection came through a phishing email, our guide to spear phishing explains how those messages get past filters.
When should you reset instead of scanning again?
Reset when scans keep finding the same threat, when problems return after cleaning, or when you suspect ransomware. A reset is also the right call if your security tools were disabled by the malware.
Back up your files first — but only your documents and photos, not programs or system files, which could carry the infection back. The #StopRansomware Guide from CISA recommends offline, encrypted backups that you test regularly, and keeping the backup drive disconnected when you are not using it. Then reinstall the operating system following the manufacturer's instructions, restore only your files, and change your passwords before you sign back into anything sensitive.
If files are already locked and there is a ransom note, stop. Do not pay, do not delete the note, and do not wipe the device yet. Isolate it from the network and report the incident to CISA and the FBI's IC3, and get professional help if business data was taken.
How do you prevent malware in the future?
Prevention is mostly habits, not products. CISA's consumer guidance is short: have antivirus and anti-malware protection, run day-to-day work in a standard user account, and turn on automatic updates.
- Turn on automatic updates for your operating system, browser, and apps. CISA puts it plainly: malicious criminals will not wait, so you should not either.
- Use a standard account for daily work, keeping the administrator account for installing software. That makes it harder for malware to take full control.
- Do not open unexpected attachments or click links in unexpected messages, even from people you know. Verify first.
- Download software only from official sources — the vendor's site or your device's app store — never from a pop-up or a search ad.
- Keep offline backups and test that you can restore from them. A tested backup turns ransomware from a disaster into a bad afternoon.
For a wider starting point, our small business cybersecurity checklist covers updates, backups, and device security together.
The bottom line
Scanning for malware is a sequence, not a single button: stop signing in, update everything, run a full scan, escalate to an offline scan if needed, and reset if the problem keeps coming back.
Afterward, secure the accounts the malware may have touched. Start by checking whether any of your passwords already appear in known breaches with the free pwned password checker.
Frequently asked questions
How do I scan my computer for malware for free?
Use the protection already built in: Windows Security on Windows, XProtect on a Mac, and Play Protect on Android. Update the software first, then run a full scan. Microsoft Safety Scanner is also free as an on-demand second-opinion check.
What is the difference between a quick scan and a full scan?
A quick scan checks the places threats most often hide, so it is fast and good for routine checks. A full scan checks every file and program, so it takes much longer but is the right choice when you suspect an infection.
Can I scan for malware on my phone?
Yes. On Android, open the Play Store, tap your profile icon, then Play Protect, and run a scan. On iPhone, iOS has no user-run malware scan, so update iOS, delete unknown apps and profiles, and restart the phone.
How long does a full malware scan take?
It depends on how many files you have and how fast your drive is. A quick scan takes minutes, while a full scan can take from under an hour to several hours. Let it finish rather than stopping it early.
What should I do if the scan finds malware?
Follow the tool's instructions to remove or quarantine it, then restart the device and scan again. Change passwords for accounts you used on that device, from a clean device, and turn on two-factor authentication.
Can malware hide from a scan?
Yes, some malware hides while the operating system is running, which is why Windows offers an offline scan that runs before Windows loads. If problems return after cleaning, a reset is the safer next step.
Do Macs need a malware scan?
Macs have built-in protection, including Gatekeeper and XProtect, which Apple updates on its own. Keep macOS updated, only install apps from the App Store or known developers, and run a scan with a trusted tool if the Mac behaves strangely.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against FTC malware guidance and Microsoft Windows Security documentation as summarized in the cited sources.
How we write and fact-check →