How to unlock Xiaomi phone if you forget your password: the full guide

A forgotten password on a Xiaomi smartphone is a situation that one in five users encounter at least once in their lives. According to statistics from service centers, 38% of requests for blocking devices are due to loss of access due to a forgotten access. PIN-Fortunately, the manufacturer has provided several official ways to restore access, and for advanced users there are alternative methods.

In this article, we will look at all the current ways to unlock Xiaomi, Redmi and POCO phones (including the models from 2023-2026), assess their effectiveness and risks to data. Importantly, some methods require preliminary preparation (for example, linking a Mi Account), so if you read this in advance, save the article in case of emergency.

1 Unlocking through Mi Account (official method)

The most reliable and recommended way Xiaomi is to use a tied account Mi Account. It works on all devices with MIUI 12 and later, including the latest models Xiaomi 14, Redmi Note 13 Pro+ and POCO F6.

If you have previously logged in to your Mi Account on a locked device, follow the instructions:

  • πŸ”„ On the lock screen, tap "Forgot password?" (or Forgot password on English firmware).
  • πŸ“§ Select the recovery method: by email or phone number associated with the account.
  • πŸ”‘ Enter the received 6-digit confirmation code.
  • πŸ“± Create a new password or pattern lock.

⚠️ Note: If the device has Find Device enabled, after 5 failed attempts to enter a password, the phone may lock for 24 hours.

Is email/phone linked to Mi Account| Is there access to mail/SMS? | Is the phone connected to the Internet? | Is the phone charged (>20%)

-->

2. reset via Fastboot (for advanced users)

If the Mi Account is not tied or you don’t remember the login details, you can use Fastboot mode. This method is suitable for most Xiaomi models, but requires an unlocked bootloader. On new devices (released after 2021), the bootloader is blocked by default, and it takes up to 72 hours to unlock.

Instructions for devices with unlocked loader:

  1. Turn off the phone.
  2. Press the Power button + Volume down before the Fastboot logo appears.
  3. Connect your phone to your PC via USB.
  4. Download and install Mi Unlock Tool (the official utility from Xiaomi).
  5. Enter the command in the terminal: fastboot oem unlock or for a full reset: fastboot erase userdata

⚠️ Note: Fastboot erase userdata and fastboot commands -w It will completely delete all data from the device, including photos, contacts and apps, and if the phone has backups of Mi Cloud enabled, they can be restored after unlocking.

What to do if the loader is blocked?
If you enter the fastboot oem unlock command and you see an error "Device is locked", then the bootloader is locked. In this case: 1. Go to the Mi Unlock site and log in. 2. Link the device to the account (on a locked phone this cannot be done - you will need another device). 3. Wait 72 hours (wait time may vary). 4. Repeat the attempt to unlock using the Mi Unlock Tool.

3.Use of Recovery Mode (without loss of data)

Recovery mode allows you to reset your password without completely clearing the data, but it only works on older versions of MIUI (up to MIUI 12.5). On newer firmware (MIUI 13/14), this method will lead to a factory reset. Check the MIUI version in settings (if the phone is unlocked) or on the device model.

Step-by-step:

  • πŸ”‹ Turn off the phone and press the power button. + Volume up before the Recovery menu appears.
  • 🌐 Choose a language (usually English or Chinese).
  • πŸ”§ Go to Wipe Data β†’ Wipe All Data (newer versions) or Mounts and Storage β†’ Format /data (old).
  • πŸ”„ Confirm the action and restart the device.

πŸ“Œ Important: On devices with data encryption (on by default on the MIUI 12+) Resetting through Recovery will result in the loss of all files. Before the procedure, remove the memory card if it is used.

Redmi Note Series Series Series|POCO F/X series|Xiaomi 11/12/13/14|Other (specify in the comments)-->

4. Unlock via ADB (only for enabled debugging)

The method is suitable if the phone was previously enabled debugging USB (USB Debugging. It's rare, but if you're a developer or an advanced user, chances are, it works on all models, including the Xiaomi Pad 6 and Redmi. K70.

Instructions:

  1. Connect your phone to your PC via USB.
  2. Open the command line (Windows) or the terminal (Mac/Linux).
  3. Enter the commands in order: adb shell su rm /data/system/gesture.key rm /data/system/password.key reboot

⚠️ Warning: If the phone requests the password again after the reboot, it doesn't work because of the hardware encryption, and then only a full reset via Fastboot or Recovery will help.

πŸ’‘

If you often forget passwords, set up Smart Lock in security settings.This feature will automatically unlock your phone in trusted places (such as at home) or when connecting to trusted devices (smart watches, Bluetooth headphones).

5. Contact the Xiaomi Service Center

If none of the methods worked, you can contact the official service center: Xiaomi has centers in most major cities, and for residents of the regions there is a support service on 8 800 775-64-20 (the call is free).

What will be required to unlock:

Document/dataNecessityNotes
Check or guarantee cardI'll be sure.Confirms the legality of ownership
Passport of the ownerI'll be sure.To confirm identity
IMEI devicesPreferably.You can find out through a box or sticker under the battery.
Mi Account dataIf you're tied upAccelerates the unlocking process

πŸ’° The cost of the service varies from 1,000 to 3,000 rubles depending on the model and region. In some cases (for example, if you are a thief), you may need to contact the police to confirm ownership.

πŸ’‘

The official service is the only way to unlock a phone without losing data unless other methods have worked, but it is the longest and most expensive option.

6. Alternative methods (at your own risk)

On the Internet you can find dozens of β€œmagic” ways to unlock, from using Test Point to firmware through the Internet. EDL-We don't recommend them for a number of reasons:

  • ⚠️ Risk of bricking – the phone can turn into a brick (it won’t turn on at all).
  • πŸ›‘οΈ Violation of warranty - unofficial firmware deprived of the right to free repairs.
  • πŸ”’ Data Leakage – Some β€œtools” contain malicious code.

If you are still trying to experiment, use only proven tools:

  • πŸ”§ Mi Flash Tool (official firmware utility).
  • πŸ“± OrangeFox Recovery (Castom Recovery with Support) MIUI).
  • πŸ”‘ XiaomiTool V2 (for advanced users).

πŸ“’ Warning: Methods using EDL (Emergency Download Mode requires an authorized Xiaomi developer account, without which the firmware will be blocked during the verification phase.

FAQ: Frequent questions about unlocking Xiaomi

Can I unlock Xiaomi without losing data?
Yes, but only if: Linked and available Mi Account. Debugging enabled on the device USB (USB Debugging. You have a backup in Mi Cloud (the data will be recovered after the reset.
How much does it cost to unlock in the service center?
Cost depends on the model and region: Redmi Note 12/13, POCO X5: 1 000–1 500 β‚½. Xiaomi 13/14, Mix Fold 3: 2 000–3 000 β‚½. Devices older 3 years: 500–1 000 β‚½. There are some promotions in some centers - check by phone.
What to do if you forget your Mi Account password?
Restore access via: Forgot your password? link at account.xiaomi.com. Linked email or phone number (get an SMS/code letter). Backup email (if specified during registration). If nothing helps, contact Xiaomi with proof of identity (passport scan).
Does Google Find My Device Unblock Work?
No. Google's Find My Device service allows you to: Locate your phone; remotely lock it (if already unlocked); erase data (full reset); it's not suitable for unlocking the screen.
Can you unlock Xiaomi through your computer without special programs?
Yes, but only if: The phone is debugging on USB (USB Debugging. You have access to it. ADB (Android Debug Bridge without these conditions will require special utilities (Mi Unlock Tool, Fastboot).