How to Factory Reset Xiaomi Phone: Step-by-Step Guide
In this article
To factory reset a Xiaomi phone, go to Settings > About phone > Factory reset and select Erase all data. This process wipes all user data, apps, and settings, returning the device to its original out-of-the-box state, which is useful for fixing persistent software glitches or preparing the phone for sale. Note that menu labels may differ slightly depending on your MIUI or HyperOS version, device model, or region.
What You'll Need
- A Xiaomi device running MIUI or HyperOS.
- Your Mi Account password and Google Account credentials (essential for bypassing Factory Reset Protection).
- A power source or at least 50% battery life to prevent the device from shutting down during the wipe.
- An external storage device or cloud service for backing up your personal files.
Step-by-Step
There are two primary ways to reset a Xiaomi device: through the system settings (the safest method) and through the Recovery Mode (used when the phone is locked or won't boot). Follow the instructions below based on your current situation.
Method 1: Reset via Settings (Standard Reset)
- Back up your data: Before starting, ensure all photos, contacts, and documents are backed up to Google Drive, Xiaomi Cloud, or a computer. A factory reset is irreversible and deletes everything on the internal storage.
- Remove accounts: To avoid triggering Factory Reset Protection (FRP), go to Settings > Accounts & sync > Google and remove your account. Do the same for your Mi Account. This ensures the next owner (or you, if you forget your password) can set up the phone without being locked out.
- Open Settings: Navigate to the main Settings app on your home screen.
- Access Phone Info: Tap on About phone. This is usually the first option in the settings list.
- Locate the Reset Option: Scroll down and tap on Factory reset. On some older versions of MIUI, this may be located under Settings > Additional settings > Backup & data reset.
- Confirm the Wipe: Tap the Erase all data button at the bottom of the screen.
- Authentication: The system will ask for your lock screen PIN, pattern, or password for security. Enter it to proceed.
- Wait for the Warning: Xiaomi typically displays a 10-second countdown warning to ensure you didn't click the button by accident. Wait for the timer to finish and tap Next or OK.
- Reboot: The phone will restart and enter a wiping phase. Do not press any buttons or attempt to turn off the device during this process. Once finished, you will see the initial setup screen.
Method 2: Reset via Recovery Mode (Hard Reset)
Use this method if you have forgotten your password or if the phone is stuck in a boot loop. This is a more aggressive reset that bypasses the OS settings.
- Power Down: Turn off your Xiaomi phone completely. Wait for the vibration to stop and the screen to go black.
- Button Combination: Press and hold the Power button and the Volume Up button simultaneously.
- Enter Recovery: When the Mi logo appears on the screen, release the Power button but continue holding the Volume Up button until the Main Menu (Xiaomi Recovery) appears.
- Navigate the Menu: In Recovery Mode, the touch screen does not work. Use the Volume Up and Volume Down buttons to move the highlight bar and the Power button to select an option.
- Select Wipe Data: Scroll down to Wipe Data and press the Power button to select it.
- Confirm Wipe: Select Wipe All Data and confirm the action by selecting Confirm.
- Wait for Completion: The device will display a progress bar. Once it says "Data wiped successfully," press the Power button to return to the Main Menu.
- Reboot System: Select Reboot and then select Reboot to System. The phone will now restart and begin the first-time setup process.
Common Mistakes
One of the most frequent errors users make is forgetting to remove the Mi Account and Google Account before performing a hard reset via Recovery Mode. This triggers Factory Reset Protection (FRP). FRP is a security feature designed to prevent thieves from using a stolen phone; however, if you forget your own credentials, you will be locked out of your own device. You will be prompted to enter the email and password previously synced to the device before you can access the home screen.
Another common mistake is attempting a factory reset with a low battery. If the phone dies while it is formatting the data partition, it can lead to a "hard brick," where the device becomes completely unresponsive and cannot be turned on. Always ensure you have a significant charge or keep the phone plugged into a wall charger during the process.
Users also often confuse a "Factory Reset" with a "Cache Wipe." While wiping the cache can fix minor lag without deleting data, a factory reset is a total wipe. Ensure you have verified your backups before clicking the final confirmation button, as there is no "undo" feature once the process starts.
Tips
To make the transition smoother, use the "Local Backup" feature found in Settings > About phone > Back up & restore. This creates a full image of your apps and system settings that can be saved to an SD card or transferred to a PC via USB. This is often faster to restore than relying solely on cloud syncing.
If you are selling the phone, perform the factory reset twice. While a single reset is usually sufficient, performing a second wipe ensures that any residual data fragments are overwritten, providing an extra layer of privacy for your personal information.
Before resetting, check if you have any Two-Factor Authentication (2FA) apps like Google Authenticator installed. Since these apps often do not sync to the cloud automatically, you must manually export your accounts or move them to another device before wiping the phone, otherwise, you may lose access to your secured accounts.
Troubleshooting
If your phone gets stuck on the Mi logo (boot loop) after a reset, try booting back into Recovery Mode and performing the "Wipe Data" process again. Sometimes a glitch during the first wipe prevents the system from booting correctly.
If you are prompted for a Mi Account password that you don't remember, you cannot bypass this via a hard reset. You must use the official Xiaomi account recovery portal on a web browser to reset your password using your registered phone number or email address. Only after recovering the account can you unlock the device.
If the Volume Up and Power buttons are not triggering Recovery Mode, ensure you are holding them firmly and simultaneously. If the device immediately boots into the normal OS, try the sequence again, but ensure the phone is completely powered off first. If the buttons are physically damaged, you may need to use a PC with official flashing tools, though this is a complex process and should be a last resort.
Frequently Asked Questions
Will a factory reset delete my photos and videos?
Yes. A factory reset erases everything on the internal storage, including photos, videos, downloaded files, and app data. Only data stored on a physical microSD card will remain untouched, though it is still recommended to back up the card separately.
Does a factory reset remove a screen lock password?
Yes, it removes the PIN, pattern, or password. However, if you use the Recovery Mode method, you will still be required to enter the Google or Mi Account credentials that were active on the device before the reset due to security protections.
How long does a Xiaomi factory reset take?
The actual wiping process usually takes between 2 and 10 minutes. However, the first boot-up after the reset takes significantly longer than a normal restart because the system is rebuilding the data cache and initializing system apps.
Can I factory reset my phone if it is frozen?
Yes. If the screen is frozen and you cannot access the Settings menu, you can use the Hard Reset method via Recovery Mode by using the physical Power and Volume buttons.
Will this update my MIUI or HyperOS version?
No. A factory reset does not update the software version. It simply wipes the data from the version currently installed. To update your software, you must go to Settings > About phone and check for updates.