How to Set a Password on Xiaomi: A Complete Guide with Photos and Tips

Why put a password on Xiaomi and what are the risks without it?

Xiaomi smartphones (including the Redmi, POCO and Mi line) store a huge amount of personal information, from photos to banking applications. Without protection, even a short-term loss of a phone can turn into data leakage, fraud or blackmail. Statistics show that 68% of smartphone thefts lead to unauthorized access to the accounts of the victim in the first 24 hours.

But not all users know that Xiaomi can install not only standard PIN-The code, but also a pattern lock, fingerprint, or even face scan (on supported models), and some locking methods (such as the Mi Account password) work even after resetting, saving data when the device is lost. In this article, we will analyze all methods of protection, from basic to advanced, taking into account the features of the system. MIUI 14/15.

It's important to understand that the type of password you choose depends on your habits, and if you often hand over your phone to your colleagues to view your photos, the pattern lock will be more convenient. PIN-But for maximum security (for example, when storing cryptocurrency wallets), it is better to combine PIN + biometrics.

πŸ“Š What type of lock you use on Xiaomi?
PIN-code
pattern lock
Fingerprint.
Face scans.
I'm not betting anything.

How to set a password on Xiaomi: a comparison of methods

On Xiaomi smartphones, there are 5 main types of screen lock, each of which has its own pros and cons.

Password typeLevel of securityConvenienceSupport for modelsFeatures
PIN-code⭐⭐⭐⭐⭐⭐⭐All models.Minimum 4 digits, maximum 16. You can use letters on some firmware.
pattern lock⭐⭐⭐⭐⭐⭐All models.It's easy to peek at the tracks on the screen. Minimum length is 4 dots.
Password.⭐⭐⭐⭐⭐⭐⭐All models.It requires a minimum of 6 characters, supports letters, numbers and special characters.
Fingerprint.⭐⭐⭐⭐⭐⭐⭐⭐⭐Models with sensor (starting with Redmi Note 5)It only works with a PIN/password, and you can add up to 5 fingerprints.
Face scans.⭐⭐⭐⭐⭐⭐⭐Models with an IR camera (Mi 10 and newer)Less reliable than a print. It doesn't work in the dark on budget models.

Critical error of many users: using date of birth or simple combinations (1234, 0000) as a PIN-It takes less than 10 minutes to crack this password with specialized software. PIN, Avoid obvious sequences and use at least 6 digits.

For maximum protection, we recommend combining methods.

  • πŸ” Basic Password: A complex combination of 10+ symbolism + figure + signage).
  • πŸ‘† Biometrics: Fingerprints for quick unlocking in everyday situations.
  • πŸ”’ Mi Account: Linking the device to the account for remote locking in case of loss.

Step-by-step: how to set a password through the MIUI settings

It takes less than a minute to set a password on Xiaomi, if you know the right path on the menu. The instructions are relevant for MIUI 12/13/14/15 and all modern models (Redmi Note 12, POCO X5, Mi 13, etc.).

β˜‘οΈ Preparation for password setting

Done: 0 / 4
  1. Open Settings (the gear icon on the home screen or in the application menu).
  2. Go to the Passwords and Security section (on some firmwares – Screen Lock and Passwords).
  3. Select Screen Lock. The system can request the current password (if already installed) or PIN-code SIM-map.
  4. Click Add Password (or Change Password if it was previously used).
  5. Select the type of lock: πŸ”’ PIN: Enter 4-16 digits. πŸ”€ Password: minimum 6 characters (recommended 8)+ letter-and-numeral). πŸ“Š pattern lock: swipe your finger at 4-9 points.

Confirm the new password and press Ready. The system may ask you to enter it again for verification.

Activate the option to Show notifications on the locked screen if you want to see messages without unlocking.

Once you have a password set, the system will suggest adding a fingerprint or face scan (if the device supports it), and we recommend setting up biometrics right away, which will speed up unlocking in everyday use.

⚠️ Note: If you forget the password from your Mi Account, you can reset it only through the official website account.xiaomi.com. Without access to the email or phone associated with the account, it will be impossible to restore access - this is a security measure against hacking.

How to add a fingerprint or face scan

Biometric unlocking is convenient, but it has limitations, like a fingerprint doesn't work with gloves, and a facial scan can fail in bright sun, but these methods make it much faster to access a phone. Let's see how to set them up.

Adding a fingerprint

To do this, your device must have a physical or subscreen sensor, and all models starting with the Redmi Note 5 and Mi 8 support this function.

  1. Go to Settings β†’ Passwords and Security β†’ Fingerprint.
  2. Enter the current one. PIN-proof-code.
  3. Press Add Fingerprint and follow the instructions on the screen. The system will ask you to put your finger on the sensor from different angles.
  4. After a successful scan, name the fingerprint (for example, "Indicative Right") and save it.

You can add up to 5 fingerprints (useful for unlocking with different fingers or for family members). Some models (POCO F4, Xiaomi 12T) support unlock when touching - the phone unlocks immediately after touching the sensor, without pressing the power button.

Setting up a face scan

Face Unlock technology is available on models with an IR camera (for example, Mi 10, Mi 11, Redmi). K40). On budget devices (for example, Redmi) 9A) less reliable 2D-Scanning that can be fooled by a photo.

  1. Open Settings β†’ Passwords and Security β†’ Face Scanning.
  2. Enter. PIN-proof-code.
  3. Click Add Face Data and position the phone at eye level. Follow the prompts on the screen (turn your head left/right for the phone to be used). 3D-scan).
  4. After a successful scan, activate the Quick Unlock option if you want your phone to unlock immediately after recognition.

⚠️ Note: Facial scanning on Xiaomi without an IR camera (e.g. on the Redmi Note 8) uses only the front camera and is vulnerable to being tricked by a photo!

πŸ’‘

If the face scan doesn’t work in the dark, try turning on the screen light option in the Face Unlock settings, which will improve recognition but shorten battery life.

Mi accounts are not just a way to sync data, but they're also a powerful security tool, so if you lose your phone, you can use your account to:

  • πŸ“ Track the location of the device (if device search is enabled).
  • πŸ”’ Lock your phone remotely, even after resetting your settings.
  • 🧹 Delete all data (useful for theft).

To link the account:

  1. Go to Settings β†’ Mi Account (or Accounts and Sync β†’ Mi Account).
  2. Sign in if you are not already logged in or create a new account.
  3. Activate options: πŸ”„ Synchronization of data (for backup). πŸ“ Search for the device (for tracking) GPS).

In the Security section of the account, enable Device Locking – this will allow you to lock the phone through the i.mi.com web interface.

Important: Without a linked Mi Account, resetting your settings to Xiaomi via Recovery will delete all data, including the lock password.With an account, the phone will remain locked even after the reset - this protects against theft.

What to do if I forget my password from my Mi Account?
If you have forgotten your Mi Account password, you can recover it via email or the phone you log in to. Go to account.xiaomi.com, select "Forgot your password?" and follow the instructions. If you don't have access to your email/phone, contact Xiaomi with documents proving ownership of the device (check or box).

Frequent Mistakes and How to Avoid Them

Many users experience problems when setting a password on Xiaomi. Consider the typical errors and their solutions:

Problem.Reason.Decision
You can’t set a password – the button is inactive.No Internet connection or problems with Xiaomi serversConnect to Wi-Fi or mobile. Reboot your phone.
After setting a password, the phone asks for it too often.The option β€œBlocking when falling asleep” or β€œFrequent blocking” is enabledOpen Settings β†’ Lock screen β†’ Autolock and select β€œIn 5 minutes” or β€œNever”.
Fingerprints are unrecognizable.Sensor is contaminated or fingerprint is added incorrectlyWipe the sensor with an alcohol napkin, remove and add the fingerprint again, applying your finger at different angles.
Facial scans don't work in the darkNo IR camera (on budget models)Use an alternative unlock method or turn on screen highlighting in Face Unlock settings.
Forgot the password and the phone is locked.No linked Mi Account or backup PINReset your settings via Recovery (the data will be deleted) or use the β€œForgot password?” feature on the lock screen (if you have a Mi Account).

Another common mistake is using the same password to lock the screen and Mi Account, and if an attacker picks it up, they will have access to all the data, including cloud backups. Always use different passwords!

πŸ’‘

If you sell or transfer your phone to another person, be sure to untie your Mi Account and reset the settings to factory settings, otherwise the new owner will not be able to use the device due to the account lock.

Additional security measures for Xiaomi

Set a password is only the first step. For full data protection on Xiaomi, we recommend setting the following options:

  • πŸ” Encryption of the device: included in Settings β†’ Additionally. β†’ Encryption and credentials. Encrypts all the data on the phone (may reduce performance on weak models).
  • πŸ“± Secure folder: Hidden storage for photos and files (available in Files) β†’ Secure folder requires a separate folder. PIN.
  • πŸ”„ Two-step authentication for Mi Account: enabled at account.xiaomi.com under Security".
  • 🚨 Sign-in Notifications: Mi Account may send alerts when trying to sign in from a new device.
  • πŸ“΅ Lockdown SIM-maps: install PIN-code SIM In Settings β†’ SIM-maps and mobile networks β†’ Lockdown SIM-map.

For owners of phones with MIUI 14/15, Private Mode is available, which allows you to hide notifications from certain applications on the lock screen, to activate it:

  1. Go to Settings β†’ Notifications β†’ On the lock screen.
  2. Select Hidden Notifications and add apps that should not show content on a locked screen (such as messengers or email).

If you use public Wi-Fi frequently, turn on the VPN in settings (Settings β†’ Connections β†’ VPN) to protect your data from being intercepted on insecure networks.

FAQ: Answers to Frequent Questions

Can I put a password on individual applications on Xiaomi?
Yes, use Application Lock in Settings β†’ Passwords & Security β†’ Application Locking, you can password-protect messengers, gallery, settings and other applications, and you need to set your primary screen lock password.
What to do if you forget your pattern lock on Xiaomi?
If you forget the pattern lock, try entering it at least 5 times in a row - the system will offer alternative ways to unlock (PIN-If nothing works, you'll have to reset your settings via Recovery (the data will be deleted.
How to remove your Xiaomi password if you no longer need it?
To delete your password, go to Settings β†’ Passwords & Security β†’ Screen Lock. Enter your current password, then select No under Lock Type. Note: If you have a biometrics set up (fingerprint or face), you will also need to disable it separately.
Does Face Unlock work in the dark on Xiaomi?
Depends on the model: πŸ”¦ On flagships (Mi 11, Mi 12, Xiaomi 13) with an IR camera – yes, thanks to the backlight. πŸŒ‘ On budget models (Redmi 10, POCO M4) β€” No, because you only use a front-facing camera without an IR sensor. To improve recognition, turn on the screen highlight option in Face Unlock settings.
Can I unlock Xiaomi without losing data if I forget my password?
If you have a Mi Account attached and sync enabled on your phone, you can reset your password through i.mi.com (Find the device section). If you don't have an account, you can't unlock your phone without resetting it, which is a security measure, so you only have to reset it through Recovery (the data will be erased).