Xiaomi · Xiaomi, Redmi and POCO phone problems

Forgot Your Xiaomi Screen Lock Password or Pattern? Options

Try first, may need helpLast checked: October 23, 2026

Why does this happen?

You cannot get past the lock screen because you forgot the PIN, pattern or password. For security there is no official way to remove the screen lock and keep the data: the phone has to be erased, either remotely or from recovery mode. Data that was backed up can be restored afterwards.

Before you start

Back up important files before any big step such as a reset or restore. Don't download 'repair' programs suggested online; use only official tools from Microsoft, Apple, Google or your device maker. On work or school devices, ask your IT admin first.

Likely causes

  1. The PIN, pattern or password was forgotten
  2. Someone else changed the screen lock

Steps you can try

Did that fix it?

When to get help

If you do not know the Mi Account or Google account passwords, recover them first (id.mi.com, google.com); otherwise the phone will stay locked after erasing. If that fails, a Xiaomi service centre can help only with proof of purchase.

Differences between versions

Every option erases all data on the phone, including photos and apps, and anything not backed up is lost. Remote erase works only if the phone is on, online and had Find Device (or Find Hub) turned on. Never use unofficial unlock tools.

Sources

This page is based on official sources from Microsoft, Apple, Google and other makers, written in our own words. Code meanings can differ between versions.