When and why you might disable antivirus protection

You may need to disable your antivirus software temporarily when it blocks a legitimate program you want to install, when you're troubleshooting a technical problem, or when you're running a performance-intensive task that the antivirus is slowing down. Some people disable it permanently if they switch to a different antivirus product, or if they decide the system resource use isn't worth the protection for their specific setup.

The key word is temporarily. Disabling antivirus protection leaves your computer vulnerable to malware, viruses, and ransomware — the threats it was designed to catch. If you disable it, do the specific task you need to do, then turn it back on when ready. Do not leave your computer unprotected while browsing the internet or downloading files from unfamiliar sources.

This guide covers how to disable the most common antivirus programs. The steps vary depending on whether you're using Windows Defender (built into Windows), a third-party antivirus like Norton or McAfee, or a Mac antivirus product.

Key Takeaways

  • Disabling antivirus protection is safe only for short periods while you complete a specific task, then you must turn it back on.
  • Windows Defender can be disabled temporarily through Settings or permanently through Group Policy Editor, depending on your Windows version and whether you have administrator access.
  • Third-party antivirus programs like Norton, McAfee, and Kaspersky have their own control panels where you can pause or disable real-time scanning.
  • Mac users can disable Gatekeeper and XProtect through System Preferences, though this removes important security checks on downloaded files.
  • If an antivirus program blocks a file you trust, you can usually whitelist it instead of disabling the entire antivirus.

How to disable Windows Defender on Windows 10 and 11

Windows Defender is the built-in antivirus that comes with Windows. To disable it temporarily, open Settings, go to Privacy & Security, then select Windows Security. Click Virus & threat protection, then Manage settings. Toggle off Real-time protection. This disables scanning until you restart your computer, at which point it turns back on automatically.

To disable Windows Defender permanently on Windows 10 or 11, you need administrator access and the Group Policy Editor. Press Windows key + R, type gpedit.msc, and press Enter. Navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus. Double-click Turn off Microsoft Defender Antivirus, select Enabled, and click OK. Your computer will no longer run Windows Defender scans, though Windows will still show warnings about missing antivirus protection.

If you do not see Group Policy Editor on your system, you may be running Windows Home edition, which does not include it. In that case, you can only disable Windows Defender temporarily through Settings, not permanently.

How to disable third-party antivirus programs

Norton, McAfee, Kaspersky, Bitdefender, and similar programs each have their own control panel. Open the antivirus program from your system tray (the icons in the bottom right corner of your screen on Windows, or the menu bar on Mac). Look for a button or menu option that says Pause, Disable, or Turn Off. Most programs let you pause protection for 15 minutes, 1 hour, or until you restart — choose the shortest duration that covers the task you need to do.

If you cannot find a pause option, look for Settings or Preferences within the program, then find the section for Real-time Protection or Active Scanning. You can usually toggle this off there. Some programs require you to enter your administrator password before you can disable protection.

To uninstall a third-party antivirus completely, go to Control Panel > Programs > Programs and Features on Windows, find the antivirus in the list, and click Uninstall. On Mac, open Applications, find the antivirus, and drag it to Trash. You may need to restart your computer to complete the uninstall.

How to disable antivirus on Mac

Mac computers run two built-in security tools: Gatekeeper and XProtect. Gatekeeper checks whether downloaded files come from trusted sources. XProtect scans files for known malware. To disable Gatekeeper, open System Preferences, go to Security & Privacy, click the General tab, and change Allow apps downloaded from to Anywhere. This removes the check that blocks unsigned applications.

XProtect does not have a user-facing off switch in System Preferences. To disable it, you need Terminal, which is a command-line tool. Open Applications > Utilities > Terminal and type defaults write com.apple.LaunchServices LSQuarantine -bool false, then press Enter. This prevents XProtect from scanning files you read.

If you use a third-party antivirus on Mac like Norton or Kaspersky, open the program and look for a Pause or Disable option in its menu, the same way you would on Windows.

Whitelisting a file instead of disabling antivirus

If your antivirus is blocking a specific file or program you trust, you do not have to disable the entire antivirus. Most programs let you whitelist the file, which tells the antivirus to stop blocking it. Open your antivirus control panel, look for Quarantine, Blocked Files, or Exceptions, and find the file in the list. Click Restore or Add to Whitelist. The antivirus will no longer block that file in the future.

Whitelisting is safer than disabling antivirus because the rest of your system stays protected. Use this approach when you know a specific file is legitimate but your antivirus disagrees.

What happens when antivirus is disabled

When antivirus protection is off, your computer cannot detect or stop malware, viruses, ransomware, or spyware from running. Files you read, programs you install, and websites you visit are no longer scanned. If you accidentally read an infected file or visit a malicious website, the malware will execute without any warning or block.

Ransomware is particularly dangerous without antivirus protection because it can encrypt your files before you notice anything is wrong. Viruses can spread to other files on your computer or to other devices on your network. This is why you should never leave antivirus disabled for longer than necessary, and why you should never disable it while browsing the internet or downloading files.

Turning antivirus back on

If you disabled antivirus temporarily through the pause or disable button, it will turn back on automatically when the timer expires or when you restart your computer. If you disabled it permanently through Settings or Group Policy, you need to reverse the steps you took. For Windows Defender, go back to Settings > Privacy & Security > Windows Security > Virus & threat protection > Manage settings and toggle Real-time protection back on. For Group Policy, open gpedit.msc again, navigate to the same location, and set Turn off Microsoft Defender Antivirus to Not Configured.

For third-party antivirus, open the program and click the button to Resume or Enable protection. If you uninstalled the antivirus completely, you will need to reinstall it from the publisher's website or from the Microsoft Store or Mac App Store.

Frequently Asked Questions

Will my computer warn me if antivirus is disabled?

Yes. Windows will show a notification in the system tray that antivirus protection is off, and you may see a red X or warning icon in Settings. Mac does not show as obvious a warning, but System Preferences will indicate that Gatekeeper is disabled. These warnings are intentional — they remind you to turn protection back on.

Can I disable antivirus just for one program?

Yes, through whitelisting. Open your antivirus, find the Exceptions or Whitelist section, and add the program's file path. The antivirus will skip scanning that program while protecting everything else. This is safer than disabling antivirus entirely.

What if I disable antivirus and my computer gets infected?

Turn antivirus back on when ready and run a full system scan. If the scan finds malware, the antivirus will quarantine or remove it. If you suspect serious infection, restart your computer in Safe Mode (which loads only essential programs) before running the scan, or use a bootable antivirus tool from another computer.

Do I need antivirus if I only use my computer for email and web browsing?

Yes. Email attachments and malicious websites can infect your computer even if you are careful. Antivirus protection catches threats you do not see coming. The resource use of modern antivirus is minimal on most systems.

Can I use two antivirus programs at the same time?

No. Running two antivirus programs simultaneously causes conflicts, slows your computer significantly, and can actually reduce protection because each program interferes with the other's scanning. Choose one antivirus and disable or uninstall the others.