Want to stop a specific app from using the internet — to save mobile data, block ads in an offline game, or keep a nosy app from phoning home? Android still has no single “block this app” switch, even in Android 16. But between built-in data controls and one excellent free firewall app, you can get complete per-app control without root. This guide covers every method that still works in 2026 — and names the once-popular firewall apps that have been removed from Google Play, so you do not waste time on dead recommendations.

Quick Answer: Three Ways to Block an App’s Internet
| Method | Blocks Wi-Fi? | Blocks while app is open? | Needs extra app? |
|---|---|---|---|
| Per-app background data toggle | No (background only) | No | No |
| Data Saver | No (mobile data background) | No | No |
| NetGuard firewall | Yes | Yes | Yes (free, no root) |
| AFWall+ (root) | Yes | Yes | Yes (root required) |
Method 1: Built-In Per-App Data Controls
Every Android phone can stop an app from using data in the background. This covers most real-world cases — apps syncing, updating and tracking when you are not using them.
- Open Settings > Apps and select the app.
- Tap Mobile data & Wi-Fi (on Samsung it may be labelled Mobile data; on older Android, Data usage).
- Turn off Background data. The app can now only use the network while it is open on screen.
- For a stricter limit, also check the app’s Battery setting and set it to Restricted.
On Samsung Galaxy phones you get an extra lever: Settings > Connections > Data usage shows per-app usage, and many One UI versions let you toggle mobile data access per app from the app’s data screen. If your Galaxy keeps switching to mobile data on weak Wi-Fi, also turn off Smart Network Switch.
Method 2: Data Saver (Block Background Data for Everything)
Data Saver is Android’s system-wide switch: it blocks background mobile data for every app except the ones you whitelist. Go to Settings > Network & internet > Data Saver (Samsung: Connections > Data usage > Data saver), turn it on, then tap Unrestricted data and allow only the apps that truly need background access, like your messaging apps. This is the fastest way to cut data waste across the whole phone.
Method 3: NetGuard — Full Per-App Firewall Without Root
To block an app completely — Wi-Fi and mobile data, foreground and background — you need a firewall. NetGuard is the best option in 2026: free, open source, actively maintained, and it works without root by filtering traffic through Android’s local VPN service. You can block Wi-Fi, mobile data, or both, per app, with two taps.
- Install NetGuard from Google Play (developer: Marcel Bokhorst / FairCode) and open it.
- Tap the master switch at the top and allow the VPN connection request. This is a local filter on your phone — your traffic is not sent to any server.
- When prompted, exclude NetGuard from battery optimization so Android does not kill it in the background.
- Find the app you want to block. Tap its Wi-Fi icon to block Wi-Fi, its mobile data icon to block mobile data, or both to cut it off completely.
- Tap an app’s name for finer rules, like “allow only when screen is on” or “allow in lockdown mode.”
Two things to know: Android allows only one VPN at a time, so NetGuard cannot run alongside another VPN app. And the Play Store build omits a few features (like hosts-file ad blocking) that the F-Droid/GitHub build includes — the core per-app blocking is identical. If you also want DNS-level ad and tracker blocking, pair this with our guide on using Private DNS to block ads.
Method 4: AFWall+ for Rooted Phones
If your phone is rooted, AFWall+ remains the strongest firewall: it uses iptables rules at system level, supports IPv4 and IPv6, LAN and tethering controls, Tasker automation and a settings password. It is free (with a donate version) and still actively maintained.
Dead Ends: Firewall Apps Removed From Google Play
Older versions of this guide (and many others) recommended NoRoot Firewall, Mobiwol and NetPatch Firewall. All three have been removed from Google Play — NoRoot Firewall and NetPatch in 2024, Mobiwol unmaintained since 2018 — and NoRoot Firewall never supported IPv6, which breaks filtering on modern LTE/5G networks. Do not sideload them from APK sites: a firewall sees all your traffic, so an unverified copy is a serious security risk. NetGuard and AFWall+ above replace them completely.
Which Apps Should You Block?
- Offline games with ads: block them fully — no ads, no tracking, and the game still works.
- Shopping and social apps: block mobile data, allow Wi-Fi, so they only refresh at home.
- Apps you rarely open: block background data with the built-in toggle.
- Never block: Google Play services, your messaging apps (unless you want delayed messages), and anything banking or 2FA-related that needs timely notifications.
FAQs
Can I block an app’s Wi-Fi but allow mobile data (or vice versa)? Yes — NetGuard and AFWall+ have separate Wi-Fi and mobile toggles per app. Built-in settings cannot do this.
Does blocking an app break notifications? It can. If an app cannot reach the internet in the background, its notifications arrive only when you open it. Messaging apps are the usual casualty — whitelist them.
Is NetGuard’s VPN safe? NetGuard is open source and the VPN is local — traffic is filtered on your device, not routed through NetGuard servers. The trade-off is that it occupies Android’s single VPN slot.
Will a firewall save battery? Usually yes, modestly: blocked apps cannot wake up to sync and track, which reduces background activity.
Bottom Line
Start with the built-in background-data toggle and Data Saver — they solve most data problems with zero installs. When you need a true block, NetGuard gives you complete per-app control without root, and AFWall+ is the rooted option. Skip the removed-from-Play firewalls still floating around old guides. For the bigger privacy picture, see our Android privacy and security tips.