All About Cookies is an independent, advertising-supported website. Some of the offers that appear on this site are from third-party advertisers from which All About Cookies receives compensation. This compensation may impact how and where products appear on this site (including, for example, the order in which they appear).
All About Cookies does not include all financial or credit offers that might be available to consumers nor do we include all companies or all available products. Information is accurate as of the publishing date and has not been provided or endorsed by the advertiser.
The All About Cookies editorial team strives to provide accurate, in-depth information and reviews to help you, our reader, make online privacy decisions with confidence. Here's what you can expect from us:
- All About Cookies makes money when you click the links on our site to some of the products and offers that we mention. These partnerships do not influence our opinions or recommendations. Read more about how we make money.
- Partners are not able to review or request changes to our content except for compliance reasons.
- We aim to make sure everything on our site is up-to-date and accurate as of the publishing date, but we cannot guarantee we haven't missed something. It's your responsibility to double-check all information before making any decision. If you spot something that looks wrong, please let us know.
If your computer is acting strange, then you may have a virus. Maybe you’ve noticed it isn’t as responsive as it was when you first got it. If you’ve tried rebooting but it didn't help, then it may be time to check with the best antivirus software.
If you do have a computer virus, there’s no need to beat yourself up about it. Most of us have been in this same situation. With so many viruses created each year, it’s hard to navigate the internet without at least one of them trying to infect your device. Every week, Google finds 50 websites that have malware.[1]
This article lays out the signs and symptoms to watch for and the steps you need to take to eliminate viruses.
How to get rid of a computer virus
How to protect your computer from future viruses
How do computers, laptops, and mobile devices get viruses?
FAQs
Bottom line
Do I have a computer virus?
Some noticeable symptoms usually show up when you have a computer virus. What you experience may vary, given the specific virus, but for the most part, you can count on seeing some familiar signs and a decrease in your computer’s performance.
These are the warning signs that will alert you to a problem:
Slow device performance
Unfamiliar extensions show up on your web browser toolbars
You suddenly run out of device memory or disk space
Your computer keeps crashing
Your antivirus software gets disabled
Emails get sent from your account that you didn’t write
You get locked out of your device
Programs you don’t recognize are on your device
Your browser homepage has changed
Pop-up windows frequently appear
How to get rid of a computer virus
If you notice the symptoms we’ve mentioned on your device, don’t worry: you have options. There are easy steps you can take to remove it from your machine.
You may only need to try one of these steps, but you can use them all if needed. The steps required may depend on the damage done and if you catch the computer virus soon after it infects the device.
1. Run an antivirus scan
If you have antivirus software, you should immediately run a full scan of your device. A quick scan saves time when you’re not having problems, but a full scan will be thorough and look through the entire computer.
Computer viruses can be sneaky and they will hide in unexpected places. Recently, cybersecurity experts found that hackers can get malware inside Windows 11 event logs. That makes it harder to detect the virus.
Because computer viruses and malware like ransomware, spyware, and adware are so sneaky, we recommend running a full scan. It is likely to catch a virus that a quick scan could bypass. It may take a few hours, but it is time well spent.
If you don’t have antivirus software, you can still get protection. Some users think it’s too late to get antivirus software after an infection, but you can install it anyway. Once you have it, you can run the full scan.
The 3 best antivirus programs for removing viruses
Not all antivirus software is built the same. After testing dozens of security apps, these three topped our list:
- McAfee: This antivirus program not only protects you but also helps you prevent future infections on every device in your household. It comes packed with parental controls, a virtual private network (VPN), file shredder, and even identity monitoring.
Get McAfee | Read Our McAfee Review - Bitdefender: If you need solid protection against viruses both old and new, Bitdefender offers solid protection. You'll also get access to other tools that help protect your devices, like a VPN, ransomware protection, and a password manager.
Get Bitdefender | Read Our Bitdefender Review - TotalAV: If you don't have the budget to pay for antivirus, Avast is a great choice. Its free plan still offers excellent protection with antivirus scans and the Online Security & Privacy browser extension that protects you against phishing attacks.
Get TotalAV | Read Our TotalAV Review
2. Delete infected files
Once your antivirus software finds the computer virus, you need to delete the infection. It may be that you have more than one infected file, so delete them all.
In some cases, users quarantine the files if they think they may need them later. But most people feel safer getting them off their machines.
Saving the file may seem better if you think it’s needed, but only in those cases. Having a quarantined file on your device will take up unneeded space on your hard drive. If you decide to try to clean the file and move it from the safe quarantine location, it could still contain malware if you’re not positive you removed the infection.
3. Get help from a pro
If you’ve tried the steps above and your device still has any of the symptoms given, you may want to contact an expert for help. Many computer professionals have experience with virus removals and can get to the root cause of the issue.
They can also check for any other problems that might be affecting your device. Sometimes a hardware issue could add to the problem, or you could have low memory that makes your computer slow to respond.
You can also read our full guide for more thorough tips on how to get rid of computer viruses.
How to protect your computer from future viruses
You may have heard the saying that the best defense is a strong offense. That’s a true statement for keeping your device secure as well. You can take proactive measures to protect your computer from future viruses.
Follow these tips to have the most robust computer virus protection:
1. Update your antivirus
Installing strong antivirus software is important for protecting your device from computer viruses.
You also need to keep your software updated because new malware threats get discovered every day. When you update your antivirus software, you give it a better chance to catch malware because it may recognize the newer viruses.
If you’re using Microsoft Windows and the Windows Defender firewall, make sure you’ve turned it on. Macs also come with a built-in firewall that needs to be turned on under the Security & Privacy settings.
If your Android, Apple, or Windows device doesn’t come with a firewall, look for security software that includes one.
2. Update your operating system
You may have seen notifications from your operating system that shows an update is available. When you see these notices, go ahead and run the latest update.
Operating systems will release updates that include security patches or fixes. These updates may help protect your device from new malware threats. If you bypass the update, you could miss out on protection from a new computer virus.
3. Use a pop-up blocker
Some operating systems have a pop-up blocker turned on by default. If not, you can select to use it at all times.
You can also disable pop-ups in your browser’s settings menu, including those from sites you once subscribed to that you no longer want to receive communication from.
For instance, if you’re using Google Chrome, you can do this from the three dots in the upper right corner of your browser:
- Go to Settings > Privacy and Security > Site Settings.
- Select Site Settings > Pop-ups > redirects.
- Make sure the toggle is moved to block pop-ups.
That’s how easy it can be to block these unwanted ads, but if you want a stronger ad blocker, we recommend a third-party app like Total Adblock.
4. Don’t use third-party apps
When you use third-party apps, you could download a computer virus. A third-party app is one you get from a website rather than your operating system’s app store.
If you choose to use a third-party app anyway, read reviews online from other users to make sure they haven’t experienced viral issues with the application before you download it to your device.
5. Don't click on suspicious links
A common tactic hackers like to use to infect your computer is to send you a link that looks like it leads to a legitimate site. This is called phishing, and you could find these malicious links on social media, in an unexpected pop-up ad, or even in an email.
Malicious links could even come from a trusted person, like a friend or family member, if they're using an infected computer. If someone you know sends you an odd-looking link with no context and it seems out of the norm, don't click.
If you're ever in doubt about a link, try Googling the website you're looking for instead of clicking. You can also hover your cursor over a link to see the URL of the website it will take you to.
Phishing scams might even try to fool you into clicking on a bad link that goes to a site that, at first glance, looks like the real thing. As an example, a hacker could try to fool you into clicking on a link for Goggle.com when you really want to go to Google.com.
6. Run frequent virus scans
One way to prevent future computer viruses is to run frequent virus scans. You don’t have to run a full scan every day. You can run a quick scan once a week to make sure your device doesn’t have any suspicious files or programs.
If your antivirus or anti-malware software does find something, delete it. You don’t want something you don’t recognize hanging around on your device that could cause trouble later.
How do computers, laptops, and mobile devices get viruses?
Computer viruses don’t simply appear on your device. The malware must get accessed in some way, such as by email attachments, external storage devices, or downloads. Viruses can also spread through networks where devices are connected.
Many times, you could download software and not know it contains a hidden computer virus. If you connect an external hard drive or other removable media, you could easily infect your machine with a virus. In 2010, the Conficker worm spread through the use of flash drives and cost over $9 billion.[2]
FAQs
What are the symptoms of computer viruses?
The symptoms of computer viruses can include the following:
- Frequent crashing
- Performance issues
- Unrecognized programs on your device
You may also find yourself locked out of your device.
What do I do if my computer has a virus?
If your computer has a virus, you should take steps to remove it immediately, including running a full antivirus scan that can usually look for more hiding places than a quick scan.
How do I know if my computer was hacked?
One of the signs that your computer got hacked is seeing emails sent from your account that you didn’t send.
In more severe cases, you could have sensitive data stolen, like banking information. Sometimes the bank may call you to verify spending. Other times, you may see your credit score drop and not understand why until you check into it.
Bottom line
A computer virus makes your device act sluggish, much like your body might when you have a virus. Your device won’t be as fast to open programs and web pages. You may also notice it freezes and crashes in the middle of working.
If you suspect your device has been infected with a computer virus, it’s crucial to get the virus removed as soon as possible. The longer it stays on your machine, the more damage it can do. One of the best tools you can utilize to protect your device is good antivirus software.
There are software choices for every budget and need. Many antivirus programs let you customize your software to get the most bang for your buck. Check out our recommendations on the best antivirus programs to keep your data safe.