Where to find Xiaomi Account ID (Mi Account ID) – all methods 2026

Xiaomi Account ID is a unique digital code that is tied to your profile in the brand ecosystem, and it is not only used to log in to Mi Cloud services, but also to unlock the device after a reset, restore access to a smart home or confirm ownership when selling a gadget, the problem is that this ID does not appear in your personal account on the site β€” it has to be β€œpulled” through hidden menus, system files or special commands.

In this article, we will discuss 5 working ways to find Mi Account ID, from simple (via smartphone settings) to complex (using ADB or engineering menus). Separately, we will focus on the nuances for locked devices where standard methods do not work. All instructions are relevant for MIUI 14/15 and devices from 2020-2026 release, including Xiaomi 13/14 series, Redmi Note 12/13 and POCO F5/X5.

1. How to find out Mi Account ID through smartphone settings

The most obvious way is to look at the ID in the account menu, which works if the device is unlocked and you have access to the basic settings, and important: some firmware may have hidden the item, so move on to the next method.

Instructions:

  • πŸ“± Open the Settings app (cog icon).
  • πŸ‘€ Go to the Accounts section β†’ Mi Account.
  • πŸ” Scroll down to the Account Management block – there may be a line ID Account (or Mi Account) ID).
  • πŸ“‹ If you don’t have a line, tap on the profile avatar – sometimes ID map.

On MIUI 15, the path may be different: Settings β†’ Xiaomi Passport β†’ Account Information. If you don’t see the ID, then your firmware version doesn’t show it – use alternative methods.

πŸ’‘

On some devices (e.g. Redmi 10C), the account ID is only displayed after clicking on the "Email" line in your profile. Try tapping the email address 3-4 times in a row.

2. Search ID file-wise mi_account.json

All Xiaomi account data is stored in a system file mi_account.json. It can be opened through any root file manager or standard Explorer application if debugging mode is enabled.

How to find the file:

  1. Open Explorer (or install Root Explorer if you need root access).
  2. Cross the path: /data/system/users/0/accounts.db Or alternatively: /data/data/com.xiaomi.account/package_name/shared_prefs/mi_account.json
  3. Open the file through a text editor (e.g. QuickEdit).
  4. Find the β€œuserId” line: the numbers after it are your Mi Account ID.

If the file is not on the specified path, try searching through the built-in Explorer search on request. mi_account. On some devices, the file may be called account_info.xml.

What to do if the file is not opened?
If you try to open it mi_account.json If you have a No Rights error, you have a developer mode disabled or no root access. USB In Settings β†’ The phone. β†’ Version. MIUI (slip 7 once on the line) and try again.

3.Use ADB to obtain Mi Account ID

If standard methods don’t work, you can extract the ID via Android Debug Bridge (ADB), which requires a computer, but works even on locked devices (if USB debugging is enabled).

Step-by-step:

  • πŸ–₯️ Install. ADB Tools on PC.
  • πŸ“± Connect your smartphone to your computer and allow debugging (pop-up window on your phone).
  • 🐍 Open the command line (Windows) or the terminal (macOS/Linux) file ADB.
  • Enter the command: adb shell dumpsys account | find "MiAccount" For macOS/Linux: adb shell dumpsys account | grep "MiAccount"
  • πŸ”Ž In the conclusion, find the line id= β€” That's your Mi Account. ID.

If the team is not working, try an alternative request:

adb shell content query --uri content://com.xiaomi.account.provider.account/accounts
πŸ“Š Which method did you try first?
Through the smartphone settings
Through file. mi_account.json
With ADB
Another way.

4. Retrieval of ID through the engineering menu (for advanced)

On some Xiaomi devices, you can find your account ID in the Engineering Mode, a method that is risky because wrong actions can cause your system to crash, and only use it if other methods have failed.

Instructions:

  1. Open the Phone app and enter the code: ##4636## or alternatively: ##36446337####
  2. Select Engineer Mode (MTK) or Engineering Menu.
  3. Go to the Account or Mi Cloud section.
  4. Find the User ID or Account ID string, which is the identifier you are looking for.

⚠️ Note: On Qualcomm Snapdragon devices, the engineering menu may not contain account information, and do not change other options in this menu, which may result in a loss of warranty or breakdown.

Make a backup copy of the data

Charge your phone at least 50%

Make sure that USB debugging is enabled

Do not touch other menu items other than Account-->

5. How to find Mi Account ID on a locked device

If the smartphone is locked after being reset (Mi Cloud Lock), the standard methods will not work.

  1. Recovery Mode (if custom recovery is installed as a TWRP): πŸ”„ Enter Restore Mode (Press Power) + Volume Up). πŸ“ Choose Mount β†’ System. πŸ” Through File Manager in TWRP find the file /data/system/accounts.db. πŸ“‹ Copy it to your computer and open it with SQLite Browser β€” ID will be in the account table.

Through the official service of Xiaomi

  • πŸ“§ Write in support of Mi Account with the topic "Restore access".
  • πŸ“„ Attach a purchase check or box with IMEI device.
  • ⏳ Expect a response (usually 3-7 days) – your Mi Account will be sent in the email. ID.

⚠️ Note: Do not use third-party services that promise to "hack" Mi Account ID Xiaomi actively blocks such accounts, and you risk losing access to the device forever.The only legal way is to seek support with proof of purchase.

Comparison of methods: which one to choose?

Not all methods are equally effective. In the table below, you can compare speed, complexity and requirements.

MethodSpeed.DifficultyRequirementsIs it working on a locked device?
Through settings⚑ Instantly.⭐ Very simple.Unlocked phone❌ No.
File. mi_account.json⏳ 2-5 minutes⭐⭐ Middle-AverageConductor with root or debugging❌ No.
ADB⏳ 5-10 minutes⭐⭐⭐ Hardly.Computer, USB-cableβœ… Yes (if debugging is on)
Engineering menu⚑ Instantly.⭐⭐⭐⭐ Very difficult.Knowledge of codes, risk of failure❌ No.
Appeal of support⏳⏳ 3-7 days⭐ Easy.Purchase check or boxβœ… Yes.

If your device is locked after a reset and USB debugging has been enabled before locking, use ADB. Otherwise, the only legal way is to contact Xiaomi with proof of purchase.

Frequent Mistakes and How to Avoid Them

When searching for Mi Account ID, users often encounter typical problems, and here are the most common ones and ways to solve them:

  • πŸ”Œ The device is not determined by ADB: Check if Xiaomi drivers are installed USB Drivers on PC, try another one. USB-cable (preferably original). Enable Debugging on the phone settings USB (security).
  • πŸ“‚ File. mi_account.json Absent: Some firmware may call the file differently (e.g, account_data.xml). Search system folders through Root Explorer with superuser rights.
  • πŸ”’ Engineering menu not open: On new devices (Xiaomi) 13/14, Redmi Note 12) The engineering menu codes can be disabled ##6484## or ##64663##.
  • πŸ“§ Xiaomi support does not respond: Write in English, attach a photo of the box with the help of the phone IMEI If the email is ignored, try using Xiaomi's Twitter or Mi Community forum.

πŸ’‘

If you bought the device with your hands, and the previous owner did not untie the account, you can restore access only through Xiaomi support with proof of ownership transfer (purchase agreement).

FAQ: Answers to Frequent Questions

Can I find my Mi Account ID without my phone?
Yes, but only if you have access to the email associated with the account, go to the Mi Account site, log in and check the Account Management section, but the ID itself may not show up, just the mail and phone number, and you will still need a device or support call to get a digital ID.
What if Mi Account ID starts with zero?
Xiaomi account ID may contain leading zeros (e.g. 00123456789). When copying or typing, you can omit them, the system recognizes the ID without them. However, in official requests (e.g. when requesting support), specify the full number, including zeros.
Does Mi Account ID change after resetting your phone?
No, your account ID is tied to your Mi Cloud profile, not your device, and it stays the same even after you reset, flash it, or change your phone, and you can only change your ID when you create a new account.
Can I use one Mi Account ID on multiple devices?
Yes, one Xiaomi account can be linked to an unlimited number of gadgets (smartphones, smartwatches, routers, etc.) However, to unlock after a reset, you will need proof of ownership of each device separately (through a check or box).
What happens if you enter someone else’s Mi Account ID when you unlock it?
Mi Cloud Lock not only checks the ID, but also the devices associated with it. If you enter someone else's ID, you will not unlock it, you will need confirmation from the real account owner. Repeated failed attempts can lead to temporary locking of the device (24-72 hours).