How to turn off the Xiaomi router: all the ways and hidden nuances

Why is it that just pulling a plug out of a socket is a bad idea?

Xiaomi routers are not just โ€œboxes for distribution of the Internetโ€, but complex network devices with their own MiWiFi ROM operating system. When abrupt power outage (for example, pulling the cord out of the socket) there is a risk of damage to the file system, especially if at this moment there was a firmware update or logs writing.

The latest models (Mi Router) AX6000, AX3000, 4A Gigabit Edition is equipped with non-volatile memory (NAND-Flash, which if it is turned off incorrectly, can lose some of the data about connected devices or QoS settings. Yes, most routers recover after a reboot, but why take risks if there are the right ways to do it?

In this article, we will analyze all official and hidden methods of disconnection, as well as explain when a forced emergency shutdown can be justified (spoiler: this applies only to critical situations).

Method 1: The power button is the most obvious, but not always working method

Most Xiaomi routers (except for compact models like the Mi Router 4C) have a physical power button.

  • ๐Ÿ”˜ A separate button with the words โ€œPowerโ€ (for example, on the Mi Router) AX6000).
  • ๐Ÿ”„ Combined (on/off) - holding 1-3 seconds off, 10+ seconds resets the settings.
  • ๐Ÿ•ณ๏ธ Hidden in the recess (requires a paper clip or toothpick, like the Mi Router) 4A).

How to turn off correctly:

  1. Find the button on the back (usually next to the power port).
  2. Press briefly (less than 1 second) โ€“ the indicators should go out.
  3. If the router does not respond, hold the button for 3-5 seconds.

โ˜‘๏ธ Check before switching off the button

Done: 0 / 3

Important! On some firmware (e.g. MiWiFi R4CM for Mi Router 4C), the power button can be software-enabled, in which case only a web interface or an application will help.

๐Ÿ’ก

If the power button doesnโ€™t work, try updating the routerโ€™s firmware โ€“ in new versions of the MiWiFi ROM, this bug has been fixed.

Method 2: Web interface for those who like control

Xiaomiโ€™s web-based router control panel allows you not only to turn off your device, but also to schedule a shutdown or reboot, a method that works if youโ€™re sitting at your computer and donโ€™t want to get up to the router.

Instructions:

  1. Connect to the router network (via Wi-Fi or cable).
  2. Open your browser and type in the address bar 192.168.31.1 or miwifi.com.
  3. Log in (login and password from the router, do not confuse with data from Wi-Fi!).
  4. Go to Settings โ†’ System โ†’ Reboot / Shutdown.
  5. Select Turn Off and Confirm the Action.
Model routerThe way to turn off in the web interfaceNotes
Mi Router 4A/4CControl โ†’ Reset โ†’ Turn offOlder firmware may not have a shutdown option.
Mi Router AX1800/AX3000Additionally. โ†’ System system โ†’ ShutdownSMS confirmation is required if two-factor authentication is enabled.
Mi Router AX6000Administration โ†’ Nutrition Management โ†’ Shut downThere is an option of delayed shutdown (after 1-24 hours).

If the router does not respond after clicking โ€œSwitch offโ€, check:

  • ๐Ÿ”Œ Is the power cable connected (sometimes it moves away from the connector).
  • ๐Ÿ”„ Is the router stuck (try rebooting it with a button).
  • ๐Ÿ“ฑ Does the web interface work on a mobile device (sometimes ad blockers interfere with the panel loading).
๐Ÿ“Š How often do you turn off your router?
Once a week to reboot
Only when moving/renovating
Never turn it off.
Another option

Method 3: Mi Wi-Fi app โ€“ switch off from phone

The official Mi Wi-Fi app (available for Android and iOS) allows you to control the router remotely, including turning it off, which is convenient if the router is installed in a hard-to-reach place (for example, on mezzanine or in the server rack).

Step-by-step:

  1. Open the app and log in (use the same Xiaomi account as the router).
  2. Select your router from the list of devices.
  3. Go to the Control section โ†’ Shutdown.
  4. Confirm the action (it may be necessary to enter a password from the router).

If the router is connected to the Xiaomi cloud, it can take up to 30 seconds to shut down via the app โ€” the device first sends a command to the server and then executes it locally.

What to do if the app does not see the router?
Make sure your phone is connected to the router network (not via mobile Internet). Check if the router settings have enabled the option "Remote management" (Settings โ†’ Cloud). Restart the application or reinstall it.

Advantages of this method:

  • โœ… You donโ€™t have to physically approach the router.
  • โœ… You can turn off the router even from another network (if cloud management is enabled).
  • โœ… In some firmware there is an option Sleep mode โ€“ the router is turned off at night and turned on in the morning on schedule.

Method 4: Command Prompt (for advanced users)

If you like to dig through settings or the router is stuck in a way that doesn't respond to the web interface, you can turn it off via SSH or Telnet, which is only suitable for advanced users, because it requires remote access and command knowledge.

Instructions:

  1. Turn on SSH on the router (in the web interface: Settings โ†’ Additional โ†’ SSH).
  2. Connect to the router via a terminal (e.g. PuTTY or Terminal on macOS/Linux):
ssh admin@192.168.31.1

The password is the same as for the web interface
  1. Execute the shutdown command:
reboot -p

or for some firmware:



poweroff

Warning! Incorrect commands in SSH can disrupt the router, such as reboot -f will force you to restart, and mtd erase will cause the firmware partition to be erased.

๐Ÿ’ก

Shutting down via SSH is useful if the router is getting stuck but reacts to ping. In this case, the command line often works even when the web interface is not available.

Method 5: Emergency shutdown โ€“ when nothing helps

Sometimes the Xiaomi router freezes so much that it doesn't respond to buttons or commands, in which case it only has to force the power out, but even here there are nuances that will help to avoid damage:

  • โฑ๏ธ Wait 10-15 minutes โ€“ sometimes the router โ€œslows downโ€ after a long downtime.
  • ๐Ÿ”Œ Turn off power from the back, rather than pulling the plug out of the socket (so there is less risk of damage to the connector).
  • ๐Ÿ”„ After turning on, give the router 2-3 minutes for self-diagnosis - do not rush to connect.

When emergency shutdown is justified:

  • ๐Ÿ”ฅ Router warms to temperatures above 60ยฐC (can be checked by hand - if it burns, turn it off immediately!).
  • โšก There is an endless reboot (on/off cycle repeats every 30 seconds).
  • ๐Ÿ›ก๏ธ Suspicion of malware infection (router massively sends packets or blocks traffic).

๐Ÿ’ก

If the router overheats, check before turning on whether the ventilation holes are closed and whether it is in a confined space (for example, in a closet).

โš ๏ธ Attention! If the router fails to turn on or flashes orange after an emergency shutdown, this may indicate firmware damage. TFTP.

What happens if you never turn off the router?

Many users leave Xiaomi routers turned on for years, and in most cases this does not lead to problems.

Problem.Effects of consequencesHow to avoid
OverheatingReduced Wi-Fi speed, spontaneous reboots, shortened chip life.Turn off once every 1-2 weeks for 5-10 minutes for cooling.
Memory fragmentationSlowing down the processing of requests, lags in the web interface.Regularly reboot (not shut down!) through the web panel.
Memory leaks in firmwareThe router โ€œforgetsโ€ settings or loses connection to the provider.Update the firmware and turn off once a month.

On the other hand, frequent shutdowns are also not useful:

  • ๐Ÿ”‹ Wear of capacitors - with each inclusion there is a jump in current.
  • โณ Delays in connection โ€” DHCP-The server takes time to distribute IP-device addresses.
  • ๐Ÿ”„ Failures in IoT devices (smart light bulbs, Xiaomi cameras can disconnect from the network).

Optimal mode: turn off the router for 5-10 minutes every 1-2 weeks or in a long absence from home (for example, on vacation).

FAQ: Frequent questions about turning off Xiaomi routers

Can I turn off the Xiaomi router via the voice assistant (Alice, Google Assistant)?
No, native integration with voice assistants to turn off Xiaomi routers. However, you can use workarounds: IFTTT-script with a voice command trigger (supported firmware required) API). Using a smart socket (e.g. Xiaomi Mi Smart Plug) connected to a router, you can already control it with your voice. Important! With this way of shutting down, the router will not have time to finish the job correctly โ€” this is the equivalent of pulling out the plugยป.
Why does Xiaomiโ€™s router not turn on after shutdown?
There are several reasons: ๐Ÿ”Œ The power supply is out of order - check it with a multimeter (should be) 12V or 9V model-wise). ๐Ÿ”‹ Settled capacitors on the board (blown or leaking - visible when opening the case). ๐Ÿ’ฝ Damaged bootloader - router can flash blue, but not boot (requires firmware through the UART). If the router is not showing signs of life (the indicators are not burning), try: Connect another power supply (with the same characteristics!). Hold the reset button for 15-20 seconds (sometimes this โ€œresuscitatesโ€ the device). Contact the service center - self-repair without experience is fraught with final breakdown.
How to turn off the Xiaomi router if you forgot the password from the web interface?
If you don't remember the password to log in to 192.168.31.1, there are two options: Reset via a button: Press and hold the Reset button (usually in the recess) for 10-15 seconds. The router will reset to factory settings (the password will become standard - see the sticker on the bottom). Minus: all settings (including Wi-Fi) will reset. Recovery via Mi Account (if the router is tied to a Xiaomi account): In the Mi Wi-Fi application, select "Forgot the password?" The system will send the confirmation code to the attached or phone.
Should I turn off the Xiaomi router overnight?
It depends on your goals: โœ… Yes, if: You are paranoid about security and afraid of late-night hacking attacks (although Xiaomi routers with MiWiFi firmware) ROM The router is warm or noisy (relevant for models with active cooling, for example, AX6000). โŒ Not if: You have connected IP-You download torrents or updates at night (traffic savings) Compromise: Use Sleep Mode in router settings (disables Wi-Fi but leaves a wired connection running).
How to turn off the Xiaomi router through USB-port (if any)?
Some models (Mi Router) 4A Gigabit Edition, AX3600) have USB-The port is designed only for: ๐Ÿ–จ๏ธ Connecting a printer or external drive (Samba function). ๐Ÿ”„ Firmware updates from the flash drive. Turn off the router through the flash drive. USB This port doesn't transmit power management commands. USB-Hub with power button to physically turn off router power (but again the equivalent of "pulling out a plugยป).