skip to main content

How to Enable or Disable a Firewall on Windows and Mac

We’ll never tell you to disable the firewall on your computer. Oh no. Doing so opens the door to hackers and malware, all eager to seize your computer and steal your data. Not fun.

But there will be times when you may need to disable the firewall on Windows or Mac temporarily to troubleshoot issues. We’ll show you where to disable and enable the firewall on Windows PCs, desktop Macs, and MacBooks.

Are you troubleshooting speed issues?

You may not need to disable your firewall on Windows or Mac if you’re having internet speed issues. Connect a different PC to your router and run our speed test to compare the speeds.

How to enable or disable the firewall on Windows 11

You can take two paths to access the Microsoft Defender Firewall toggle. We’ll first give you Microsoft’s official instructions, followed by a shorter route we like better through the hidden icons menu.

The Start button route

Step 1: Click on the Start button.

Step 2: Select Settings on the Start Menu.

Privacy and security menu on Windows 11

Step 3: The Settings panel appears on your screen. Select Privacy & Security on the left.

Step 4: Select Windows Security on the right.

Step 5: Select Firewall & network protection from the following list appearing on the right.

The Firewall and network protection menu on Windows 11 allows you to select the network type

Step 6: The Windows Security panel appears on your screen with the Firewall & network protection category already selected. Choose Domain network, Private network, or Public network (see FAQ).

NOTE: On this screen, you’ll see additional firewall-related links to do the following:

  • Restore the firewall settings to their defaults
  • Allow specific apps and desktop software to pass through the firewall
  • Change the firewall notification settings
  • Add and modify inbound and outbound rules
  • Add and modify connection security rules
The Public network screen has a toggle to turn off the firewall

Step 7: Under Microsoft Defender Firewall, click on the toggle to set it to On or Off.

The hidden icons route

Here’s the shorter route to accessing the Microsoft Defender Firewall toggle. In our case, the Windows Defender icon resides in the hidden icons pop-up balloon. However, you may see the icon seated on the Taskbar instead.

The down arrow icon on the right side of your taskbar will allow you to access the hidden icons

Step 1: Click on the Show hidden icons button (up arrow) on the Taskbar.

Step 2: Click on the Windows Security icon.

Firewall and network protection menu shows options for network type

Step 3: The Windows Security panel appears on your screen. Select Firewall & network protection on the left.

Step 4: Select Domain network, Private network, or Public network (see FAQ) on the right.

NOTE: On this screen, you’ll see additional firewall-related links to do the following:

  • Restore the firewall settings to their defaults
  • Allow specific apps and desktop software to pass through the firewall
  • Change the firewall notification settings
  • Add and modify inbound and outbound rules
  • Add and modify connection security rules
Toggle the firewall on and off in the Public network menu

Step 5: Under Microsoft Defender Firewall, click on the toggle to set it to the On or Off position.

How to enable or disable the firewall on Windows 10

The instructions to reach the firewall toggle are different on Windows 10 than on Windows 11. But like Windows 11, you have two ways to reach the firewall toggle: using the traditional Start button method or the (faster) hidden icons route.

The Start button route

The settings option is near the bottom of the Start menu on Windows 10

Step 1: Click on the Start button.

Step 2: Click on the Settings icon.

NOTE: If you don’t see the Settings icon on the Start Menu, right-click on the Start button instead and select Settings on the Power User Menu. You can also type “settings” in Windows Search.

Step 3: The Settings panel appears on your screen. Select the Update & Security tile.

The Windows Security menu is where you will find Firewall settings

Step 4: Select Windows Security on the left.

Step 5: Select Firewall & network protection on the right.

Select the type of network you want to modify on the Firewall and network protection screen

Step 6: The Windows Security panel appears on your screen. Select Domain network, Private network, or Public network (see FAQ).

NOTE: On this screen, you’ll see additional firewall-related links to do the following:

  • Restore the firewall settings to their defaults
  • Allow specific apps and desktop software to pass through the firewall
  • Change the firewall notification settings
  • Add and modify inbound and outbound rules
  • Add and modify connection security rules
Turn the firewall on and off with the toggle below Microsoft Defender Firewall

Step 7: Under Microsoft Defender Firewall, click on the toggle to set it to the On or Off position.

The hidden icons route

You can bypass the Settings window altogether and go directly to the Windows Security screen using these instructions.

Access the hidden icons with the up arrow on the right side of the taskbar on Windows 10

Step 1: Click on the Show hidden icons button (up arrow) on the Taskbar.

Step 2: Click on the Windows Security icon in the pop-up menu.

Firewall settings tile in Security menu

Step 3: The Windows Security panel appears on the screen. Select the Firewall & network protection tile.

Firewall menu has options for Domain network, private network, and public network

Step 4: Select Domain network, Private network, or Public network (see FAQ).

NOTE: On this screen, you’ll see additional firewall-related links to do the following:

  • Restore the firewall settings to their defaults
  • Allow specific apps and desktop software to pass through the firewall
  • Change the firewall notification settings
  • Add and modify inbound and outbound rules
  • Add and modify connection security rules
Under Microsoft Defender Firewall, you can toggle the firewall on and off

Step 5: Under Microsoft Defender Firewall, click on the toggle to set it to the On or Off position.

How to enable or disable the firewall on Mac

Apple keeps your route to the firewall toggle pretty simple, although you’ll have a faster trip if the System Settings icon is on the Dock. These instructions are based on macOS Ventura.

Access system settings on a mac in the Apple menu

Step 1: Click on the Apple menu icon in your screen’s top left corner.

Step 2: Select System Settings on the drop-down menu.

Alternative method: Click on the System Settings icon if it appears on the Dock.

Select the firewall menu in the Network menu

Step 3: The System Settings panel appears on your screen. Select Network on the left.

Step 4: Select Firewall on the right.

Toggle the firewall on and off

Step 5: Click on the toggle to enable or disable the firewall.

NOTE: Here, you can click on the Options button to do the following:

  • Block all incoming connections except for those used for basic internet services
  • Block or allow incoming connections to specific services
  • Enable or disable stealth mode
  • Block or allow downloaded signed software to receive incoming connections automatically
  • Block or allow built-in signed software to receive incoming connections automatically

FAQ about enabling and disabling a firewall

What is a firewall?

Should I turn off my firewall?

Can I temporarily disable my firewall?

When can I temporarily disable my firewall?

What are the Domain, Private, and Public profiles in Windows Defender Firewall?

Author -

Kevin Parrish has more than a decade of experience working as a writer, editor, and product tester. He began writing about computer hardware and soon branched out to other devices and services such as networking equipment, phones and tablets, game consoles, and other internet-connected devices. His work has appeared in Tom’s Hardware, Tom's Guide, Maximum PC, Digital Trends, Android Authority, How-To Geek, Lifewire, and others. At HighSpeedInternet.com, he focuses on network equipment testing and review.