How to Unlock Your Password on Xiaomi: All Ways to Unlock Your Phone

Forgot your Xiaomi password or want to remove it so you don't enter the code every time? Redmi, POCO and Mi offer a number of ways to disable locks, from standard settings to radical measures like reset to factory settings. In this article, we'll look at all the current 2026 methods, including bypassing through Mi Account, using ADB and even unlocking without losing data.

It's important to understand that some methods require pre-preparedness (e.g., USB debugging enabled or a tied Mi Account). If you don't set them up in advance, only the options with a full reset will remain, and we will describe in detail each scenario, from the simplest to the most complex, so that you can choose the right one.

If the phone contains important information, try the non-reset methods first (sections 2–3) and then move on to radical measures (sections 4–5).

1. disable password through settings (if you know the current code)

The most obvious and safe way to do this is to remove the password directly from the settings menu, which works if:

  • πŸ”“ You remember the current password, PIN graphical.
  • πŸ“± The device is not locked after several failed attempts.
  • πŸ”§ No hardware restrictions (e.g. corporate policy on the work phone).

Instructions for MIUI 14/15 (relevant to Xiaomi 13/14, Redmi Note 12/13, POCO F5/X5):

  1. Open the Settings app (cog icon).
  2. Go to Passwords and Security β†’ Screen Lock.
  3. Enter the current password/PIN/pattern lock for confirmation.
  4. Select No (or Delete Password in older versions of MIUI).
  5. Confirm the action (it may be necessary to enter the password again).

On some models (such as Xiaomi 12T or Redmi K50), the path may be slightly different:

Settings β†’ System and device β†’ Additional β†’ Lock and protect β†’ Screen lock

πŸ’‘

If the "Delete Password" option is inactive, check if the Smart Lock feature (smart location or device unlocking) is enabled.

2 Unblocking through Mi Account (if an account is linked)

If you forgot your password but previously linked your device to your Mi Account, you can use Find Device, which works even when your screen is locked, but requires:

  • 🌐 Internet access on your phone (via Wi-Fi or mobile network).
  • πŸ“§ Access to email or phone number linked to Mi Account.
  • πŸ”— The device must be on and not discharged.

Step-by-step:

  1. On your computer or other phone, go to account.xiaomi.com.
  2. Sign in with the same account as on the locked device.
  3. Select the Find Device tab (or Find Device in English).
  4. The map will show your Xiaomi. Click on it and select Unblock.
  5. Confirm the action via SMS or email.

After that, the phone will unlock and you can go to the settings to remove the password (see section 1).

  • 🚫 The device is not tied to your account (check if you are using the same Mi Account).
  • πŸ”„ Less than 24 hours have passed since the last time this method was unlocked.
  • πŸ“΅ The phone is not connected to the Internet.
πŸ“Š What kind of smartphone you Xiaomi?
Redmi Note (any)
POCO (F/X/M series)
Mi (11/12/13/14)
Redmi (without Note)
Other

3. Password reset via Fastboot (for advanced users)

If the standard methods do not work, and debugging USB It was enabled before locking, and you can try resetting your password through Fastboot, USB-cable and basic knowledge of working with ADB/Fastboot.

Important: the method does not work on all models (for example, on Xiaomi 13 Pro with MIUI 14+ you may need to unlock the bootloader).

Install ADB and Fastboot on PC| Download firmware for your model | Connect your phone to your PC in Fastboot mode (clamp Power + Vol-)| Disable Windows signature drivers (if the OS swears) | Have a backup of data

-->

Instructions for MIUI 13/14/15:

  1. Download and install Platform Tools (includes fastboot and adb).
  2. Turn off the phone. Press Power + Volume down to enter the Fastboot.
  3. Connect the device to your PC and check the connection with the command: fastboot devices If the phone appears in the list, the connection is established.
  4. Enter a password reset command (not working on all models!): fastboot erase userdata fastboot erase locksettings
  5. Reboot the device: fastboot reboot

If you still request a password after rebooting, try an alternative method through ADB (if debugging was enabled):

adb shell


rm /data/system/locksettings.db




rm /data/system/locksettings.db-wal




rm /data/system/locksettings.db-shm




reboot

What if the Fastboot doesn’t recognize the device?
If the fastboot device command doesn’t show your phone, install the drivers for Xiaomi manually: 1. Download the Mi Flash Tool (enables drivers). 2. In Windows Device Manager, update the driver for the unidentified device by specifying the driver folder from Mi Flash. 3. Reconnect the phone.

4. Full reset to factory settings (Hard Reset)

If other methods fail, the radical option is factory reset, which will delete all data (photos, contacts, messages, apps) but unlock the phone, and works on any Xiaomi model, including the Redmi 10/11, POCO X4, Mi 11 Lite.

There are two ways to do a hard reset:

  • πŸ”„ Recovery Mode (Recovery Menu).
  • πŸ–₯️ Through the Mi Flash Tool (requires PC and firmware).

Method 1: Recovery Mode

  1. Turn off the phone.
  2. Press Power + Volume Up for 10-15 seconds until the Mi logo appears.
  3. In the Recovery menu, select the language (volume buttons) and confirm Power.
  4. Go to Wipe Data β†’ Wipe All Data.
  5. Confirm the reset (a password from Mi Account may be required if the device is tied!).
  6. After completion, select Reboot.

Method 2: Mi Flash Tool (if Recovery is blocked)

  1. Download the Mi Flash Tool and firmware for your model (e.g. fastboot-rom for Redmi Note 12).
  2. Unpack the firmware in a folder without Cyrillic symbols.
  3. Log in to Fastboot (see Section 3).
  4. In the Mi Flash Tool, specify the path to the firmware folder and press Refresh (the device should be displayed).
  5. Select Clean All and press Flash.

πŸ’‘

After Hard Reset, the phone will require data input from Mi Account, if previously tied! without them, you will not be able to activate the device (protection against theft).

Password circumvention without loss of data (alternative methods)

If you don't want to lose data, but the standard methods don't work, you can try informal solutions, which are suitable for older models (Redmi 4/5, Mi A1/A2) or devices with an unlocked bootloader.

Note: These methods may violate Xiaomi’s security policies and result in account or device locking.

Ways of circumvention:

  • πŸ”§ Use of the TWRP: If you have custom recaps installed, you can delete files with a password (/data/system/locksettings.db).
  • πŸ“± Exploitation for MIUI: Some vulnerabilities allow you to reset your password through ADB (for example MIUI 12 There was a bug with settings put).
  • πŸ”— Unlock Services: Paid services (e.g. DC-Unlocker) that remotely reset passwords IMEI.

Example of a command for MIUI 12 (worked on some devices):

adb shell settings put secure lock_screen_password_enabled 0


adb shell settings put secure lock_screen_lock_after_timeout 0

How to check if the bootloader is unlocked?
Turn your phone on in Fastboot and type in the command: fastboot oem device-info If the answer has the line Device unlocked: true, the bootloader is unlocked.

6. Frequent mistakes and how to avoid them

When trying to remove a password, users often face typical problems, and here are the most common ways to solve them:

Mistake.Reason.Decision
Mi Account Locked After ResettingPhone linked to Mi Account, but data is incorrectRestoring your account through Xiaomi’s website or contacting for support
Fastboot not recognizedNo drivers or ADBs installedInstall Android SDK or Mi Flash Tool
The phone will not turn on after resettingInterrupted firmware or incorrect version of MIUIRepeat the firmware via Fastboot with the correct version of the software
This device is locked in Fastbootbootloader lockedUnlock through the official Xiaomi tool (requires a wait of 7-30 days)

Another common problem is that the phone asks for the old password after reset, which happens if:

  • πŸ”„ You only reset your lock screen settings, not your account details.
  • πŸ“± The device was encrypted (then you need to enter an old password to decrypt it).

In such cases, only a full reset via Fastboot (see section 4) or a call to a service center will help.

7. How to protect your phone after removing your password

If you have removed your password for convenience but want to keep at least minimal protection, consider alternative options:

  • πŸ‘† Unlocking by fingerprint (configured in passwords and security) β†’ Fingerprint).
  • πŸ‘€ Facial recognition (less safe but convenient).
  • πŸ”— Smart Lock – Automatically unlock in trusted locations (home, work) or when connected to a trusted device (e.g. Mi Band).
  • πŸ” Encryption of the device (included in Settings) β†’ Additionally. β†’ Encryption and credentials).

If you still decide to leave your phone without a password, consider the risks:

⚠️ Warning: Without locking the screen, anyone with physical access to the device will be able to: Read your messages and emails; delete or copy files; reset settings and link the phone to their Mi Account. Use mobile bank or payment apps (unless they are separately protected).

The minimum recommendation is to set a pattern lock or short PIN (4-6 digits), which is easy to enter but difficult to pick up.

FAQ: Answers to Frequent Questions

Can I delete my Xiaomi password without losing data?
Yes, but only if: You know the current password (see section 1). You have USB debugging enabled and have access to ADB (see section 3). The phone is linked to Mi Account and you can unlock it through the site (see section 2).
Why does the phone ask for a password from Mi Account after resetting via Recovery?
This is Mi Cloud Lock. If the device was linked to a Mi Account, you'll need to reset that account, and without it, the phone will become a brick. Solutions: Restore your account through Xiaomi. If you don't have your account (the phone is hand-held), contact the previous owner. You can only officially unlink it through Xiaomi's confirmation support.
Does the ADB work on newer models (Xiaomi 13/14, Redmi Note 12)?
On devices with MIUI 14/15 and a new loader (Xiaomi) 13/14, Redmi Note 12) methodologies ADB And Fastboot is often blocked: πŸ”’ The bootloader is locked by default (official unlocking is required via Mi Unlock Tool). πŸ›‘οΈ In the new versions MIUI Removed vulnerabilities that allowed you to reset passwords through settings put. πŸ“± On some models (e.g. Xiaomi) 13 Ultra) even a Fastboot reset requires authorization to the Mi Account. For new devices, most often only a Recovery reset (with loss of data) or a call to the service remains.
What to do if you forget your password and your Mi Account is not tied?
If the phone is not tied to your Mi Account and the password is forgotten, there are few options: Reset settings via Recovery Mode (see section 4) - all data will be deleted. USB, Try the method with ADB (Contact the Xiaomi service center with a confirmation of purchase (check or box). ADB Mi Account.
Can I unlock Xiaomi via Google Account (like on older Android)?
No. Starting with MIUI 9 (and especially MIUI 12/13/14), the Google Account unlock function was disabled. Previously, after 5 failed password attempts, the option "Forgot your password?" appeared, where you could enter data from Google. This method does not work now. Alternatives: Unlock via Mi Account (see section 2). Recovery via Recovery or Fastboot.