What a factory reset does and when you need one

A factory reset erases all the data on your Android phone — your photos, messages, apps, contacts, passwords, everything — and returns the phone to the state it left the factory. After the reset completes, you'll see the same setup screen you saw when you first turned on the phone, and you can choose to set it up as new or restore from a backup.

People reset Android phones for three main reasons: selling or giving away the device and not wanting the new owner to see your data; troubleshooting a phone that's crashing, freezing, or running slowly; or removing malware or spyware you suspect is on the device. A reset won't fix a broken screen or a battery that won't hold a charge, but it will clear out software problems and unwanted files.

Before you start, understand that a factory reset is permanent. Once you confirm the reset, the data is gone. If you have photos, messages, or documents you want to keep, you need to back them up first — either to Google Drive, a computer, or another cloud service.

Key Takeaways

  • Back up your photos, messages, and any files you want to keep before starting the reset, because the process erases everything on the phone.
  • Most Android phones reset through Settings > System > Reset options > Erase all data, though the exact path varies by manufacturer and Android version.
  • The reset process takes 5 to 15 minutes and the phone will restart several times; do not turn off the phone or remove the battery during this time.
  • After the reset, you can restore your backed-up data by signing into your Google account during the initial setup, or you can set up the phone as completely new.

Back up your data before you start

The fastest way to back up an Android phone is to sign into your Google account and let Google automatically back up your contacts, calendar, app data, and some app settings. Go to Settings > Google > Manage your Google Account > Backup, and check that "Backup to Google One" is turned on. This happens in the background and doesn't require you to do anything else.

For photos and videos, open Google Photos, tap your profile picture in the top right, go to Photos settings, and turn on "Backup and sync." This uploads your photos to your Google account. If you have a lot of photos or a slow internet connection, this can take hours, so start it before you reset.

If you want to keep text messages, use a third-party app like SMS Backup+ (available on Google Play) to back up your messages to Gmail. Android does not back up text messages to your Google account by default, so if you don't use an app like this, your messages will be gone after the reset.

How to reset through Settings on most Android phones

On most Android phones made by Samsung, Google, OnePlus, Motorola, and others, the reset path is similar. Open Settings, scroll down and tap System (or About phone on older versions), then tap Reset options or Factory reset. You'll see a button that says "Erase all data" or "Factory reset." Tap it.

The phone will ask you to confirm by entering your PIN, pattern, or password — the same one you use to unlock the phone. This is a security step to prevent someone else from wiping your phone without permission. Enter it and tap Confirm or Erase.

The phone will show a countdown or progress bar and restart itself multiple times. This is normal. Do not turn off the phone, remove the battery, or unplug it during this process. Let it run until you see the setup screen again, which usually takes 5 to 15 minutes depending on how much data was on the phone.

Resetting a phone you're locked out of

If you forgot your PIN, pattern, or password and can't get into Settings, you can still reset the phone using the hardware buttons. The exact button combination varies by manufacturer: on most Samsung phones, hold Power + Volume Up + Bixby (or Volume Down on older models) until the recovery menu appears. On Google Pixel phones, hold Power + Volume Down. On OnePlus, hold Power + Volume Up.

Once the recovery menu appears, use the volume buttons to navigate to "Wipe data / factory reset" and press Power to select it. The phone will ask you to confirm by pressing Power again. After confirmation, it will reset and restart.

If you don't remember the button combination for your phone, search "[your phone model] recovery mode" online to find the exact steps. This method works even if the phone is locked, but you will lose all data — there is no backup option at this stage.

What happens after the reset is complete

When the reset finishes, you'll see the initial setup screen, just like when the phone was new. You can choose to set up the phone with your Google account or set it up as a new device without signing in.

If you sign in with your Google account, the phone will restore your backed-up contacts, calendar, and app data automatically. It will also reinstall apps you had before, though this can take 10 to 30 minutes depending on how many apps you had. Your photos and messages will not restore unless you backed them up separately to Google Photos or an app like SMS Backup+.

If you're selling or giving away the phone, do not sign in with your Google account. Instead, complete the setup without signing in, then power off the phone and hand it to the new owner. They will see the setup screen and can set it up with their own account.

Troubleshooting a reset that won't complete

If the phone gets stuck during the reset — the progress bar stops moving or the phone doesn't restart after 20 minutes — try a hard restart. Hold down the Power button for 10 to 15 seconds until the phone turns off completely, then turn it back on. The reset should resume or complete on restart.

If the phone is completely unresponsive and won't turn on, it may have run out of battery during the reset. Plug it into a charger and wait 15 minutes, then try to turn it on. If it still won't respond, you may need to take it to a repair shop or contact the manufacturer's support line.

If you're resetting because the phone is running slowly or crashing, and the reset doesn't fix the problem, the issue may be hardware-related rather than software-related. In that case, contact the manufacturer or a repair technician.

Frequently Asked Questions

Will a factory reset remove viruses or malware?

Yes, a factory reset will remove most malware because it erases all files and apps on the phone. However, if malware is stored in the phone's firmware (the lowest level of software), a factory reset may not remove it. If you suspect serious malware, back up only your essential data and consider having a technician inspect the phone before restoring anything.

Can I undo a factory reset?

No, a factory reset cannot be undone. Once you confirm the reset, the data is permanently erased. If you backed up your data to Google Drive or Google Photos before the reset, you can restore it after setup. If you didn't back up, the data is gone.

Do I need to remove my SIM card before resetting?

No, you do not need to remove your SIM card. A factory reset only erases the phone's internal storage, not the SIM card. Your phone number and carrier information will remain on the SIM card after the reset.

What if I forgot my Google password and can't restore my backup?

Go to the Google account recovery page on a computer or another device, enter your email address, and follow the steps to reset your password. Once you've reset your password, you can sign into your Google account on the phone during setup and restore your backed-up data.

How long does a factory reset take?

Most factory resets take 5 to 15 minutes from start to finish, including the time for the phone to restart. Phones with more data or older phones may take longer. Do not interrupt the process by turning off the phone or removing the battery.