How to properly log out of a Google account on a Xiaomi phone: all ways

You may need to log out of your Google account on Xiaomi, Redmi or POCO devices for a variety of reasons: selling your phone, changing your main account, or fixing synchronization problems. However, many users face difficulties – the system does not always allow you to simply delete an account, especially if it was added as a primary one. In this article, we will discuss all the current ways to log out of Google on Xiaomi smartphones running MIUI 12/13/14 and HyperOS, as well as consider typical errors and their solutions.

It is important to understand that simply deleting an account through settings does not always work because of Android’s security policy. For example, if the device is enabled with FRP (Factory Reset Protection), the system may require you to enter a password from the previous account even after you reset. Therefore, before selling or transferring the phone to another person, you are advised not only to log out of the profile, but also to disable data sync, delete backups and deactivate Google Pay services.

In this instruction you will find:

  • πŸ”Ή Standard way to exit through settings MIUI
  • πŸ”Ή How to delete an account if the system does not allow it
  • πŸ”Ή Features of working with HyperOS (new firmware Xiaomi)
  • πŸ”Ή Resolving errors such as failed to delete the account"
  • πŸ”Ή What to do if your phone requires a password after resetting

1. Standard exit from Google account on Xiaomi

The easiest way is to use the built-in system settings. This method works on most Xiaomi, Redmi and POCO devices with MIUI 12 and later firmware, as well as HyperOS. Importantly, before deleting your account, make sure you have access to backups (photos, contacts, notes) as they can be linked to this profile.

Instructions:

  1. Open the Settings app (cog icon).
  2. Go to Accounts and Sync (in some versions of Google or Accounts).
  3. Select your Google account from the list.
  4. Click on the three dots in the upper right corner and select Delete Account.
  5. Confirm the action by entering a password or pattern lock from the device.

If you do not delete your account, your profile is the primary one (first added on your phone), in which case you will need to first add another Google account and make it the main one, or use alternative methods described below.

Create a backup copy of contacts and photos|Google Pay and other payment services|Remember your account password (required to confirm)|Check if your account is linked to Xiaomi Cloud-->

2. How to delete an account if the system blocks the action

A common problem: when you try to delete a Google account, you get a message that you can't delete your account or you need to reset your settings, and this is due to Android's security policy, which prevents you from deleting your last account on your device.

Method 1. Add a second account

  • πŸ“± Go to Settings. β†’ Accounts and synchronization β†’ Add an account β†’ Google.
  • πŸ”‘ Enter the second profile (you can create a temporary one).
  • πŸ”„ Go back to your first account and try to delete it again.

Method 2. Use the Developer Mode

If standard methods do not work, you can try to disable account verification through the developer mode:

  1. Activate Developer Mode: Settings β†’ About Phone β†’ MIUI version (click 7 times).
  2. Back to Settings β†’ Additionally. β†’ For developers.
  3. Find the USB Debugging option and Allow OEM Unlock (enable both).
  4. Connect your phone to your PC and use the adb command to delete your account (more in the next section).
ADB team to delete the account
adb shell pm clear com.google.android.gms adb shell content delete --uri content://settings/secure --where "name='account_migrated'" Attention: use ADB Requires skills and may cause Google services to crash.

3. Delete the account through resetting (Hard Reset)

If previous methods have failed, you will have to reset your phone completely, and this will remove all data from your phone, including apps, photos and settings, so use it only as a last resort (e.g. before selling your device).

Step-by-step:

  1. Back up your important data (via Settings β†’ Additional β†’ Backup and Reset).
  2. Open Settings β†’ About the phone β†’ Reset settings.
  3. Select Erase All Data (on some models, Delete Everything and Reset Settings).
  4. Confirm the action by entering the password from the device.
  5. After the reboot, the phone will prompt you to set it up as new. At the stage of logging in, skip the Google add-on.

πŸ’‘

If after reset, the phone requires a password from the old account (FRP-lock), use the official unlock tool from Xiaomi or contact the service center.

Warning of the effects of discharge:

  • ❌ All installed applications and their data will be deleted.
  • ❌ Photos, videos and documents will be deleted (unless saved in the cloud).
  • ❌ Network settings (Wi-Fi, Bluetooth) will return to factory.
  • ❌ If the phone was tied to Mi Account, you will need to enter the username and password from it after resetting.

4. Features of working with HyperOS (new firmware Xiaomi)

In 2026, Xiaomi began a massive shift to the new HyperOS firmware, which replaced MIUI on many devices. The interface and logic of working with accounts are slightly different here. For example, in HyperOS, the account management section is moved to Settings β†’ Users and accounts.

How to log out of your Google account in HyperOS:

  1. Open Settings β†’ Users and accounts.
  2. Select Google from the list of services.
  3. Click on your account, then three dots in the top right corner.
  4. Select Delete Account and confirm the action.

If the option is not available, try:

  • πŸ”„ Restart the phone and try again.
  • πŸ”§ Update Google Play Services through Settings β†’ Annexes β†’ Application management β†’ Google Play Services β†’ Update.
  • πŸ“± Add a second account (as described in Section 2).

MIUI 12/13|MIUI 14|HyperOS|I don't know.-->

5. Solving errors when deleting an account

When you try to delete a Google account on Xiaomi, you can experience various errors, and consider the most common and ways to fix them.

Mistake.Reason.Decision
I couldn't delete the account.The account is primary or linked to the servicesAdd a second account or reset your settings
Resetting is requiredAndroid Security Policy (FRP)Do Hard Reset (see Section 3)
Synchronization errorProblems with Google servers or the InternetCheck the network connection, restart the phone
The account is used by the applicationAccount linked to Gmail, YouTube or other servicesClose all Google apps, then try again.

If the error persists, try the following steps:

  • πŸ”„ Reboot your phone – sometimes it helps to reset temporary locks.
  • πŸ”§ Clear the Google Cache: Go to Settings β†’ Annexes β†’ App management.Look for Google Play Services and Google Account Manager.Click Clear Cache and Clear Data (do not delete data for Google Play Services!).

Check your internet connection

πŸ’‘

If the error is related to FRP-The only official way to get around it is to enter a password from the previous account. Do not use questionable programs to unlock it - this can lead to loss of warranty or damage to the system.

6.What to do if the phone requires a password after reset (FRP)

FRP (Factory Reset Protection) is an Android security feature that is activated if a Google account is added to the device and then resets. Once the phone is rebooted, it will require you to enter a username and password from the previous profile, which is designed to protect against theft, but often creates problems when the device is legally sold or transferred.

How to proceed:

  1. If you remember your account details: Enter your email and password from your previous profile. After successful login, skip adding a new account.

If you don't remember the data

  • Try to restore access through the Google Restore page.
  • If the device was purchased by hand, contact the previous owner.
  • Contact the Xiaomi service center with documents confirming the purchase.

πŸ’‘

To avoid FRP issues when selling your phone, be sure to delete your Google account before you reset, and if your phone is already reset and your account is not deleted, restore access to it or contact the service.

Warning about fraudulent methods:

⚠️ Attention: Instructions for circumvention are distributed on the Internet FRP They're using special programs or button combinations, and most of them either don't work on newer versions. MIUI/HyperOS, The use of such methods deprives of warranty and can lead to loss of data or locking of the device.

7. Additional safety tips

Signing out of your Google account is only part of the privacy process.If you plan to sell or transfer your phone, follow these steps:

  • πŸ” Delete your Xiaomi account (Mi Account): Go to Settings β†’ Accounts and synchronization β†’ Mi Account. Click Log Out or Delete Account.

Untie the device from services

  • Remove the phone from the list of trusted in Google Account.
  • Turn off Find My Device (Find My Device).
  • Delete your payment card details in Google Pay.

Cleanse your internal memory

  • Delete personal files manually through Files β†’ Internal Memory.
  • Use the Cleanup function in Settings β†’ Storage.

If the phone is being transferred to another user, it is also recommended to:

  • πŸ”„ Perform reset network settings (Settings) β†’ Resetting settings β†’ Resetting network settings).
  • πŸ”‹ Check battery status and charging cycle (this affects the cost of the device).
  • πŸ“‹ Contain the act of transmission with the serial number (IMEI) phone.