How to completely delete your Gmail account from your Xiaomi phone: 5 proven ways

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.

πŸ“Š What kind of smartphone you Xiaomi?
Redmi Note 12/13
POCO X5/X6
Xiaomi 13/14
Other

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:

  1. Open Settings β†’ Accounts and Synchronization.
  2. Choose Google (or your email).
  3. Click on the three dots in the upper right corner β†’ Delete your account.
  4. Confirm the action by entering the password from the Xiaomi account (if required).

β˜‘οΈ Preparing for Gmail Deletion

Done: 0 / 4

What if the Delete Account button is inactive? This is a common problem on MIUI 14.

  1. Go to Settings β†’ Special features β†’ MIUI Optimization.
  2. Turn off the MIUI Optimization slider.
  3. Restart the phone and try again to delete it.
Why does MIUI block deletion of the account?
MIUI Optimization optimizes the system, but sometimes conflicts with Google services, and disabling this option returns to β€œpure” Android, where deleting accounts works according to standard rules.

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):

  1. Add a second Google account before reset and make it your primary account.
  2. Delete your first account through settings (as in Method 1).
  3. Reset: Settings β†’ About the phone β†’ Reset settings.
  4. 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:

  1. Turn off the phone.
  2. 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:

  1. 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 devices

Make 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:

  1. Go to myaccount.google.com from another device.
  2. In the Security section β†’ Find your devices and find your lost phone.
  3. Click on three dots next to the device β†’ Get out.
  4. Remove the device from the list of trusted: Security β†’ Device Management β†’ Delete.
How to delete your Gmail account with Xiaomi if your phone is not turned on?
If the phone doesn't respond to the power button but is charging (the indicator is on fire), try: Connect the charge and hold the power button for 20 to 30 seconds (forced reboot). If the phone boots, delete the account via settings or ADB. If it doesn't boot, repairs are required (possibly a battery or board problem).
Can you sell Xiaomi without removing Gmail?
Technically possible, but highly discouraged: πŸ“§ Read your email (if you are not logged out of your account). πŸ’³ Use Linked Cards in Google Pay. πŸ“ Track your location through Find My Device, and when you reset, your phone will require your account details (FRP), And the buyer will not be able to use it.
How to delete a Gmail account from Xiaomi if it is linked to a Mi Account?
Mi-account and Gmail are different systems, but on Xiaomi they are linked via MIUI. To delete both accounts: First delete Gmail through settings (see Method 1). Then untie Mi-account: Settings β†’ Xiaomi Account β†’ Sign out. Recovery to clear all data. If you forget the password from the Mi-account, restore it to account.xiaomi.com.