How to disable your password on Xiaomi: 5 proven ways (2026)

Forgot the pattern lock on Xiaomi Redmi Note 12 or tired of entering PIN-code every time you unlock it POCO X5 Pro? Disabling the password on devices with MIUI β€” This is a procedure with nuances that depend on the firmware version, the smartphone model, and even the type of security installed. In this article, we will analyze all the current methods: from standard deletion through settings to bypassing the lock when you lose data to log in.

It is important to understand that the manufacturer deliberately complicates the process of disabling the password without verifying identity, this is due to the protection of user data - according to Xiaomi's policy, resetting the lock without verification can lead to loss of access to associated accounts (for example, Mi Account or Google), so some methods will require additional actions, such as confirmation by SMS or via a computer.

If you're looking for a way to get around a stolen phone, we're going to warn you that this is a violation of the law, and this is a guide for device owners who have lost access to their own device.

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

The easiest and safest way is to delete the password directly from the settings menu, which is suitable if you remember the current PIN, pattern lock or password. The instructions are universal for all Xiaomi, Redmi and POCO models on MIUI 12-14:

  1. Unlock your phone in the standard way (enter a PIN, draw a pattern lock, or use a fingerprint).
  2. Go to Settings. β†’ Passwords and security.
  3. Select the option Lock the screen.
  4. Enter the current password for confirmation.
  5. Click No (or Delete Password in older versions of MIUI).
  6. Confirm the action by pressing Ready.

After that, the screen lock will be completely disabled, and note that if the phone has the Smart Lock feature on, you will also have to turn it off separately in the same menu.

β˜‘οΈ Preparation for password deactivation

Done: 0 / 4

⚠️ Note: On some models (e.g. Xiaomi 13 Ultra) after disabling the password, the system may require re-entering Mi Account data to verify identity. If you do not remember the associated email or phone number, this method will not work.

2. Delete password through Mi Account (if you forgot the code)

If you don't remember the unlock password, but your phone is tied to your Mi Account, you can reset the lock through Xiaomi's website, which only works if you meet three conditions:

  • πŸ“± The phone is connected to the Internet (Wi-Fi or mobile network).
  • πŸ”„ The device is synchronized with Mi Account.
  • πŸ“§ You have access to an email or phone number linked to your account.

Step-by-step:

  1. On your computer or other phone, go to account.xiaomi.com and log in.
  2. From the account menu, select Device Management (or Find Device in English).
  3. Find a locked smartphone in the list and click Unlock the device.
  4. Confirm the action via SMS or email (the code will come to the linked number / mail).
  5. Wait for notification of a successful reset (can take up to 5 minutes).

After that, the phone will automatically unlock, but all the data on it will be erased (except the files on the memory card), which actually resets to factory settings, so take care of backing up important data in advance.

What to do if your Mi Account is not tied?
If a Xiaomi account is not created or the phone is not synced with it, you cannot restore access through the website, in which case only Recovery or Fastboot reset methods remain (see sections 4 and 5).

3. Reset password through Recovery Mode (hard reset)

If previous methods didn’t work, you can do hard reset, which is a full reset through Restore mode, which removes all data from your phone, including apps, photos and settings, but is guaranteed to remove lockdown, and is suitable for most Xiaomi, Redmi and POCO models released after 2018.

Instructions for entering Recovery Mode:

  1. Turn off the phone (press the power button and select Turn off).
  2. Press the button combination: For most models: Volume up + Power. For POCO F3/F4: Volume down + Power. For Xiaomi 12T/13 series: Volume up + Volume down + Power.

Hold the buttons until the Mi logo appears (usually 10-15 seconds).

Release the buttons when the Recovery menu appears (English or Chinese).

Please follow the Recovery version:

Type RecoveryActionEffects of consequences
Stock (MIUI)Select Wipe Data (use volume buttons for navigation, power for confirmation). Confirm Wipe All Data. After reset, select Reboot.Deletes all data, including password, and the phone will look like new.
TWRP (castomic)Select Wipe β†’ Format Data. Enter yes to confirm. Reboot through Reboot System.It saves files on a memory card, but erases internal memory.
Fastboot ModeYou need a PC connection and a fastboot erase userdata command.Complete reset with the deletion of all data.

⚠️ Note: Some models (e.g. Redmi Note 10 Pro) may require Mi Account data entry after resetting via Recovery if Factory Reset Protection was previously enabled!

πŸ“Š What type of resetting method you used?
Through settings
Through the Mi Account.
Through Recovery Mode
Through Fastboot (PC)
I haven't tried it yet.

4. Unlock via Fastboot and ADB (for advanced)

If the standard methods did not help, and the phone is not tied to Mi Account, you can try to delete the password via Fastboot or ADB. These methods require a computer, USB-Cable and basic command line knowledge are suitable for bootloader models).

First, check if the bootloader is unlocked:

  1. Turn off the phone and press Volume Down + Power to log into Fastboot Mode.
  2. Connect your phone to your PC via USB.
  3. Open the command line (Windows) or terminal (macOS/Linux) and type: fastboot oem device-info
  4. If the answer is Device unlocked: true, the bootloader is unlocked. If false, you will need official unlocking via Xiaomi (can take up to 72 hours).

To delete the password via Fastboot:

  1. Download and install Android SDK Platform Tools.
  2. In the command line, run fastboot erase userdata fastboot erase locksettings.
  3. Reboot the phone: fastboot reboot

For the ADB method (if USB debugging is enabled):

  1. Connect the phone to your PC and allow debugging (if requested).
  2. Enter the commands: adb shell rm /data/system/gesture.key rm /data/system/password.key rm /data/system/locksetting.db rm /data/system/locksettings.db-wal rm /data/system/locksettings.db-shm
  3. Reboot the device: reboot

πŸ’‘

If the phone is stuck on the Mi logo after the commands, reset via Recovery (see Section 3).

5. Password bypass through Xiaomi service centers

If all self-unblocking attempts fail, you should contact the official Xiaomi service center, which is the only legal way to circumvent the security without losing data if:

  • πŸ“„ You have documents confirming the purchase (check, warranty card).
  • πŸ” The phone is tied to Mi Account, but you don't remember the login details.
  • πŸ“± The device is under warranty (in this case, the reset may be free of charge).

The procedure in the service center takes from 1 to 3 days and includes:

  1. Verification of the originality of the device by IMEI.
  2. Reset the lock through special software (available only to Xiaomi partners).
  3. Restoration of factory settings (if required).

The cost of the service varies from 1 000 before 3 000 Official centers are available in all major cities - you can find the nearest one on the website. mi.com/ru/service.

⚠️ Warning: Don't trust "private craftsmen" who promise to unlock your phone in 5 minutes without documents. Often such services involve installing custom firmware, which deprives of warranty and can lead to unstable operation of the device.

6. Frequent mistakes and how to avoid them

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

Mistake.Reason.Decision
"Failure to reset the settings."The phone is not tied to Mi Account, but Factory Reset Protection is enabled.Use the method via Fastboot or contact the service center.
"Team Not Found" at ADBThere are no drivers installed or USB debugging enabled.Install the Android SDK and check the developer’s settings.
Phone is not included in RecoveryWrong combination of buttons or battery drained.Charge your phone at least 30% and try again with the right combination (see Section 3).
"The device is locked by the administrator"It's on the phone. MDM-profile (corporate governance).Contact the device administrator or reset via Fastboot.

Another common mistake is to lose data after a reset, to minimize the risks:

  • πŸ“² Regularly back up through Settings β†’ System system β†’ Backup.
  • πŸ”— Sync your contacts and photos with your Google Account or Mi Cloud.
  • πŸ’Ύ Use a memory card to store important files (not affected by resetting).

πŸ’‘

If your phone is locked after a failed MIUI update, try flashing it over Fastboot with the official firmware, and you can download it from miuidownload.com.

Can I turn off my Xiaomi password without losing data?
Yes, but only if you remember your current password (through settings) or if your phone is unlocked through Mi Account without resetting, otherwise the data will be erased.
Why does the phone need a password again after resetting via Recovery?
This is because of Factory Reset Protection (FRP), which means that if you have a Mi Account attached to your phone, you'll need to enter that account information after you reset, and you can't unlock the device without it.
How do I know if my Xiaomi bootloader is unlocked?
Turn on your phone in Fastboot mode (click Volume Down + Power) and connect to your PC. Enter fastboot oem device-info. If Device unlocked: true is unlocked.
What to do if you forget your Mi Account email?
Go to account.xiaomi.com and click Forgot your password?.The system will offer to restore access via a linked phone number or backup email.If you don't remember anything, contact Xiaomi with proof of purchase.
Can I get around the Xiaomi password without a computer?
Yes, but only if the phone is linked to Mi Account (see Section 2) or if you remember the current password (Section 1). ADB computer is mandatory.