Why you might need to disable antivirus temporarily

Your antivirus software sometimes blocks legitimate programs from running or installing. This happens when the software flags a file incorrectly, when you're installing older programs that trigger false alarms, or when you're running a tool that the antivirus doesn't recognize. Disabling the antivirus lets that program run, but only for as long as you need it to.

The key word is temporary. You should turn your antivirus back on as soon as the task is done. Leaving it off for hours or days exposes your computer to the actual threats the software was protecting against.

This is different from uninstalling antivirus software entirely. Disabling means pausing it — you can turn it back on with a few clicks. Uninstalling removes it completely and takes longer to reverse.

Key Takeaways

  • Disabling antivirus is temporary; you turn it back on after the program installs or runs, usually within minutes.
  • The steps differ depending on whether you use Windows Defender (built into Windows), a third-party antivirus like Norton or McAfee, or a Mac antivirus.
  • Some antivirus programs let you disable protection for a set time period, after which it turns back on automatically.
  • Never disable antivirus before downloading files from the internet or visiting unfamiliar websites — only disable it when you already have a specific program you trust and need to install.

How to disable Windows Defender on Windows 10 and 11

Windows Defender is the antivirus built into Windows. To turn it off temporarily, open the Settings app by pressing the Windows key and typing "Settings," then click the Settings icon that appears.

In Settings, click Privacy & security on the left side. Then click Windows Security. A new window opens showing your security status. Click Virus & threat protection. You'll see a section labeled Virus & threat protection settings with a link that says Manage settings. Click that link.

On the next screen, you'll see a toggle for Real-time protection. Click the toggle to turn it off. Windows will ask you to confirm — click Yes. Real-time protection is now off, and Windows Defender will not scan files as they run or install.

Turn it back on the same way: go to the same toggle and click it again. It will switch back to on automatically.

How to disable third-party antivirus software

If you use Norton, McAfee, Kaspersky, Bitdefender, or another antivirus you installed yourself, the steps vary by program, but the general path is the same. Open the antivirus program itself — look for its icon in your system tray (the small icons in the bottom right corner of your screen) or search for it by name in the Windows search bar.

Once the program is open, look for a menu or settings option. This is often labeled Settings, Preferences, Options, or a gear icon. Click it. Inside, you should find a section for Protection, Real-time scanning, Active protection, or Virus protection. The exact name depends on the program.

Some programs let you disable protection for a specific time period — for example, 15 minutes or 1 hour — after which it turns back on automatically. Others have a straightforward on/off toggle. Choose the time-limited option if available, since it reduces the risk of forgetting to turn protection back on.

If you cannot find the setting, right-click the antivirus icon in the system tray and look for Disable, Pause protection, or Turn off. If that does not work, open the program's help menu or search its website for "how to disable" plus the program name.

How to disable antivirus on a Mac

Most Macs come with built-in antivirus called XProtect, which runs in the background and does not have a user-facing off switch. You cannot disable it through settings the way you can on Windows.

If you installed a third-party antivirus on your Mac — such as Norton, McAfee, or Kaspersky — open that program from your Applications folder. Look for a menu labeled Preferences, Settings, or a gear icon. Inside, find the protection or scanning settings and look for an option to disable or pause real-time protection. The exact steps depend on which program you use.

If you need to install a program that XProtect is blocking, you can temporarily allow it by right-clicking the program file and selecting Open, then clicking Open again when the warning appears. This is safer than trying to disable XProtect itself.

What to do if you cannot find the disable option

Some antivirus programs hide the disable option to prevent accidental disabling. If you cannot find it in settings, try right-clicking the antivirus icon in your system tray and looking for Disable, Pause, or Turn off. If that does not work, search the program's website for "disable" or "pause protection" plus the program name.

Another option is to restart your computer in Safe Mode, which loads Windows with only essential programs running. Antivirus software typically does not run in Safe Mode, so you can install or run the program you need, then restart normally to turn protection back on. To enter Safe Mode on Windows 10 or 11, press the Windows key and type "msconfig," then click the System Configuration icon. Click the Boot tab, check the box for Safe boot, and click OK. Restart your computer.

Turning your antivirus back on

After the program you needed has installed or run, turn your antivirus back on when ready. If you disabled Windows Defender, go back to the same settings screen and toggle Real-time protection back on. If you disabled a third-party program, open it again and toggle protection back on, or wait for the time-limited disable period to expire.

Check that protection is actually on before you close the settings. You should see a green checkmark or a message saying protection is active. If you used Safe Mode, restart your computer normally — antivirus will load automatically.

Frequently Asked Questions

Is it safe to disable antivirus while installing a program?

It is safe only if you trust the program you are installing. Disable antivirus only for programs you already own, programs from official websites you recognize, or programs recommended by someone you trust. Never disable antivirus to read files from unfamiliar websites or to run programs from unknown sources.

What if my antivirus will not turn back on?

Restart your computer. Most antivirus programs load automatically when Windows starts. If it still does not turn on, open the antivirus program and manually toggle protection back on. If the program is damaged, you may need to uninstall and reinstall it.

Can I disable antivirus on just one program instead of all protection?

Some antivirus programs let you add a program to an exclusion list, which tells the antivirus to skip scanning that specific file. This is safer than disabling all protection. Look in your antivirus settings for Exclusions, Whitelist, or Trusted programs. Add the program file path there, and the antivirus will not block it.

How long can I safely leave antivirus disabled?

Leave it off only for as long as you need — usually a few minutes to install a program. The longer your antivirus is off, the more exposed your computer is to threats. If you need it off for more than an hour, something is probably wrong with either the program you are installing or your antivirus settings.

Does disabling antivirus delete my files?

No. Disabling antivirus turns off scanning and protection, but it does not remove any files from your computer. If your antivirus previously quarantined a file (moved it to a safe folder), disabling the antivirus does not restore it — you would need to manually restore it from the quarantine folder in your antivirus settings.