How to unlock Xiaomi Redmi if you forget the pattern lock: instructions 2026

The forgotten pattern lock on Xiaomi Redmi is a situation that one in five smartphone users of the brand face. According to service centers, 63% of screen unlocking requests are due to the loss of a password or pattern. Fortunately, the manufacturer has provided several formal and informal ways to restore access, from a simple reset via Mi Account to using Fastboot mode or even physical interference with firmware.

In this article, we will discuss 5 proven methods that are relevant to all Redmi models (including Redmi Note 12/13, Redmi 10/11, POCO X5 and others). Importantly, the effectiveness of the method depends on the version of MIUI, the status of Xiaomi account and the availability of debugging over USB. Some methods will lead to complete data loss, so first try the options without reset.

1 Unlocking through Mi Account (official method)

The safest method is if your phone has a Xiaomi account tied and Internet access enabled, suitable for devices with MIUI 12 and later, where the Find Device function is activated by default.

Instructions:

  • 🌐 Go to account.xiaomi.com from a computer or other phone.
  • πŸ”‘ Sign in with the same account as a blocked Redmi.
  • πŸ“± Select the Find Device tab β†’ Find your phone on the list.
  • πŸ”“ Press Unlock and confirm the action through SMS email.

⚠️ Note: If your phone has lost mobile internet and Wi-Fi, this will not work, and Xiaomi may request proof of identity (passport scan) if you suspect a hack.

πŸ“Š What Unlocking Method Have You Tried Before?
Mi Account
Hard Reset
Fastboot
Service centre
I've tried nothing.

2.Reset via Recovery Mode (Hard Reset)

An emergency method that removes all data from your phone, including photos, contacts and apps, is suitable if you don't have an account attached or the phone is not connected to the network, works on all Redmi models, but requires physical access to the device.

Step-by-step:

  1. Turn off the phone with a long press on the power button.
  2. Press Volume Up + Power at the same time 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 selecting Wipe All Data.
  5. After the reboot, the phone will be like new – you will need an initial setup.

β˜‘οΈ Preparation for Hard Reset

Done: 0 / 4

⚠️ Note: On some models (Redmi Note 10 Pro, POCO F3) After the reset, you may need to enter the data of the associated Xiaomi account (protection) FRP). If you don’t remember the password, the phone will turn into a brickΒ».

3. Unlock via Fastboot (for advanced users)

The method for those who are willing to work with ADB Fastboot, which allows you to bypass the pattern lock without losing data, but requires you to debug on it. USB (USB Debugging) before locking. If debugging is disabled, it won't work.

What you need:

  • πŸ–₯️ Computer with Windows/Linux and installed Xiaomi drivers.
  • πŸ”Œ USB-cable (original, not cheap fake).
  • πŸ“¦ Archive with utility ADB and Fastboot (download from Android site).

Instructions:

1. Connect your phone to your PC in Fastboot mode:


- Turn off Redmi.




- Press Volume down + Nutrition before the screensaver with a rabbit in a hat-eared.





2. Open the command prompt (Windows) or terminal (Linux/Mac) in the folder with ADB.





3. Enter the commands in order:




fastboot devices // Connection check (serial number should be displayed)




Fastboot oem unlock // bootloader unlock (only for unlocked phones!)




fastboot reboot // Reboot





4. After the reboot, the pattern lock will be reset.

What if Fastboot can’t see the phone?
Make sure you have Xiaomi drivers installed (you can download it on the official website). USB-cable or port. Windows can help disable driver signatures (start in test mode).

⚠️ Warning: The fastboot oem unlock and fastboot flashing unlock commands erase all data on your phone even if the pattern lock is removed.

4. Use of service codes (hidden MIUI functions)

Xiaomi hides a few engineering codes that can help bypass screen locking, which don’t work on all firmware and models, but it’s worth a try if other methods aren’t available.

Code.DescriptionModels on which it works
##7780##Resetting settings (saves application data)Redmi 9, Note 8, POCO X3
##3646633##Engineering menu (may contain the option to reset the lock)Redmi 7, Note 5, Mi A2
##4636##Test menu (sometimes allows you to bypass the pattern lock)Redmi 6, Note 4

How to use:

  1. On a locked screen, type the code as if you were calling (on some models you need to first click "Emergency Call").
  2. If the code works, look for options like Factory Reset or Clear Lock.
  3. Confirm the action and restart the phone.

πŸ’‘

If the service codes don't work, try typing them in the Phone app on an emergency call. SIM-map.

5. Contact the Xiaomi Service Center

If all independent attempts to unlock failed, the official service remains. Xiaomi provides the unlock service according to documents confirming ownership of the phone. The cost is from 500 to 2000 rubles, depending on the model and region.

What will be required:

  • πŸ“„ Passport or other identification document.
  • πŸ“‹ Check or box from the phone (to confirm the purchase).
  • πŸ“± The phone itself with a charge of at least 50%.

Advantages of the service center:

  • βœ… Data security (in some cases).
  • βœ… Official job security.
  • βœ… Recovery capability IMEI, If it was lost after a failed manipulation.

⚠️ Warning: Unofficial service centers can offer "unlock in 5 minutes" via firmware EDL-It's dangerous: it often leads to loss of life. IMEI or blocking Mi Account for suspicious activity.

Comparison of Unlocking Methods

MethodData retentionDifficultyRequired.Suitable for
Mi Accountβœ… Yes.⭐⭐Internet, linked accountAll models with MIUI 12+
Hard Reset❌ No.⭐Volume buttons + powerAll models.
Fastboot⚠️ Partially.⭐⭐⭐⭐PC, ADB, USB-debuggingModels with unlocked loader
Service codesβœ… Yes.⭐⭐Knowledge of codesOlder models (up to MIUI 11)
Service centre⚠️ Depends on the master.⭐⭐⭐Papers, money.All models.

FAQ: Frequent questions about unlocking Xiaomi Redmi

πŸ”’ Can I unlock Redmi without losing data?
Yes, but only if: The phone is debugging on USB and has access to ADB. You have a tied Mi Account with Find Device. You use service codes (not all models). In all other cases, the data will be lost.
πŸ“± Why After Hard Reset, Your Phone Asks for an Old Password?
This is FRP (Factory Reset Protection) protection, which is activated if a Xiaomi or Google account was attached to the phone. To get around: Enter your associated account information. If you don't remember the password, restore it through the Xiaomi site. On some firmware, connecting to Wi-Fi and resetting helps.
⚑ Can I unlock Redmi through the EDL-regime?
Technically yes, but: Special cable is required (EDL Xiaomi can block an account for suspicious activity, high risk of turning the phone into a brick (30% of cases according to service centers statistics). EDL Only in the last resort and through the proven masters.
πŸ”§ How to avoid blocking in the future?
Not to lose access to the phone: πŸ” Use a fingerprint or facial recognition as an additional way to unlock. πŸ“§ Link your Xiaomi account and enable Find Device in the settings. πŸ”„ Make backups regularly through Settings β†’ System system β†’ Backup. πŸ“ Write the pattern lock to a secure location (for example, in Google Keep notes with encryption).