How to Factory Reset a Huawei Phone That Is Locked
Mar 23, 2026 • Filed to: Phone Repair Solutions • Proven solutions
"Looking for the best solutions on how to factory reset Huawei phone when locked?"
If you are locked out of your Huawei phone due to a forgotten password, PIN, or screen pattern, a factory reset is often the most reliable way to regain access. A factory reset (also called a hard reset) restores your device to its original out-of-the-box state, erasing all data, installed apps, and personalized settings in the process. Whether you've purchased a second-hand Huawei device that's still locked to the previous owner, accidentally set an incorrect PIN too many times and triggered a lockout, or simply forgotten your screen lock credentials, this guide walks you through every available solution.
It's important to understand the difference between a soft reset (a simple restart that preserves data) and a factory reset / hard reset (a full wipe that returns the phone to factory defaults). In a lockout scenario, only a factory reset or a dedicated unlocking tool can bypass the screen lock and restore device access. This guide covers all methods available for EMUI and HarmonyOS-based Huawei phones, so you can choose the approach that best fits your situation.
In this article, we cover all the methods you need to reset your Huawei phone when locked—from using Google's Find My Device and hardware key combinations to advanced tools like Dr.Fone. Each method includes step-by-step instructions and is suitable for beginners with no technical background required.
- Part 1: Things You Should Be Aware of Before Resetting Huawei Phones
- Part 2: How to Reset Huawei Phone When Locked?
- Method 1: Reset Huawei using Google's Android Device Manager
- Method 2: Perform a Hard Reset on Huawei with Hardware Keys
- Method 3: An Efficient Alternative to Reset Locked Huawei Phone
- Part 3. How to Reset Huawei Phone at Normal Cases?
Part 1: Things You Should Be Aware of Before Resetting Huawei Phones
Before you proceed with any reset method, taking a few critical preparatory steps can save you from additional problems—such as a failed reset mid-process, permanent data loss, or being locked out again due to Google FRP (Factory Reset Protection). Read through each precaution below carefully before you begin.
-
Ensure Sufficient Battery Level Before Starting. A factory reset is a resource-intensive process that typically takes 5–15 minutes to complete. If your Huawei phone runs out of power mid-reset, it can corrupt the system partition and cause your device to become unbootable. Always ensure your battery is charged to at least 50% or higher before initiating any reset method. If the battery is low, plug your device into a charger and wait until it reaches a safe level. If your screen is locked and you cannot check the battery level, look for the charging indicator on the lock screen when connected to power.
-
Clear the Cache Partition (Recommended Before a Full Reset). Before performing a factory reset, it is good practice to clear the cache partition on your Huawei phone. Cached data can sometimes interfere with the reset process or cause system instability post-reset. You can clear the cache from Recovery Mode by selecting the "Wipe cache partition" option before choosing "Wipe data/factory reset." This step helps ensure the reset completes cleanly and the device boots up correctly afterward.
-
Back Up Your Data Whenever Possible. A factory reset permanently deletes all personal data stored on your device, including photos, contacts, messages, app data, and downloaded files. If your Huawei phone is not locked, use Huawei Phone Clone, Google Backup, or a third-party tool to create a full backup before proceeding. If the device is currently locked and you cannot access it, unfortunately data recovery after a factory reset is not possible through standard means. Going forward, set up automatic cloud backups via your Huawei ID or Google account to prevent future data loss.
-
Be Aware of Google FRP (Factory Reset Protection). After performing a factory reset on any Android device—including Huawei phones running EMUI or HarmonyOS—you will be required to verify the Google account that was previously synced with the device during the initial setup. This security feature, known as Factory Reset Protection (FRP), is designed to prevent unauthorized access to reset devices. If you remember your Google account credentials, this step is straightforward. However, if you've forgotten them, you'll need to use dedicated Huawei FRP bypass tools to complete the setup process after the reset.
-
Note Your Huawei ID Activation Lock Status. In addition to Google FRP, some Huawei devices (especially newer models running HarmonyOS) also have a Huawei ID Activation Lock. After a factory reset, the device may ask for the Huawei ID and password that was previously registered on the device. Make sure you have access to your Huawei ID credentials before performing the reset, particularly if you are resetting a second-hand device purchased from someone else.
Tips: Looking for an all-in-one mobile management software? Look no further than Dr.Fone App - the ultimate choice for all your needs:
For iOS Users: Free up space with Smart Clean, remove any restriction including screen lock, iCloud activation lock, MDM, or Apple ID, and transfer data easily between devices with our all-in-one iOS solution.
For Android Users: Bypass screen locks and FRP with our Android unlocker, change your location with one click, and repair damaged Samsung devices with ease.
Discover more possibilities for mobile management solutions with Dr.Fone App (iOS) and Dr.Fone App (Android). Don't miss out, try it now and revolutionize your smartphone experience.
Part 2: How to Reset Huawei Phone When Locked?
If your Huawei phone is currently locked and you cannot access the Settings menu, you will need to use one of the following external methods to perform the reset. There are three primary approaches: remotely via Google's Find My Device service, locally via hardware key combinations in Recovery Mode, or through a dedicated third-party tool. Each method has different requirements, and the best one for you depends on whether your Google account was previously linked to the device and whether the hardware key method is accessible on your specific Huawei model.
Method 1: How to Reset Huawei Phone When Locked Using Google's Android Device Manager
Google's Android Device Manager—officially known as Find My Device—is a free, built-in Google service that allows you to remotely locate, lock, and erase any Android device linked to your Google account. For this method to work on a locked Huawei phone, the following prerequisites must be met: (1) the device must have been signed in to a Google account prior to the lockout, (2) the Huawei phone must be powered on and connected to the internet (via Wi-Fi or mobile data), and (3) "Find My Device" must have been enabled in the device's Google settings. If all these conditions are satisfied, you can remotely trigger a factory reset from any web browser—without physically touching the phone.
Steps to reset Huawei phone using Google Android Device Manager

- Step 1. Open a web browser on your PC or another device, go to google.com/android/find, and sign in using the Google account that was linked to your locked Huawei phone.
- Step 2. Once signed in, a list of devices associated with your Google account will be displayed on the screen. Select the specific Huawei phone you wish to unlock and reset from this list.
- Step 3. From the available action options shown on the left panel, click on ERASE DEVICE. This initiates the remote factory reset command.
- Step 4. A confirmation prompt will appear. Click ERASE DEVICE again to confirm. You may be asked to re-enter your Google account password to authorize the action. Once confirmed, the erase command is sent to your device and the factory reset process will begin automatically.
Once the erase process is complete, your Huawei phone will reboot and display the initial setup screen. Note that after the reset, you will be prompted to verify the Google account previously synced to the device as part of the FRP protection process.
Method 2: How to Hard Reset Huawei Phone Using Hardware Keys
Performing a hard reset on a Huawei phone using the physical hardware buttons is one of the most widely used methods to factory reset a locked device—and it works even without an internet connection or a computer. This method boots the device into Recovery Mode, a special diagnostic environment that exists independently of the main Android OS. From Recovery Mode, you can wipe all user data and return the device to its original factory state. Note that this process will delete all data on the device, including apps, contacts, photos, and account information stored locally.
The standard hardware key combination for most Huawei phones (including Mate series, P series, Y series, and Nova series) is Volume Up + Power Button. On some older Huawei models, you may need to use Volume Down + Power Button instead. If the first combination doesn't work, try the alternate combination.
Steps to hard reset Huawei Phone
- Step 1. Press and hold the Power button for several seconds until the device powers off completely. Wait a few seconds after the screen goes dark before proceeding.
- Step 2. With the device powered off, press and hold both the Volume Up and Power buttons simultaneously. Keep both buttons held down for approximately 10–15 seconds until the Huawei logo or a loading screen appears.
- Step 3. Release the buttons when Recovery Mode loads on the screen. You will see a text-based menu. Use the Volume Up and Volume Down buttons to navigate through the menu options and highlight Wipe data/factory reset. Press the Power button to confirm your selection.
- Step 4. A confirmation screen will appear asking you to verify the action. Using the Volume buttons to highlight Yes, then press the Power button to confirm. This tells the system you understand the reset will erase all data.
- Step 5. A second confirmation prompt may appear labeled Wipe data/factory reset. Press the Power button once more to begin the reset process.
- Step 6. The factory reset process will now run automatically. This typically takes 1–3 minutes. When it is complete, use the Volume buttons to highlight Reboot system now and press the Power button to restart your device. The phone will boot up to the initial setup screen, indicating the reset was successful.

Method 3: An Efficient Alternative to Reset Locked Huawei Phone
If Methods 1 and 2 are not viable for your situation—for example, if Find My Device was not enabled, or if your Huawei phone model uses a non-standard key combination that does not trigger Recovery Mode—then Dr.Fone-Screen Unlock (Android) is the most reliable alternative. This professional desktop tool for Windows and Mac is specifically designed to bypass and remove all types of screen locks on Android devices, including PIN, password, pattern, Face ID, and fingerprint locks—without requiring you to enter Recovery Mode or have your Google account credentials on hand.
Dr.Fone – Screen Unlock supports a wide range of Huawei models running both EMUI and HarmonyOS, as well as other popular Android brands including Samsung, LG, Oppo, Vivo, and Xiaomi. The tool performs the unlock process without rooting your device, making it a safe and non-destructive solution for most users. It is particularly useful in cases where the hardware key method fails, the device's Recovery Mode is inaccessible, or you need a guided, step-by-step unlocking experience with on-screen prompts.
The screen lock removal process does not require rooting, and all operations are performed through a simple, guided interface—making it accessible to users with no technical background. The software is completely safe to use and does not transmit personal data to external servers.

Dr.Fone - Screen Unlock (Android)
The Best Tool for factory reset Huawei Phone When Locked
- Work perfectly to reset your Huawei without a password.
- It's the only solution available that works with both Windows and Mac to help you regain access to your device easily.
- Everybody can handle it without any technical background.
- Except for resetting, it also unlocks the locked Huawei if you are using a PIN, fingerprint, or other screen locks.
Steps on how to factory reset Huawei phone without password using Dr. Fone - Screen Unlock
- Step 1. Download, install, and launch the Dr.Fone software on your PC or Mac. From the main interface, select the Screen Unlock module from the available tool categories.
- Step 2. Connect your locked Huawei phone to your computer using a USB data cable. Ensure USB debugging is enabled if prompted (Dr.Fone will guide you through enabling it if needed). Once connected, select the Unlock Android Screen option from the interface.

- Step 3. From the brand selection screen, choose Huawei from the list of supported manufacturers. Selecting the correct brand ensures the tool enters the appropriate unlocking mode for your specific device firmware and security configuration.

- Step 4. Dr.Fone will automatically guide the device into the correct unlock mode and begin the screen lock removal process. Follow any on-screen instructions as they appear. The unlocking process typically completes within a few minutes. Once finished, your Huawei phone will restart and you will be able to access it without a password or PIN.

Part 3. How to Reset Huawei Phone in Normal Cases (Without Being Locked)?
If your Huawei phone is accessible and you are not locked out, you have two straightforward methods to perform a factory reset: through the built-in Settings menu or by using the Huawei factory reset code (also called a secret dial code). These methods are ideal for resetting a device before selling it, clearing performance issues, or starting fresh with a clean install. Both approaches are quick, require no additional tools, and can be completed directly on the device itself.
Method 1: How to Factory Reset Huawei Phone Through the Settings Menu
The most straightforward way to factory reset a Huawei phone in normal (unlocked) conditions is through the device's built-in Settings application. This method does not require entering Recovery Mode and works on all Huawei phones running EMUI 5.0 and later, as well as HarmonyOS 2.0 and above. Before using this method, it is strongly recommended to back up your data using Huawei Phone Clone or Google Backup, as all personal data will be permanently erased.
- Step 1. On your Huawei phone, open the Settings app (gear icon). Scroll down and tap on General Management or System, depending on your EMUI/HarmonyOS version. Then look for the Backup and Reset option within the Personalization section or under System & Updates on newer models.
- Step 2. Tap on Factory Data Reset. The screen will display a summary of what will be deleted, including accounts, apps, media files, and personal settings. Review this information carefully.
- Step 3. Scroll to the bottom of the page and tap the Reset Device (or Reset Phone) button. Enter your screen lock PIN or password if prompted to authorize the reset. The device will restart and begin the factory reset process automatically, returning to factory defaults within a few minutes.
Once the reset is complete, the device will reboot to the initial Welcome/Setup screen. You will need to complete the initial device setup and, if applicable, verify your Google account credentials due to FRP protection.
Method 2: How to Use the Huawei Factory Reset Code to Reset Your Phone
Every Android device supports a set of secret dial codes (also known as USSD codes or engineering codes) that can access hidden menus and system functions—including a factory reset. For Huawei phones, the most commonly used Huawei factory reset code is *#*#2846579#*#*, which opens the ProjectMenu—a built-in diagnostic and maintenance interface. This method works on most Huawei phones running EMUI and is particularly useful as a quick alternative to navigating through multiple Settings menus. Note that this method only works if the device is unlocked and you have access to the Phone dialer.
- Step 1. Open the Phone (dialer) app on your Huawei device. Using the keypad, type the code *#*#2846579#*#* exactly as shown. The ProjectMenu will launch automatically as soon as the last character is entered—you do not need to press the call button.
- Step 2. Inside the ProjectMenu, navigate to and tap on the Restore Factory (or Restore Factory Settings) option. The exact label may vary slightly depending on your EMUI version.
- Step 3. A final confirmation prompt will appear to prevent accidental resets. Tap OK to confirm and authorize the factory reset. The device will immediately begin the reset process and reboot to factory defaults.
These two methods are also applicable if you need to factory reset a Huawei tablet without a password in unlocked conditions, as the same Settings and dial-code approaches work across Huawei's tablet lineup. Additionally, we recently covered a method of how to bypass the Google account on Huawei after a factory reset, which has been tested across multiple Huawei models with varying results depending on the Android and EMUI version in use.
Dr.Fone App (iOS) & Dr.Fone App (Android)
Your One-Stop Expert for Screen Unlock, Smart Clean, Data Recovery, Change Location, and Phone Management of Mobile Devices!
- Effortlessly unlock various locks on your device.
- Instantly free up storage space by smart clean.
- Rapidly recover different kinds of lost phone data and information.
- Easily changes GPS location on Android devices.
- Easily manage cluttered and private device content.
Conclusion
Regaining access to a locked Huawei phone is entirely achievable with the right method. For remote resets, Google's Find My Device is a free and effective solution—provided your Google account was previously linked and the device is online. For offline resets, the hardware key combination method is reliable and requires no additional tools. And if both of those options are unavailable or unsuccessful, Dr.Fone – Screen Unlock (Android) stands out as the most comprehensive and user-friendly solution—capable of removing all types of screen locks across virtually all Huawei models without rooting. For users in normal (unlocked) situations, both the Settings menu method and the Huawei factory reset code offer quick, hassle-free ways to wipe and reset the device. Choose the method that best matches your current situation and follow the step-by-step guide above to get your Huawei phone working again.
Frequently Asked Questions
Q1: How do I reset my Huawei phone when locked without a computer?
If your Huawei phone is locked and you don't have access to a computer, the best method is to use the hardware key combination to boot into Recovery Mode. Turn off the device, then press and hold Volume Up + Power simultaneously until the Recovery Mode menu appears. From there, select Wipe data/factory reset using the Volume buttons to navigate and the Power button to confirm. This method works entirely offline without any computer required. Alternatively, if your phone is online and was linked to a Google account, you can use Google Find My Device (google.com/android/find) from another phone's browser to remotely trigger the erase.
Q2: What is the Huawei factory reset code?
The most commonly used Huawei factory reset code is *#*#2846579#*#*. Entering this code in your phone's dialer app launches the ProjectMenu—a built-in Huawei diagnostic interface. From there, select Restore Factory and confirm to initiate the reset. This code works on most Huawei phones running EMUI and is a quick alternative to navigating through Settings menus. Keep in mind that this method only works when your phone is unlocked and the screen is accessible—it cannot be used to bypass a screen lock directly.
Q3: How do I factory reset a Huawei phone without a password?
To factory reset a Huawei phone without a password, you have two main options depending on your situation. First, you can boot into Recovery Mode using the hardware key combination (Volume Up + Power) and select Wipe data/factory reset—this bypasses the screen lock entirely. Second, if you prefer a guided solution, Dr.Fone – Screen Unlock (Android) can remove any type of screen lock (PIN, pattern, password, Face ID, fingerprint) from your Huawei device without needing the current password and without rooting the device. Both methods result in a complete factory reset, so ensure you've backed up any recoverable data before proceeding.
Q4: How do I wipe my Huawei phone when locked and I forgot the password?
If you need to wipe a locked Huawei phone after forgetting your password, the most effective methods are: (1) Recovery Mode hard reset—power off the phone, press and hold Volume Up + Power to enter Recovery Mode, and select "Wipe data/factory reset"; (2) Google Find My Device—log in at google.com/android/find and use the "Erase Device" option remotely if the phone is online; or (3) Dr.Fone – Screen Unlock—connect the phone to a PC and use the software to automatically remove the screen lock without any password. After wiping, you'll need to complete the Google account FRP verification step using the previously synced Google account credentials.
Huawei Mobile
- Huawei Manage
- 1. Enter Recovery Mode on Huawei
- 2. Backup and Restore Huawei Phones
- 3. Huawei Data Recovery
- 4. Make Huawei Mobile Wifi Easy
- 5. Top 6 Huawei Data Recovery Tools
- 6. Hard Reset Huawei Phones
- Huawei Transfer
- 1. Transfer from Huawei to Mac
- 2. Transfer from Huawei to PC
- 3. Transfer from Huawei to iPhone
- 4. Transfer from Huawei to Samsung
- 5. Transfer from iPhone to Huawei
- 6. Best Phone Clone alternative
- 7. WhatsApp from iPhone to Huawei
- 8. WhatsApp from Huawei to Android
- 9. WhatsApp from Huawei to iPhone
- 10. Top Huawei Data Transfer Apps
- 11. A Detailed Guide of Huawei Clone
- Huawei Unlock
- 1. Forgot Huawei Phone Password
- 2. Unlock Huawei E303 Modem
- 3. Unlock Huawei E3131 Modem
- 4. Unlock Bootloader on Huawei P8
- 5. Unlock Huawei with Video Guide
- 6. Factory Reset Huawei When Locked
- 7. Top 6 Huawei Modem Unlockers
- 8. Huawei Unlock Secret Codes
- 9. Huawei Unlock Code Calculators
- 10. Remove Huawei ID Activation Lock
- 11. Bypass FRP Huawei Honor 9 Lite
- 12. Tips About Huawei FRP Bypass
- 13. Guide About Huawei FRP Code
- 14. Top Huawei Bypass FRP Tools
- Huawei Problems
- 1. Honor 7A Touch Not Working
- 2. Top 9 Huawei Phone Problems
- 3. Huawei Touch Screen Not Working
- 4. Fix Huawei Battery Problems
- 5. Huawei Phone Won't Turn On
- Huawei Alternatives
- 1. Huawei P50 Pro vs Galaxy S22 Ultra
- 2. Samsung Galaxy S10 vs Huawei P20
- 3. iPhone 13 Pro Max vs Huawei P50 Pro
- Huawei Tips
- 1. Update Android 6.0 for Huawei
- 2. Fake GPS on Huawei to Get More Fun
- 3. Setup Huawei as A Wifi Hotspot
- 4. Guide About MirrorShare Huawei
- 5. Top Huawei Screen Mirroring Apps
- 6. Root Huawei P9 Safely
- 7. Enable USB Debugging on Honor
- 8. Review of Huawei Mate 60 Series
- 9.Huawei Mate 50 VS Mate 50 Pro
- 10.Huawei Mate 40 Series Comparison
- 11.Upgrade Huawei Mate 50 Pro to 60 Pro
- ● Manage/transfer/recover data
- ● Unlock screen/activate/FRP lock
- ● Fix most iOS and Android issues
- Manage Now Manage Now Manage Now




Alice MJ
staff Editor