How to Block Internet Access to an App in Windows 11: A Step-by-Step Guide

If you’ve ever wanted to stop an app from sneaking onto the internet, draining your data, or showing too many ads, you’re not alone. Many Windows 11 users look for ways to block specific apps from accessing the web—whether it’s for security, privacy, or just plain peace of mind.

In this guide, I’ll walk you through multiple methods to block internet access to an app in Windows 11. Don’t worry, it’s easier than you might think. Let’s dive in!


Why Would You Block Internet Access to an App?

Before we get into the “how,” let’s talk about the “why.”

Security Concerns

Some apps try to send or receive data without you knowing. Blocking them helps keep your personal info safe.

Reduce Distractions

Games or apps that constantly ping servers can interrupt your workflow. Cutting off internet access keeps you focused.

Save Data and Bandwidth

If you’re on a metered connection, every bit of data counts. Stopping unnecessary background usage is a smart move.

Prevent Ads and Updates

Some apps load ads or force updates. Blocking them offline can stop that.


Methods to Block Internet Access to an App in Windows 11

There’s more than one way to do this, and I’ll explain them step by step.


Method 1: Using Windows Firewall

Windows Firewall is the built-in security tool that can easily block apps from going online.

Step 1: Open Windows Firewall Settings

  1. Press Win + S and type Windows Defender Firewall.

  2. Click on it to open.

Step 2: Create a New Rule

  1. On the left sidebar, click Advanced settings.

  2. This opens Windows Defender Firewall with Advanced Security.

  3. Click Outbound Rules → New Rule.

Step 3: Select Program

  • Choose Program and hit Next.

  • Browse and select the app’s .exe file you want to block.

Step 4: Block the Connection

  • Select Block the connection → Next.

Step 5: Choose Profile

  • Select all (Domain, Private, Public) → Next.

Step 6: Name the Rule

  • Give it a name like Block App XYZ.

  • Hit Finish.

âś… Boom! That app can no longer access the internet.


Method 2: Block via Windows Settings

If messing with the firewall sounds too techy, you can also restrict apps using settings.

Step 1: Go to App Permissions

  1. Press Win + I to open Settings.

  2. Navigate to Apps → Installed Apps.

Step 2: Choose the App

  • Click the three dots next to the app and select Advanced Options.

Step 3: Toggle Network Access

  • Scroll down to App Permissions.

  • Toggle off Internet access if available.

👉 Note: Not all apps have this option. If you don’t see it, go back to the firewall method.


Method 3: Using Third-Party Software

There are handy apps that make blocking internet access super easy.

Popular Tools Include:

  • NetLimiter – Great for advanced controls.

  • SimpleWall – Lightweight and free.

  • GlassWire – Monitors traffic and blocks apps visually.

Why Use These?

They’re more user-friendly and often give you detailed stats about each app’s internet activity.


Method 4: Block Internet with Hosts File

This one’s a little geeky but powerful.

Step 1: Open Hosts File

  1. Navigate to: C:\Windows\System32\drivers\etc\hosts

  2. Open with Notepad (Run as Administrator).

Step 2: Redirect the App’s URL

  • Add entries like:

    127.0.0.1 appdomain.com
    127.0.0.1 www.appdomain.com

This tricks Windows into blocking the app’s servers.

👉 Warning: Only works if you know the app’s server domains.


Method 5: Airplane Mode (Quick Fix)

If you just want to cut off all apps temporarily:

  • Click the Wi-Fi icon on your taskbar.

  • Hit Airplane mode.

Not ideal for selective blocking, but works in a pinch.


Things to Keep in Mind

Some Apps Might Misbehave

Blocking internet access may cause errors or prevent them from opening.

Updates Will Stop

If you block an app, it won’t update. You’ll need to re-enable internet access to update it manually.

Games & Licenses

Some games and licensed software need to “phone home.” Blocking them might lock features.


Troubleshooting: What If the App Still Connects?

  • Double-check you selected the right .exe file.

  • Make sure the rule applies to all profiles (Domain, Private, Public).

  • Restart your PC after applying the rule.

  • If all else fails, use third-party software for stricter control.


Advanced Tip: Block Inbound Rules Too

While outbound rules stop apps from sending data, inbound rules block incoming connections.

  • Repeat the same firewall steps, but choose Inbound Rules instead.

  • This gives you total control over the app’s internet access.


When Should You Avoid Blocking Apps?

Not every app should be cut off. Avoid blocking:

  • Antivirus programs (they need internet to update).

  • System apps (could break Windows features).

  • Cloud storage apps if you rely on syncing (OneDrive, Google Drive, etc.).


Pros and Cons of Blocking Internet Access

Pros

  • Better privacy and security.

  • Saves bandwidth.

  • Stops ads and auto-updates.

Cons

  • Can break app functionality.

  • Manual updates required.

  • May cause system errors if used incorrectly.


Final Thoughts

Blocking internet access to apps in Windows 11 is a super handy trick. Whether you want to boost privacy, save bandwidth, or just stop annoying ads, you’ve got plenty of options—firewall rules, settings, third-party tools, or even the hosts file method.

Personally, I recommend starting with the Windows Firewall method—it’s free, reliable, and built right into your PC. If that feels too complicated, go for a third-party app like GlassWire or NetLimiter for an easier experience.

At the end of the day, it’s all about control—you decide which apps get to go online and which stay offline.


FAQs

1. Can I block only Wi-Fi or only Ethernet access for an app?
Yes! When setting up a firewall rule, you can specify which network types (Domain, Private, Public) to block.

2. Will blocking internet stop apps from sending data completely?
Mostly yes, but some apps may use sneaky methods. For foolproof blocking, use a third-party firewall.

3. Can I unblock an app later?
Absolutely. Just delete or disable the rule in Windows Firewall.

4. Is blocking apps safe for Windows system files?
No, avoid blocking system apps—stick to third-party programs only.

5. Do I need admin rights to block apps in Windows 11?
Yes, you’ll need administrator access to change firewall rules or edit the hosts file.


Scroll to Top