How to remove the password from the Xiaomi phone, if you forgot: all ways to unlock

Why Xiaomi Phone Is Locked and What to Do

Forgotten password on Xiaomi smartphone is a situation that one in five users face. The reasons are trivial: rare use of a pattern lock, change of the pattern lock PIN-But if on iPhone unlocking often requires contacting the service center, then owners of Xiaomi smartphones have several working ways to return access to the device.

It is important to understand that unlocking methods depend on the version of MIUI, the phone model (for example, Redmi Note 10 Pro or POCO X3), and whether the Mi Account is linked to the device. Some methods lead to complete data loss, others save files, we will warn you about this in advance. If you are looking for a way to bypass the lock without reset, immediately go to the section about unlocking through Mi Account.

In this article, only current 2026 methods tested on the latest versions of MIUI 14/15, we eliminated outdated tips (for example, through ADB on a locked screen – this no longer works) and added new features, like unlocking through Fastboot mode with data storage.

Method 1: Unlocking with Mi Account (without data loss)

The safest method, if you remember the username and password from Mi Account, works on all Xiaomi, Redmi and POCO models, but requires an Internet connection.

  1. On the lock screen, click Forgot Password? (or Forgot Password? on English firmware).
  2. Select Log in Mi Account and enter the linked email/phone + password.
  3. Confirm the unlock via SMS or email code.

βœ… Pros: the data on the phone will be saved, you do not need to connect the PC.

❌ Cons: if the account is not tied or forgotten password from it – the method will not work.

πŸ’‘

If you don’t remember the password from Mi Account, try to restore it through account.xiaomi.com. Use a backup email or a linked phone number.

⚠️ Warning: After 5 failed attempts to enter the password from Mi Account, the phone will be locked for 24 hours!

Method 2: Hard Reset via Recovery (full reset)

If the Mi Account is not tied or you don’t remember the data from it, you will have a hard reset via the Recovery menu, which will remove all data from your phone, including photos, contacts and apps, suitable for Xiaomi 11T, Redmi Note 12, POCO F4 and others.

Instructions:

  1. Turn off the phone by pressing the power button.
  2. Press Volume Up + Power and hold for 10-15 seconds until the Mi logo appears.
  3. From the Recovery menu, select Wipe Data β†’ Wipe All Data (use volume buttons for navigation, power for selection).
  4. Confirm the reset and wait for the reset.

πŸ”Ή Important: On some models (e.g. Xiaomi 13 Pro), the Recovery menu may be in Chinese).

Turn off the phone from charging.

Make sure the battery is at least 30% charged.

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

Remember the data from Mi Account (you will need it after the reset)

-->

Xiaomi modelCombination of buttons for RecoveryLanguage
Redmi Note 10/11Volume up + NutritionEnglish/Chinese
POCO X3/X4Volume up + NutritionEnglish
Xiaomi 12/13 SeriesVolume up + NutritionChinese (translation needed)
Xiaomi Mi A2/A3Loudness down + NutritionEnglish

⚠️ Note: Phones with a bootloader locked after Hard Reset may need to log in through an old Mi Account. If you don't remember the data, the phone will turn into a brick".

Method 3: Unlocking via Fastboot (for advanced)

The method is for users willing to work with ADB and Fastboot. Allows you to reset the password without losing data, but requires an unlocked bootloader and PC. Suitable for Xiaomi models on Qualcomm processors (for example, Redmi K50, POCO F5).

Step-by-step:

  1. Install Android SDK Platform-Tools on your PC.
  2. Turn off the phone and turn to Fastboot mode: Press Volume down + Power.
  3. Connect your phone to your PC and check the connection with the command: fastboot devices should show a serial number of the device.
  4. Enter the command to delete the password: fastboot erase userdata OR (for new models): fastboot erase locksettings
  5. Reboot the phone: fastboot reboot

⚠️ Risks: Wrong commands can lead to loss IMEI If you're not sure, use other methods.

What if the Fastboot can’t see the device?
Make sure you have Qualcomm or MediaTek drivers installed for your model. USB-Cable (original from Xiaomi) Disable the antivirus, it can block ADB. Reinstall Platform-Tools to the root of the disk C:\ (pathless).

Method 4: Use of service codes (for older models)

Xiaomi phones before 2019 (e.g. Redmi 4X, Mi 5) sometimes used password reset service codes, which rarely works today, but you can try:

  • πŸ“ž Dial on the dial keyboard: ##7780## is a soft reset (saves media files).
  • πŸ“ž For a complete reset: *2767*3855# (remove everything, including the firmware!).
  • πŸ“ž Alternative code: ##3646633## β†’ Go to Engineer Mode and look for the Reset Password option.

❌ Restrictions: On MIUI 12 and later, these codes are locked. POCO Redmi with MediaTek processors (e.g. Redmi) 9A).

Redmi (Note/series)

POCO (F/X/M)

Xiaomi (Flagship Series 11/12/13)

Another model

I don't know.-->

Method 5: Contact Xiaomi Service Center

If nothing has worked, the official service remains. Xiaomi provides a service of unlocking on the passport of the owner (for Russia, Ukraine, Kazakhstan and other CIS countries), the cost is from 500 to 2000 rubles, depending on the model.

What will be required:

  • πŸ“„ Passport (to confirm possession).
  • πŸ“± Checks or boxes from the phone (preferably).
  • πŸ”‘ Data from Mi Account if the phone is tied.

⏳ Timeline: 1 to 3 days. Some services offer express unlock in 1 hour (cost higher).

⚠️ Warning: Don't go to informal workshops that promise to unlock in 10 minutes. Often, these "masters" use illegal firmware that may contain viruses or spyware.

πŸ’‘

The official service is the only legal way to unlock if the Mi Account password is forgotten and Hard Reset does not work.

Frequent Mistakes and How to Avoid Them

Users often make critical unlocking errors that turn the phone into a brick.

  • πŸ”Œ Interrupting the reset process (e.g., pulling out the battery during Wipe Data) This causes partition damage /data, And the phone stops turning on.
  • πŸ”„ Using unofficial firmware from questionable sites, such firmware may contain backdoors or be incompatible with your model.
  • πŸ”‘ Attempting to unlock through β€œmiracle programs” (like the Miracle Box or UFi Box) requires deep knowledge and often breaks. IMEI.

πŸ’‘ Tip: Before any manipulation, check the battery power - it should be at least 50%. If the phone runs out during reset, the chances of recovery drop sharply.

Can I unlock Xiaomi without losing data?
Yes, but only if: Mi Account is attached and you remember the password (method 1), you have unlocked the bootloader and you have access to Fastboot (method 3), in all other cases, the data will be erased.
What to do if you ask for an old Mi Account after a reset?
This is FRP-lock. Options: Enter your old account (if you remember), contact the service center with your passport. If you bought your phone with your hands, try contacting the previous owner. ❌ Bypass FRP Through "holes" in firmware often leads to a lock IMEI.
Does the unlocking work via SMS or call?
No. In the past, you could trick Android 5-6 into calling an emergency, but on MIUI 10 and later, those loopholes are closed. Don't waste your time looking for "secret codes" -- they don't work.
How to avoid blocking in the future?
Follow the simple rules: Link Mi Account and enable two-factor authentication. Use fingerprint or facial recognition as a backup to unlock. Backup regularly through Settings β†’ System system β†’ Backup. Make a note. PIN-code to a secure location (e.g., Google Keep with encryption).