How to Remove a Virus From Your Computer

Scan your computer for viruses and remove any malware using your built-in security software.

Steps

  1. 1

    Disconnect from the internet to stop the spread.

    Unplug your Ethernet cable or turn off Wi-Fi to prevent the virus from sending your data.

  2. 2

    Restart your computer in Safe Mode.

    Safe Mode loads only essential programs and stops many viruses from running in the background.

  3. 3

    Open your antivirus software and run a full scan.

    Use Windows Security on Windows or the built-in protection on Mac. Click "Full Scan" not "Quick Scan."

  4. 4

    Quarantine or delete any threats the scan finds.

    Your antivirus will show a list of infected files. Choose the option to remove or quarantine them.

  5. 5

    Restart your computer normally and run another scan.

    After removing the virus, restart and run a second full scan to make sure the virus is gone.

Frequently Asked Questions

Can I remove a virus without antivirus software?Show
Yes, you can use Windows Defender or Mac XProtect which are built into your computer. These free tools work well for most viruses.
How do I know if my computer has a virus?Show
Common signs include slow performance, pop-up ads, unexpected browser toolbars, files you cannot open, and programs crashing often.
Do Macs get viruses?Show
Yes, Macs can get viruses and malware. While less common than Windows viruses, Mac threats are increasing and you should still use protection.

Written by the HowToDoStuff.online editorial team. Last updated .