How to unlock a Xiaomi phone if you forget your password: all working methods (2026)

Why Xiaomi is blocked and what to do

Forgotten password on Xiaomi smartphone is a situation that faces one in five users, according to statistics of service centers, 30% of requests for blocking are associated with loss of access due to loss of access. PIN-It's a code, a pattern lock, or a fingerprint, unlike an iPhone, where unlocking is tied to Apple. ID, Xiaomi has several alternative ways – from recovery via Mi Account to hardware reset via Fastboot.

The main problem: the manufacturer is actively fighting device theft, so after 5 failed attempts to enter a password, the phone can automatically erase all data (if the Device Protection function is enabled). This means that you have little time to think about it – you need to act quickly and correctly. In this article, we will analyze all the current ways of unlocking, including those that work even without a tied Mi Account.

Importantly, the methods are different for devices with Qualcomm processors (most Redmi and POCO models) and Mediatek (for example, Redmi 9A or POCO C31). If you do not know which chipset in your phone, check the model on the GSMArena website.

Method 1: Unblocking with Mi Account (if an account is linked)

The simplest and most official method is to use a Mi Account if you previously linked it to it, which works on all Xiaomi, Redmi and POCO devices released after 2018, the main condition is that the phone must be connected to the Internet (via Wi-Fi or mobile network).

Algorithm of action:

  • πŸ”‘ On the lock screen, click "Forgot Password?" (or "Forgot Password?").
  • πŸ“§ Enter the email or phone number associated with the Mi Account.
  • πŸ”— Confirm the entrance through SMS-account code.
  • πŸ”“ Create a new unlock password.

If you don't have a password, try entering any password 5 times in a row, and then the system will offer an account recovery option, except that some models with MIUI 14 and later may require additional confirmation via SMS or Google.

πŸ“Š You link Mi Account to Xiaomi phone?
Yeah, always.
Only on new devices.
No, I don't see the point.
Forgot if the account is tied

⚠️ Note: If you bought the phone with your hands and the previous owner did not untie his Mi Account, unlocking through the account will not be possible, in this case you will need to contact the service center with proof of purchase (check, contract).

Method 2: Recovery Mode (Data Loss)

If the Mi Account is not tied or you don't remember the login details, the radical method is hard reset, which will delete all data from the phone, including photos, contacts and apps, but return access to the device, which works on 99% of Xiaomi models, except for those that are protected by FRP (Factory Reset Protection).

Instructions for discharge:

  1. Turn off the phone with a long press of the power button.
  2. Press the combination of Loudness up + Power and hold for 10-15 seconds until the Mi logo appears.
  3. In the Recovery menu, select Wipe Data (use volume buttons for navigation, power for confirmation).
  4. Confirm the reset by choosing Wipe All Data.
  5. After completion, select Reboot.

On some models (such as the Redmi Note 10 Pro or POCO X3 Pro), the Recovery menu may be in Chinese, in which case, look for items with characters (clear data) and (reboot).

Turn off the phone from charging

Check the battery power (minimum 30%)

Prepare a backup copy (if you have access to the PC)

Make sure that SIM-card extracted (for models with two slots)-->

Xiaomi modelCombination for RecoveryFeatures
Redmi Note 8/9/10Volume up + NutritionMenu in English
POCO F3/X3Loudness down + NutritionRequires confirmation via Mi Account after reset
Mi 11/12/13Volume up + Volume down + NutritionSensory-controlled menu
Redmi 9A/9C (Mediatek)Volume up + Nutrition (15 seconds)Maybe you should. SP Flash Tool to unlock

Method 3: Unlocking via Fastboot (for advanced users)

If Recovery Mode is unavailable or the phone requests a password even after reset, Fastboot Mode will help.This method requires a computer with drivers installed. ADB It is also a Fastboot and an unlocked bootloader, suitable for Qualcomm Snapdragon models (e.g., a bootloader, POCO F4, Redmi K50).

Step-by-step:

  1. Install Android SDK Platform Tools on your PC.
  2. Turn off the phone and press Volume Down + Power to log into the Fastboot.
  3. Connect your phone to your PC via USB.
  4. Open the command line in the ADB folder and type: fastboot devices If the device is determined, continue. If not, install the drivers.
  5. Enter the command to reset: fastboot erase userdata fastboot erase frp fastboot reboot

For devices with a locked bootloader, you will first need to unlock it through the official Xiaomi website (the process takes up to 72 hours). On models with Mediatek (for example, Redmi 10A), instead of Fastboot, SP Flash Tool is a separate theme that requires proprietary firmware.

πŸ’‘

If the fastboot erase frp command didn’t work, try fastboot erase config – this helps on some versions of MIUI 13+.

Method 4: Use the "Find Device" function (remote unlock)

A little-known but effective method is remote unlocking via Xiaomi's Find Device service, which works if you're on your phone:

  • πŸ“Ά Mobile Internet or Wi-Fi enabled.
  • πŸ”„ The β€œFind Device” function in Mi Account settings is active.
  • πŸ”’ Your phone is linked to your account.

Instructions:

  1. Go to i.mi.com and log in.
  2. Select a locked phone from the list of devices.
  3. Click "Unlock Device" (or "Unlock Device").
  4. Confirm the action via SMS or email.

The disadvantages of the method: it does not work on all firmware (on the MIUI 14 may not be available, and it also requires that the phone be online. If the device is turned off or in airplane mode, the method is useless.

What if the Device can’t see the phone?
If the device is not listed on i.mi.com, check: 1. Is the phone connected to the Internet (even in the background). 2. Is the Find Device feature disabled in Mi Account settings β†’ Find the device. 3. Are network settings reset after unsuccessful unlock attempts. If nothing helps, try the Fastboot method or contact the service.

Method 5: Contacting the service center (guarantee cases)

If all of these methods did not work, you can contact the official Xiaomi service center.

  • πŸ” Phone bought from hands and tied to someone else's Mi Account.
  • πŸ› οΈ The connector is damaged. USB buttons (you can not log in to Recovery).
  • πŸ“± The device is in a Hard Brick state (not turned on at all).

What will be required to unlock:

  • πŸ“„ Check or contract of sale (to prove ownership).
  • πŸ†” Passport of the owner.
  • πŸ“± The device itself (even if it is not switched on).

The cost of the service varies from 1,000 to 3,000 rubles, depending on the model and the reason for the lock. In warranty cases (if the phone is blocked on its own), unlocking can be free. Importantly, informal services often offer a Mi Account bypass for 500-800 rubles, but this violates Xiaomi's policy and can lead to repeated blocking.

⚠️ Note: Xiaomi Service Centers in Russia with 2022 You are working through partners for a year (for example, "Speak Service"). mi.com/ru/service β€” Many of the β€œshops” don’t actually have a license.

Frequent Mistakes and How to Avoid Them

When trying to unlock Xiaomi, users often make critical errors that can lead to a brick (completely inoperable) device.

  1. Using unofficial firmware: Installing custom ROMs (like LineageOS) on a locked phone without unlocking the bootloader leads to an Anti-Rollback error.
  2. Interrupting the reset process: If you take out the battery or turn off power during Wipe Data, the phone may stop turning on.
  3. Fastboot Incorrect Commands: For example, the fastboot erase system erases the firmware rather than the user’s data instead of the fastboot erase userdata.
  4. Ignoring MIUI: On MIUI 12 and later, some ADB teams work differently than on older versions.

How to minimize the risks:

  • πŸ”‹ Always check the battery power before manipulation (minimum 50%).
  • πŸ”Œ Use the original. USB-cable (cheap cables can interrupt the connection).
  • πŸ“₯ Download the firmware only from official sources (miuidownload).

πŸ’‘

If the phone requests the old password after reset, then the FRP section has not been erased. Repeat the command fastboot erase frp or use the Mi Flash Tool for complete flashing.

FAQ: Answers to Frequent Questions

Can I unlock Xiaomi without losing data?
Theoretically, yes, but only if: You have a Mi Account tied and your phone is connected to the Internet. You previously enabled USB debugging (ADB) and you have access to a PC. In all other cases, the data will be erased. If your phone had important files, after unlocking, try to restore them through programs like DiskDigger or Recuva (success depends on whether the data was overwritten).
What if after resetting the phone asks to enter the old password?
This means that the FRP (Factory Reset Protection) section is not erased. Solutions: Repeat the reset via Fastboot with the fastboot erase frp command. Use the Mi Flash Tool for full flashing (requires an unlocked bootloader). Contact the service - they can reset FRP through special hardware. On some models (for example, Redmi Note 11) it helps to enter any password 5 times in a row - then the "Forgot password" button appears.
Does Google Account Unblocking Work on Xiaomi?
No. Unlike pure Android phones (like Samsung or Nokia), Xiaomi does not support unlocking through Google Account. The only official way is Mi Account. Exception: if you previously added Google Account in the security settings, some firmware may trigger a reset via ADB with a command: adb shell am start -n com.google.android.gsf.login/ But this only works on older versions of MIUI (up to the 10th).
How to unlock Xiaomi if the screen is broken and you can not see what to enter?
There are two options: Connect to the PC through ADB: Put the debugging on. USB (Connect the phone to your computer and type in the command: adb shell input text 1234 & & & adb shell input keyevent 66 (where 1234 is your password, 66 is the Enter button). OTG-cables and mice: Connect USB-mouse-wise OTG-Adapter. Enter your password with the cursor (if the screen displays a little bit of the picture). If the screen is completely black, but the phone turns on, try resetting it via Fastboot (see Method 3).
Can you unlock Xiaomi with ## code?
No, there are no universal engineering codes to unlock Xiaomi. Codes like ##7780## or *2767*3855# that work on Samsung are useless on Xiaomi. Moreover, entering them can lead to a network reset or other undesirable consequences. The only working code is ##4636## for entering the test menu, but it will not help with unlocking.