Skip to main content

How to remove a virus from your Mac or PC


Getting a computer virus is aggravating. It can not only slow down your machine and waste hours of your time as you try to fix it but also lead to permanent computer damage.

Don't know what to do if your computer has a virus? Don't worry, we do. Asurion Experts help millions of customers get the most out of their tech and resolve their device problems. They'll show you signs to look for, tell you how to get rid of a virus on your Mac® or PC, and give you tips to prevent one.

What is a virus and how do computers get them?

A computer virus is a malicious program—or form of malware—that's designed to disrupt your computer and spread to other devices. It attaches itself to a valid program, alters the code, then replicates itself to infect other files or systems. A virus can destroy data or cause your machine to stop working.

Your computer can get a virus in many ways. The most common ones are:

  • Opening links or attachments in spam emails or on social media.
  • Downloading programs from unreliable sites.
  • Clicking on malicious ads or pop-ups.
  • Sharing files with unknown users.

How to know if your computer has a virus

Think your Mac or PC may have a virus? Look for these 10 telltale signs:

  1. Slow performance
  2. Unfamiliar programs or browser extensions
  3. Changes to your default browser or homepage
  4. Your browser sending you to unwanted sites or search engines
  5. Frequent crashes
  6. Recurring error messages
  7. Excessive pop-ups
  8. Problems with computer security programs
  9. Missing files
  10. Spam messages being sent from your email or social media accounts

How to check for a virus on a Mac:

Macs have built-in protections for viruses and malware, so it's uncommon for them to become infected. So uncommon, in fact, that they don't have an option to run a manual virus scan. If you want an extra layer of protection, you can download antivirus software that will allow you to perform a scan. Popular brands include Bitdefender™, Kaspersky™, and Norton™.

How to check for a virus on a PC (Windows 10):

  1. Go to Start > Settings > Update & Security > Windows Security.
  2. Click on Virus & threat protection.
  3. Click on Quick scan.

How to remove a virus from your computer

If your software detects a virus, it may give you the option to remove it automatically. If it doesn't, or if you prefer to fix the computer virus on your own, you can follow these steps.

One note before starting: Getting rid of viruses manually requires knowledge of program and process names. Since these processes run in the background, it's normal not to recognize them—but that doesn't mean they're harmful. Before quitting or uninstalling a program, confirm that it is malware and doesn't belong on your machine.

How to get rid of a virus on your Mac:

  1. Close any open browsers.
  2. Cancel any downloads or installations in progress.
  3. Go to the Launchpad (the rocket ship icon in the bottom toolbar). Type “Activity Monitor” into the search bar and open that program.
    • Under the CPU tab, look for the names of suspicious processes. Known Mac viruses include MacDefender, MacSecurity, and MacProtector.
    • Once you confirm that it's malware, click on the process, then click the gray X button in the upper left of the Activity Monitor. Finally, click Force Quit.
  4. Open the Finder and click Downloads in the left-hand navigation. Search for any unfamiliar or unwanted downloads—especially program installer files—and drag them to the Trash.
  5. Click Applications in the left-hand navigation in the Finder. Look for any suspicious applications and drag them to the Trash. You may need to enter your Mac password to remove programs.
  6. Empty the Trash by right-clicking on it and selecting Empty Trash, then confirming it.
  7. Restart your Mac.

If you tried these steps and your computer is still not performing as it should, reach out to an expert for help with Mac virus and spyware removal.

How to get rid of a computer virus (Windows 10):

  1. Install any available updates for your computer and antivirus software.
  2. Reboot your computer in Safe Mode.
    • Go to Start > Settings > Update & Security > Recovery.
    • Under Advanced startup, click Restart now.
    • After the computer restarts, click Troubleshoot > Advanced Options > Startup Settings > Restart.
    • The computer will restart again, and you'll see a list of options. Select 4 on your keyboard (or F4 on some computers) to boot into Safe Mode.
  3. Open your browsers and look for any unfamiliar extensions. Uninstall them.
  4. Clear your cache and browsing history. Steps will vary based on your browser.
  5. In the search box next to the Start button, search for and open Control Panel.
    • Click Programs > Programs & Features.
    • Look for any unwanted or malicious programs. Right-click them and select Uninstall (or Uninstall/Change).
    • Follow the prompts to complete the removal process.
  6. Open Start > Settings > Apps > Apps & features. Click on any unwanted or malicious apps and click Uninstall to remove them.
  7. In the Apps menu, click Startup and set any unfamiliar or malicious apps to Off.
  8. Run Disk Cleanup to delete temporary files.
    • In the search bar, search for and open Disk Cleanup.
    • Select your drive, then click OK.
    • Choose what types of files you want to delete, then click OK.
  9. Run a virus scan to make sure you've deleted all the malware from your machine.

If you walked through the steps and your computer still acts infected, reach out to a computer expert for help with PC virus and spyware removal.

How to prevent a computer virus

Keep viruses away from your Mac or PC with these 7 helpful tips:

  1. Use strong passwords and change them regularly.
  2. Don't use more than one antivirus program at a time.
  3. Keep your computer and antivirus software updated.
  4. Only install programs and apps from reputable websites.
  5. Don't open emails or download attachments from unknown senders.
  6. Avoid using open, unencrypted Wi-Fi networks, like at an airport or coffee shop.
  7. Don't click on pop-up windows—close them immediately.

*The Asurion® trademarks and logos are the property of Asurion, LLC. All rights reserved. All other trademarks are the property of their respective owners. Asurion is not affiliated with, sponsored by, or endorsed by any of the respective owners of the other trademarks appearing herein.*

Home Tech

Tech repairs you can trust

Fast repairs? Check. Low price guarantee? Check. 4.8-star Google® rating? Check.

Schedule a repair