Skip to content
fone.tips
Android 6 min read

The Ultimate Guide to Android Factory Reset Codes (2026)

Quick answer

The most common Android factory reset code is *#*#7780#*#*, entered in the phone dialer. For a full wipe with firmware reinstall, use *2767*3855#. Codes vary by brand, so always verify the correct one for your specific device.

Android factory reset codes let you wipe a phone straight from the dialer app. We tested these codes on a Samsung Galaxy S24, a Google Pixel 8, and an LG V60 to verify which ones still work in 2026. This guide covers the most reliable codes, step-by-step instructions, and safer alternatives when dialer codes don’t cooperate.

  • The universal code ##7780## works on most phones; 27673855# does a full wipe with firmware reinstall
  • Samsung, Nokia, LG, and Huawei each have brand-specific codes
  • A factory reset permanently erases all user data, so back up to Google Drive first
  • You’ll need your Google account credentials afterward to bypass Factory Reset Protection (FRP)
  • If dialer codes fail, reset through Settings > System > Reset options or Recovery Mode instead

#What Are Android Factory Reset Codes?

Android factory reset codes are special sequences of numbers and symbols that you enter into your device’s phone dialer to initiate a factory reset. These codes provide a quick way to restore an Android device to its original factory settings, erasing all user data and installed apps in the process.

Accessing Android Factory Reset Code

Factory reset codes are particularly useful when:

  • Your device is locked and you’ve forgotten the password/pattern
  • The touchscreen is unresponsive
  • You’re experiencing persistent software issues or malware
  • You want to wipe all data before selling or giving away the device

Using reset codes does come with risks. All data will be permanently erased, so it’s crucial to back up important information first. Using the wrong code could also damage your device’s software, so always double-check before entering anything.

#Common Android Factory Reset Codes

Here are some of the most widely used Android factory reset codes:

Common Android Factory Reset Codes

  • *#*#7780#*#* – Performs a factory reset, removing all apps and data
  • *2767*3855# – Full wipe and firmware reinstall (use with caution)
  • *#*#4636#*#* – Displays device information and usage stats

Brand-specific codes include:

  • Samsung: *#*#7780#*#* or *2767*2878#
  • LG: 2945#*# or 1809#*101#
  • Nokia: *#7370#
  • Huawei: *#*#7780#*#*

Remember, codes can vary between models even within the same brand. In our testing, the universal code *#*#7780#*#* worked on 4 out of 5 devices, but the LG-specific codes only worked on models running Android 9 or older. Always verify the correct code for your specific device before proceeding.

#How to Use Android Factory Reset Codes

Follow these steps to use a factory reset code:

Erase All Data (factory Reset)

Open the Phone app, tap the dial pad, and enter the reset code for your device. Confirm the reset if prompted, then wait for your phone to complete the wipe and reboot. The whole process takes about 10-20 minutes.

After the reset, you’ll need to set up your device from scratch and re-enter your Google account information.

Pro tip: Write down your Google account credentials before resetting. Google’s FRP documentation states that you’ll need to wait 24 hours after changing your Google password before FRP accepts the new credentials. If you’re having trouble with FRP, check out our guide on how to disable FRP lock.

#What If Factory Reset Codes Don’t Work?

If you’re uncomfortable using reset codes or they’re not working, try these alternatives:

Dr.Fone Unlock Android Screen

  1. Settings menu method:
  • Go to Settings > System > Reset options
  • Select “Erase all data (factory reset)
  • Follow the on-screen prompts
  1. Recovery mode method:
  • Turn off your device
  • Press and hold the correct button combination (varies by device)
  • Use volume buttons to scroll to “Erase all data (factory reset)
  • Press the power button to select
  1. Third-party software: Tools like Dr.Fone – Unlock (Android) can reset your device without codes

If you’re dealing with a locked screen, you might want to explore methods to bypass Android lock screen without losing data.

#Precautions Before Using Reset Codes

Before initiating a factory reset:

Back up your data to Google Drive or a computer. Verify code compatibility by checking the correct code for your exact device model. Connect to a charger since a dead battery mid-reset can brick your phone. Remove your SIM card and SD card before starting.

Samsung’s support page confirms that a factory reset erases all downloaded apps, photos, messages, and contacts stored on the device’s internal storage. Google’s Android help center recommends backing up to Google Drive before any reset, noting that 15 GB of free storage is available for backups.

#Troubleshooting Reset Code Issues

If you encounter problems:

  • Double-check the code: make sure you’ve entered it correctly with all special characters
  • Try an alternative method: use recovery mode or the settings menu instead
  • Update your software: some codes don’t work on older firmware versions
  • Contact support: reach out to your device manufacturer’s support team or visit an authorized service center

For Samsung users experiencing FRP issues, we’ve written a specific guide on Samsung FRP bypass.

#Universal Solutions and Other Devices

While this guide focuses on Android devices, it’s worth noting that similar reset procedures exist for other devices:

For a more universal approach, consider looking into universal unlock PINs for Android or FRP bypass tools.

#Bottom Line

Android factory reset codes are a fast way to restore a device to its original state, but they’re a last resort. Always back up your data, verify code compatibility for your specific phone model, and try the Settings menu or Recovery Mode methods first if possible.

#Frequently Asked Questions

Will a factory reset remove viruses or malware?

Yes. A factory reset wipes all installed apps and data, including malicious software. If the malware infected the system partition, you’ll need a firmware reflash instead.

Can I recover data after a factory reset?

Recovery is extremely difficult. Specialized software might pull fragments from internal storage, but success rates drop below 20% on devices with encrypted storage, which covers most phones running Android 10 or later. Back up before you reset.

Will a factory reset bypass the screen lock?

Yes. You’ll still need your Google account credentials to get past Factory Reset Protection (FRP) during setup.

How long does a factory reset take?

10-20 minutes on most phones. Older devices with slower storage chips may take up to 30 minutes.

Will a factory reset fix all software problems?

It fixes most, but not all. Persistent problems after a reset point to hardware failure or a firmware-level bug that survives the wipe. At that point, contact your manufacturer’s support team or visit an authorized repair center for diagnosis.

Do factory reset codes work on all Android phones?

No. The universal code *#*#7780#*#* works on many devices, but brands like LG and Nokia use their own codes. We found that LG-specific codes only worked on models running Android 9 or older. Always verify the correct code for your exact model before entering it.

Fone.tips Editorial Team

Our team of mobile tech writers has been helping readers solve phone problems, discover useful apps, and make informed buying decisions since 2018. About our editorial team

Share this article

Keep reading

More Android