Deleting a Gmail account from a Xiaomi device is a procedure that may be necessary when selling a phone, changing a profile or fixing sync errors. However, many users face unexpected difficulties: the system requires a password from an old account, blocks deletion due to MIUI Optimization, or after a reset, the device requests remote profile data. In this article, we will discuss all the current ways to delete a Google account on Xiaomi, Redmi and POCO smartphones, taking into account the features of MIUI 14/15 and HyperOS.
Itβs important to understand that simply deleting your account through your settings doesnβt always clear your traces of it from the system. For example, after Factory Reset, your phone may require you to enter your remote profile data because of Factory Reset Protection (FRP), and weβll tell you how to circumvent this protection by legal means without violating Googleβs policies, and what to do if you forget your password from your Gmail.
Why canβt you just delete Gmail through your settings?
On Xiaomi devices, Googleβs account is integrated deeper than it seems. Even after deleting through the Settings menu β Accounts, its data can remain:
- π Background Sync: Some services (e.g. Google Play Services) continue to use the account cache.
- π FRP-Lock: After resetting, the phone will require the deleted account data if it was the main one.
- π± MIUI Optimization: Some firmwares have blocked the removal option without disabling this feature.
- π Encryption Keys: An account can be linked to encrypted data (such as Wi-Fi passwords or backups).
Also, if the phone has two-factor authentication enabled (2FA), the system can request not only a password, but also a code from Google Authenticator or SMS. This complicates the process, especially if access to the old phone number is lost.
Method 1: Standard removal via MIUI settings
This is the easiest method, but it only works if:
- π You remember the password from your Gmail account.
- π There's no active phone. FRP-blocking (for example, after discharge).
- π The device is not tied to a corporate account (for example, through Android Enterprise).
Instructions:
- Open Settings β Accounts and Synchronization.
- Choose Google (or your email).
- Click on the three dots in the upper right corner β Delete your account.
- Confirm the action by entering the password from the Xiaomi account (if required).
βοΈ Preparing for Gmail Deletion
What if the Delete Account button is inactive? This is a common problem on MIUI 14.
- Go to Settings β Special features β MIUI Optimization.
- Turn off the MIUI Optimization slider.
- Restart the phone and try again to delete it.
Why does MIUI block deletion of the account?
Method 2: Remove by resetting settings (Factory Reset)
If the standard method didn't work, you can do a hard reset, but here's the caveat: once reset, the phone will require you to enter your remote Google account because of Factory Reset Protection (FRP), a security measure that works if:
- π The account was the main one on the device.
- π The phone has a screen lock on (PIN, pattern lock, print).
- π The device worked on Android 5.1+.
How to get around FRP legally (without hacking):
- Add a second Google account before reset and make it your primary account.
- Delete your first account through settings (as in Method 1).
- Reset: Settings β About the phone β Reset settings.
- After rebooting, enter the second account details (if required).
π‘
If you're selling a phone, the best thing to do is to delete all your accounts beforehand and reset the Recovery menu. Turn off your phone, press Volume Up + Power, select Wipe Data.
Method 3: Remove via Recovery Menu (for advanced)
This method is suitable if:
- π οΈ Your phone is locked and you donβt remember your Gmail password.
- π οΈ You need to delete your account without access to the system (for example, after a failed update).
- π οΈ There is a custom firmware on the device.
Warning: This method removes all data from your phone, including photos, messages and apps, and only use it if other methods have failed.
Instructions:
- Turn off the phone.
- Press the button combination to enter Recovery: For most models: Volume up + Power. For POCO F5 and new Redmi: Volume up + Volume down + Power.
Wipe Data β Wipe All Data
Reboot β Reboot to System
β οΈ Note: On some models (Xiaomi 13 Ultra, Redmi) K60 Pro) after resetting via Recovery, you may need to enter your Mi Account information. If you forget your password, restore access to account.xiaomi.com.
Method 4: Delete your account through ADB (without resetting)
If the phone works but you canβt delete your account in the standard way, you can use Android Debug Bridge (ADB), a method that requires a computer and basic command line knowledge.
What you need:
- π» Computer with Windows/Linux/macOS.
- π USB-cable (preferably original).
- π οΈ Installed drivers Xiaomi and ADB.
Step-by-step:
- Turn on Developer Mode on your phone: Go to Settings β About Phone. Tap 7 times on MIUI Version.
USB debugging
Settings β Additional β For developers β Debugging by USB
Connect your phone to your computer and confirm your trust in the device.
Terminal
adb devicesMake sure the device is identified.
email@gmail.com
adb shell pm clear com.google.android.gms && adb shell content delete --uri content://com.android.providers.settings.settings --where "name='account_to_remove'" --bind name:s:"email@gmail.com"Reboot the phone.
β οΈ Attention: Teams ADB If the phone starts to brake after execution, reset it through Recovery.
Method 5: Delete via Google Services (if your phone is lost)
If you lose your phone or it is blocked, you can delete your account remotely via Google services, which will not remove your account physically from your device, but will untie it from your profile.
Instructions:
- Go to myaccount.google.com from another device.
- In the Security section β Find your devices and find your lost phone.
- Click on three dots next to the device β Get out.
- Remove the device from the list of trusted: Security β Device Management β Delete.