How to Set Traffic Limits on Xiaomi Phones: A Complete Guide

Controlling the flow of Internet traffic on Xiaomi smartphones is a pressing task for users with limited tariffs or slow connections. Even at unlimited rates, uncontrolled data consumption can lead to โ€œbrakesโ€ of the network during peak hours or unexpected payments for exceeding the limit. In this article, we will discuss all the available ways to limit traffic on devices running MIUI (versions 12-14), including hidden settings and third-party tools.

Itโ€™s important to understand that Xiaomi offers both built-in monitoring features and flexible tools to block background traffic from individual applications. Weโ€™ll look at both approaches, and explain why automatic restriction doesnโ€™t always work 100% and how to fix it. If you often find traffic leaking out of nowhere, hereโ€™s a solution.

Why is Xiaomiโ€™s traffic being consumed too quickly?

Before setting limits, itโ€™s worth understanding the main โ€œeatersโ€ of Internet traffic. On Xiaomi devices, this is often:

  • ๐Ÿ“ฑ Background synchronization of applications (especially messengers and social networks)
  • ๐Ÿ”„ Auto Update Software and Applications via Play Market or Mi App Store
  • โ˜๏ธ Cloud services (Mi Cloud, Google Drive, Yandex.Disk)
  • ๐Ÿ“น High-resolution streaming video (YouTube, TikTok, streaming services)
  • ๐Ÿ“Š System Services (MiuiDaemon, Analytics, Push-service)

One little-known fact is that even in standby mode, Xiaomiโ€™s smartphone can spend up to 100-300MB per day on background processes, due to MIUIโ€™s aggressive policy of collecting analytics and push notifications, and fortunately, most of that traffic can be turned off.

Another common problem is that the system itself is not properly logged, for example, if you connect to multiple Wi-Fi networks, the statistics may be reset or duplicated, so it is recommended to reset the meters before setting the restrictions (more on this in the next section).

๐Ÿ“Š What type of connection do you use most often on Xiaomi?
Only mobile Internet
Only Wi-Fi.
Both types (automatic transition)
I'm not following this.

Resetting traffic counters before setting restrictions

To make the restrictions work properly, you have to reset the current statistics, which is especially important if you haven't been tracking data consumption before or have switched to a new tariff.

  1. Open the Settings. โ†’ SIM-maps and mobile networks โ†’ Transfer of data.
  2. Use Traffic (or Mobile Traffic in Older MIUI Versions)
  3. In the upper right corner, press three dots (โ‹ฎ) and select Reset statistics.
  4. Confirm the action and indicate the date of the beginning of the new settlement period (usually the 1st day of the month).

For Wi-Fi, statistics are reset separately:

  1. Go to Settings. โ†’ Wi-Fi.
  2. Slip on the connected network and select Traffic Statistics.
  3. Press Reset and confirm.

After the reset, wait 5-10 minutes for the system to update the data. Now you can start setting the restrictions. If the statistics are not reset, check if there are third-party traffic monitoring applications (such as GlassWire or NetGuard) that can block the system meters.

๐Ÿ’ก

If you still have the data after the reset, reboot the phone, which will help you synchronize the meters with the system services.

Method 1: Built-in mobile traffic restriction

The easiest method is to use the built-in MIUI feature to restrict mobile data, which is available on all Xiaomi devices starting with MIUI 9.

  1. Open the Settings. โ†’ SIM-maps and mobile networks โ†’ Transfer of data.
  2. Choose. SIM-The card you want to set a limit for (if there are several).
  3. Tap on Traffic Limitation (or Warning and Restriction in New Versions).
  4. Activate the switch Set traffic restriction.
  5. Specify the limit in megabytes (e.g., 5,000MB for 5GB).
  6. Set up Warning โ€“ the threshold at which the system will notify you of approaching the limit (70-80% of the total limit is recommended).
  7. Save the settings.

Once the limit is activated, the mobile internet will automatically shut down until the next billing period, and to turn the data back on, you will have to manually reset the restriction or wait for the statistics to be updated (usually at the beginning of the month).

What to do if the restriction does not work?
If the mobile Internet does not turn off when the limit is exceeded, check: 1. Are there any superuser rights (root) โ€“ they can block system restrictions. 2. Are there any VPNs or proxys that bypass MIUI counters. 3. Update the firmware: in older versions of MIUI (below 11) there were bugs with traffic taken into account.

Note that this restriction only applies to mobile traffic. You will need to use other methods to control Wi-Fi (see next section), and the built-in feature does not block background traffic for system applications, you need NetGuard or analogues.

Method 2: Limiting traffic for individual applications

If you need to block internet access for specific programs (like Facebook, which eats traffic in the background), use the built-in Traffic Manager:

  1. Go to Settings โ†’ Applications โ†’ Application Management.
  2. Select the app you want (such as TikTok or Google Play Store).
  3. Tap on Data Transfer (or Mobile Data and Wi-Fi).
  4. Turn off the switches: ๐Ÿ“ถ Mobile data โ€“ to block 3G/4G/5G; ๐Ÿ“ถ Wi-Fi โ€“ to block access via wireless networks.

For mass disabling background traffic:

  1. Back to Settings โ†’ SIM-maps and mobile networks โ†’ Transfer of data.
  2. Select Background Data Transfer.
  3. Turn off the switch for unnecessary applications or deactivate the Background transmission option globally.

Instructions for setting:

  1. Download NetGuard from Play Market or APKMirror.
  2. When you first start, provide access to the VPN (this is necessary to intercept traffic).
  3. In the main window, you'll see a list of all the apps: ๐Ÿšซ Wi-Fi โ€“ Block access via wireless networks; ๐Ÿšซ Mobile data โ€“ block 3G/4G/5G.

Settings โ†’ Traffic Restrictions

NetGuard works even on blocked downloaders and does not require superuser rights, but note that the application itself consumes up to 5-10 MB of traffic per day for analytics (this can be disabled in the settings).

๐Ÿ’ก

NetGuard is the only application that can block MIUI system services (such as MiuiDaemon or Analytics) without root rights.

Method 4: Limiting traffic through a router (for Wi-Fi)

If you want to control traffic not only on your phone, but also on other devices connected to the same network, set the restrictions on the router. Most modern routers (including Xiaomi Mi Router) support this feature.

Instructions for Xiaomi routers:

  1. Open the routerโ€™s web interface at 192.168.31.1 (or via the Mi Wi-Fi app).
  2. Go to Device Management or Traffic Control.
  3. Select your Xiaomi smartphone from the list of connected devices.
  4. Activate the Speed Limit or Traffic Limit option.
  5. Specify the maximum daily/monthly limit (e.g. 1 GB/day).
  6. Save the settings.
Method of limitationSuitable forRequires root.Cons
The built-in MIUI limitationMobile trafficโŒ No.Does not block system applications
MIUI Traffic ControllerSeparate annexesโŒ No.Some apps ignore the lockdown
NetGuardMobile traffic + Wi-FiโŒ No.Consumes up to 10 MB/day for work
Restriction on routerWi-Fi trafficโŒ No.It doesn't work when you change the network.

Method 5: Hidden settings for power users

If standard methods do not help, you can use the engineering menu or ADB-These are the ways that advanced users can use, and they need to be careful.

Method 1: Engineering menu (to block background traffic)

  1. Open the Phone app and enter the combination: ##4636##.
  2. In the menu that opens, select Phone Information (or Usage Statistics).
  3. Smash Wi-Fi data or Mobile data and manually disable unnecessary processes.

Method 2: ADB-commands to block traffic

Connect your phone to your PC and execute the commands:

adb shell settings put global captive_portal_detection_enabled 0


adb shell settings put global data_saver_enabled 1

The first command disables the portal check (saves up to 50 MB/month), the second activates the data saving mode.

โš ๏ธ Attention: Misuse of the right ADB Or an engineering menu can cause network failures. Before experimenting, back up your settings in Settings. โ†’ Additionally. โ†’ Backup.

What to do if traffic continues to be consumed?

If after all the settings the traffic still โ€œleaksโ€, check the following points:

  • ๐Ÿ” Viruses and malware: Download Malwarebytes and scan the system. Some Trojans masquerade as system processes and steal traffic.
  • ๐Ÿ”„ Auto-update MIUI: Turn it off in Settings. โ†’ The phone. โ†’ Updating the system โ†’ โ‹ฎ โ†’ Settings โ†’ Downloading.

Another possible cause is firmware errors, and if you use custom firmware (like LineageOS or Pixel Experience), check if the bug is related to a particular build, and then only flashing it to an official MIUI will help.

โš ๏ธ Note: On some Xiaomi devices (e.g. Redmi Note 8 Pro or POCO X3) The built-in traffic meter is not working properly because of a bug in the MediaTek core, so the solution is to use third-party applications like Traffic Monitor.

FAQ: Frequent questions about traffic restriction on Xiaomi

Can I set separate limits for mobile data and Wi-Fi?
Yes, but only with third-party applications like NetGuard or Traffic Monitor, built-in MIUI allows you to limit only mobile traffic, Wi-Fi will have to adjust the restrictions on the router or manually block applications through the traffic manager.
Why is the Internet not shut down after the limit is exceeded?
This may be due to: Meter error (try resetting statistics); VPN or proxy use (they bypass system restrictions); root rights (some Magisk modules disable built-in restrictions); Solution: use NetGuard or check settings in Settings โ†’ Special features โ†’ Network for developers โ†’
How to turn off background traffic for all applications at once?
Activate data saving mode: Go to Settings โ†’ Battery and Performance โ†’ Data saving mode. Enable the option and add only mission-critical applications (messengers, maps) to exceptions. This will reduce background traffic by 30-50%, but may degrade some services (for example, push notifications).
Can I limit traffic to MIUI system applications?
The built-in MIUI traffic manager does not allow you to block system processes like MiuiDaemon or Analytics. Solutions: Use NetGuard (blocks most system applications); Disable analytics collection in Settings โ†’ Additional โ†’ Privacy โ†’ Send diagnostic data; Install custom firmware (such as LineageOS), where there are no built-in MIUI restrictions.
How to Reset Traffic Statistics if the Button is Inactive
If the Reset button is not pressed: Restart your phone; check if restrictions are set through Digital Wellbeing (they can block access to settings); Clear the Settings app cache in Settings โ†’ Annexes โ†’ Application management โ†’ Settings โ†’ Memory. โ†’ Clear cache; if nothing helps, reset your network settings to Settings โ†’ SIM-maps and mobile networks โ†’ Resetting network settings.