Disable Firewall on Windows 11 & 10
While keeping the firewall enabled is highly recommended for most users, there are situations where you may need to temporarily disable it. For example, you might be troubleshooting a network issue, installing specific software, testing a server connection, or using a trusted third-party security solution that includes its own firewall protection.
Both Windows 11 and Windows 10 provide simple ways to turn the firewall on or off through the Windows Security settings. However, disabling the firewall removes an important layer of protection, so it should only be done when necessary and for a limited period of time.
In this guide, you will learn exactly how to disable the firewall in Windows 11 and Windows 10 using easy steps.
How to Disable Firewall on Windows 11 & 10?

To disable the firewall in Windows 11 or Windows 10, open Windows Security, select Firewall & network protection, choose the active network profile, and turn off Microsoft Defender Firewall. Confirm the User Account Control prompt if it appears. The firewall will remain disabled until you manually turn it back on.
Let’s learn in detail!
Step 1: Open the Windows Security App
The first step is to access the Windows Security application, which contains all the built-in security settings for your computer.
Begin by clicking the Start Menu button located on the taskbar. In the search box, type Windows Security. As you type, Windows will display matching results.
Click the Windows Security app from the search results to open it. The application will launch and display several security categories, including Virus & threat protection, Account protection, App & browser control, Device security, and Firewall & network protection.
If you are using Windows 11, the interface may look slightly different from Windows 10, but the overall layout and options remain very similar.
Once the Windows Security window opens, you are ready to proceed to the next step.
Step 2: Access Firewall & Network Protection
After opening Windows Security, locate the Firewall & network protection section.
Click on this option to view your network security settings. On this screen, Windows displays different network profiles that may be active on your device.
Typically, you will see profiles such as Domain network, Private network, and Public network.
A Private network is usually used for trusted locations such as your home or office. A Public network is intended for places like airports, hotels, cafes, and other public internet connections. A Domain network is commonly used in business environments where computers are managed by an organization.
One of these profiles will display the word Active, indicating the network currently being used by your computer.
You must select the active profile before you can disable the firewall.
Step 3: Select the Active Network Profile
Carefully identify which network profile is marked as active.
Click the active profile to open its detailed settings page. This page contains the firewall controls specific to that network connection.
For example, if your computer is connected to your home WiFi network, the active profile will often be listed as Private network. If you are connected to a public hotspot, the active profile may appear as Public network.
After opening the active profile, you will see a setting labeled Microsoft Defender Firewall.
This setting determines whether the firewall protection is currently enabled or disabled for that particular network profile.
You are now ready to turn off the firewall.
Step 4: Turn Off Microsoft Defender Firewall
Locate the Microsoft Defender Firewall toggle switch.
If the firewall is enabled, the toggle will appear in the On position. Click the toggle to switch it off.
As soon as you do this, Windows may display a User Account Control prompt asking whether you want to allow the application to make changes to your device.
Click Yes to continue.
After confirmation, the firewall will be disabled for the selected network profile. Windows Security will usually display a warning message indicating that your device may be vulnerable because the firewall is turned off.
This warning is normal and serves as a reminder that an important security feature has been disabled.
At this point, the firewall is successfully turned off.
Step 5: Verify That the Firewall Is Disabled
It is a good idea to verify that the firewall has actually been disabled.
Return to the Firewall & network protection page within Windows Security.
The active network profile should now indicate that the firewall is turned off. You may also see a warning message or a red indicator showing that firewall protection is disabled.
This confirmation helps ensure that the change was applied successfully.
If you do not see the expected status, reopen the active network profile and check the Microsoft Defender Firewall setting again.
Once verified, you can continue with whatever troubleshooting, testing, or installation task requires the firewall to be disabled.
Disable Firewall in Windows 11 & 10 Using Control Panel
Another way to disable the firewall is through the traditional Control Panel.
Open the Start Menu and search for Control Panel. Launch the application and select System and Security.
Next, click Windows Defender Firewall.
On the left side of the window, click Turn Windows Defender Firewall on or off.
You will see options for both Private and Public network settings. Select Turn off Windows Defender Firewall (not recommended) under the desired network profiles.
Click OK to save the changes.
The firewall will immediately be disabled for the selected profiles.
Many experienced users still prefer this method because it provides access to additional firewall settings within a single interface.
How to Turn the Firewall Back On?
After completing your task, it is highly recommended that you re-enable the firewall.
Open Windows Security and navigate to Firewall & network protection.
Select the active network profile and turn the Microsoft Defender Firewall toggle back to the On position.
If you used the Control Panel method, return to the firewall settings page and select Turn on Windows Defender Firewall for the desired network profiles.
Re-enabling the firewall restores an important layer of security and helps protect your device against network-based threats.
Precautions Before Disabling the Firewall
Before disabling the firewall, ensure that you understand the potential risks.
- Avoid browsing unknown websites while the firewall is disabled.
- Do not download files from untrusted sources.
- Avoid connecting to public WiFi networks without firewall protection.
- Make sure your antivirus software remains active and updated.
- If possible, disconnect from the internet when performing tasks that do not require network access.
These precautions can help reduce the security risks associated with temporarily disabling the firewall.
FAQs
Is it safe to disable the firewall in Windows 11 or Windows 10?
Disabling the firewall is generally safe for short periods when troubleshooting or testing. However, leaving it disabled permanently is not recommended because it increases the risk of unauthorized access and malware attacks.
Why can’t I turn off the firewall?
If the option is unavailable, your computer may be managed by an organization, administrator policies may be in place, or third-party security software may be controlling firewall settings.
Does disabling the firewall improve internet speed?
In most cases, disabling the firewall does not produce a noticeable improvement in internet speed. The firewall is designed to operate efficiently with minimal impact on performance.
Will antivirus software still work if the firewall is disabled?
Yes. Antivirus protection and firewall protection are separate security features. Your antivirus can continue working even if the firewall is turned off.
Can I disable the firewall for one network only?
Yes. Windows allows firewall settings to be managed separately for Private, Public, and Domain network profiles.
What happens if I forget to turn the firewall back on?
Your computer may become more vulnerable to unauthorized network access and cyber threats. It is best to re enable the firewall immediately after completing your task.
Summary
The Microsoft Defender Firewall in Windows 11 and Windows 10 plays a vital role in protecting your computer from unwanted network traffic and security threats. While there are valid reasons to disable it temporarily, doing so should always be approached carefully.
To disable the firewall, open Windows Security, go to Firewall & network protection, select the active network profile, and turn off Microsoft Defender Firewall. You can also use the Control Panel method if you prefer a more traditional interface.
Remember that disabling the firewall removes an important layer of protection. Once your troubleshooting, installation, or testing is complete, re-enable the firewall to keep your system secure and protected from potential threats.
