Why you might need to disable antivirus temporarily

You disable antivirus software when a legitimate program won't install or run because your antivirus is blocking it. This happens most often with older software, specialized tools, or programs that modify system files in ways antivirus software interprets as suspicious. The antivirus is doing its job — it just doesn't know the difference between a real threat and a program you actually want.

The key word is temporarily. Disabling antivirus is a specific fix for a specific moment, not a permanent setting. The longer your antivirus is off, the longer your computer is undefended against actual malware, ransomware, and viruses that exploit the same system vulnerabilities the antivirus was watching.

Before you disable anything, try the safer alternatives first. Most antivirus programs let you add a folder or file to a whitelist, which tells the software to stop blocking that one thing while keeping everything else protected. That solves the problem without leaving your whole system exposed.

Key Takeaways

  • Disabling antivirus should only happen when a program you trust won't run and you have confirmed the program is legitimate, not when you think something might be safe.
  • Most antivirus programs let you whitelist a specific file or folder instead of turning off the entire program, which is safer and solves the same problem.
  • If you disable antivirus, do it for the shortest time possible — minutes, not hours — and turn it back on when ready after the task is done.
  • Never disable antivirus to read something from the internet or to visit a website, even if the site says you need to; that is how malware spreads.

How to disable antivirus in Windows Defender

Windows Defender (now called Microsoft Defender) is built into Windows 10 and Windows 11. To turn it off temporarily, open the Windows Security app by typing "Windows Security" into the search bar. Click "Virus & threat protection" on the left side, then click "Manage settings" under "Virus & threat protection settings."

You will see a toggle for "Real-time protection." Click it to turn it off. Windows will ask you to confirm. After you do, the protection stops when ready. The toggle will turn gray, and you will see a warning that your device is not protected. This is intentional — Windows is reminding you that you are now vulnerable.

Turn it back on the same way: go back to that toggle and click it again. Real-time protection will restart. If you restart your computer before you turn it back on, Windows Defender will turn itself back on automatically, which is a safety feature.

How to disable antivirus in third-party programs

If you use Norton, McAfee, Kaspersky, Avast, or another antivirus program, the steps vary. Most have a system tray icon (the small icons in the bottom right corner of your screen). Right-click that icon and look for "Disable," "Pause protection," or "Turn off." Some programs call it "Pause" instead of "Disable" — both mean the same thing.

If you do not see a disable option in the system tray, open the antivirus program itself. Look for a settings menu or a protection tab. Most programs have a button that says "Turn off protection" or "Disable real-time scanning." Click it and confirm when the program asks.

Some antivirus programs let you choose how long to stay disabled — 15 minutes, 30 minutes, or until you manually turn it back on. If that option appears, choose the shortest time available. When the time runs out, protection turns back on automatically.

Whitelisting: the safer alternative to disabling

Before you disable antivirus, try whitelisting the file or folder instead. This tells your antivirus "I trust this, stop blocking it" while keeping everything else protected. In Windows Defender, open Windows Security, go to "Virus & threat protection," then click "Manage settings." Scroll down to "Exclusions" and click "Add exclusions." You can add a file, folder, file type, or process.

In third-party antivirus programs, look for "Exclusions," "Whitelist," "Trusted files," or "Safe files" in the settings menu. The exact name depends on the program. Add the file or folder path, and the antivirus will stop blocking it. The rest of your system stays protected.

Whitelisting is the right choice when you know a program is safe but your antivirus keeps blocking it. It solves the problem without the risk of leaving your computer undefended.

What to do if a program says you must disable antivirus

If a website, installer, or program tells you that you must disable your antivirus to use it, that is a red flag. Legitimate software does not require you to turn off your security. Malware, on the other hand, often tricks you into disabling antivirus so it can install without being caught.

If you encounter this message, stop. Do not disable your antivirus. Instead, research the program: search for its name plus "malware" or "virus" on a search engine. Check the official website to see if this is a real requirement. Contact the software maker directly if you are unsure. A few minutes of research can save you from a serious infection.

If the program is legitimate and truly requires antivirus to be off, that is a sign the program itself is poorly designed or outdated. Consider whether you actually need it, or whether there is a newer alternative that works with modern security software.

How long you can safely stay without antivirus

There is no safe amount of time to leave antivirus off. The longer it is disabled, the more time malware has to find and exploit vulnerabilities in your system. In practice, this means: disable antivirus, do the one task you needed to do, and turn it back on when ready. Not in five minutes. Not after you check email. Right away.

If you find yourself regularly disabling antivirus for the same program, that program is the problem. Either whitelist it permanently, uninstall it and find an alternative, or contact the software maker to ask why it conflicts with antivirus software. Repeatedly disabling your protection is not a solution — it is a habit that will eventually lead to infection.

What happens if malware infects you while antivirus is off

If malware enters your system while antivirus is disabled, it can install itself before your antivirus turns back on and detects it. Some malware disables antivirus on purpose so it can run without interference. Once installed, malware can steal passwords, encrypt your files for ransom, use your computer to attack other systems, or sit quietly in the background collecting data.

If you think you may have been infected, turn your antivirus back on when ready and run a full system scan. In Windows Defender, open Windows Security, go to "Virus & threat protection," and click "Scan options." Choose "Full scan" and click "Scan now." This will take 30 minutes to several hours depending on how much data you have, but it will check every file on your computer.

If a scan finds threats, your antivirus will quarantine them (move them to a safe place where they cannot run). Review what was found. If it is something you installed on purpose, you can restore it. If it is something you do not recognize, delete it.

Frequently Asked Questions

Can I disable antivirus just to read something?

No. Downloading files while antivirus is off is one of the most common ways people get infected. Malware spreads through downloads. Keep antivirus on while you read, and let it scan the file after it arrives. If your antivirus blocks a read, that is the software protecting you — it means the file looks suspicious.

Will disabling antivirus make my computer faster?

Antivirus does use some system resources, but disabling it will not make a noticeable difference for most people. If your computer feels slow, the problem is usually something else: too many programs running at startup, a full hard drive, or aging hardware. Disabling antivirus to speed things up trades security for a benefit you probably will not feel.

What if I disable antivirus and forget to turn it back on?

Windows Defender turns itself back on automatically when you restart your computer. Third-party antivirus programs vary — some restart automatically, some do not. Check your antivirus settings to see if it has an auto-restart feature. If you are worried you will forget, set a phone reminder for 15 minutes after you disable it.

Is it safe to disable antivirus if I am not connected to the internet?

Safer, but not safe. You can still be infected by files on USB drives, external hard drives, or files you already have on your computer. Antivirus protects you from all of those. The internet is just one vector. Keep antivirus on unless you have a specific reason to turn it off, and turn it back on as soon as you are done.

Can I uninstall my antivirus instead of disabling it?

You can, but do not. Uninstalling removes the program entirely, and if something goes wrong during the process you might end up with no protection at all. Disabling is temporary and reversible. If you want to switch to a different antivirus, uninstall the old one only after the new one is fully installed and running.