What a factory reset does and when you need one

A factory reset erases everything on your Android phone — all apps, photos, messages, contacts, and settings — and returns it to the state it was in when it left the factory. After the reset completes, you'll see the same setup screen you saw the first time you turned the phone on.

You need a factory reset when you're selling or giving away the phone and want to remove your personal data, when the phone has become so slow or buggy that nothing else fixes it, or when you suspect malware or unauthorized access. A reset is also the nuclear option if you've forgotten your lock screen PIN or pattern and can't get back in — though this will erase everything, including any photos or files you haven't backed up elsewhere.

Before you start, understand that a factory reset is permanent and irreversible. Anything not backed up to Google Drive, Google Photos, or another cloud service will be gone. Take 10 to 15 minutes to back up what matters before you proceed.

Key Takeaways

  • Back up your photos, contacts, and important files to Google Drive or Google Photos before you reset, because everything on the phone will be erased.
  • You can reset through Settings on most Android phones, though the exact path varies slightly by manufacturer and Android version.
  • The reset process takes 5 to 15 minutes and the phone will restart several times — do not turn it off or unplug it during this time.
  • After the reset completes, you'll need to sign in with a Google account and go through the initial setup again, just like a new phone.
  • If you're locked out of your phone, you may be able to reset it from the lock screen or recovery mode, but this requires knowing your Google account password.

Back up your data before you reset

Open Settings and tap Google (or Accounts on some phones), then tap your Google account name. Look for Manage your Google Account and tap the Data & Privacy tab. Scroll down to Data from apps and services and tap Google Drive. Make sure Backup is turned on. This backs up your contacts, calendar, and app data automatically.

For photos and videos, open the Google Photos app, tap your profile picture in the top right, then tap Photos settings. Make sure Backup and sync is turned on. Google Photos will upload everything to your account — this can take an hour or more depending on how many photos you have and your internet speed, so start this step first and let it run in the background.

If you have files, documents, or other data stored directly on the phone that isn't in Google Drive or Google Photos, connect the phone to a computer with a USB cable and copy those files to your computer now. Once the reset starts, these files will be gone.

Reset through Settings if you can access your phone

Open Settings and scroll down to find System or About phone — the exact name depends on your phone's manufacturer. Tap it, then look for Reset options or Reset. Tap Erase all data (factory reset) or Reset phone.

The phone will ask you to confirm and may ask for your PIN, pattern, or password to prove you own the device. Enter it. The phone will then show a warning that everything will be erased — read it, then tap the button to confirm you want to proceed. Do not interrupt this process. The phone will restart and show a progress bar. This can take 5 to 15 minutes. Let it finish completely.

When the reset is done, the phone will restart and show the initial setup screen, just as if it were brand new. You'll be asked to choose a language, connect to Wi-Fi, and sign in with a Google account. Use the same Google account you used before the reset so your contacts, calendar, and backed-up app data will restore automatically.

Reset from the lock screen if you're locked out

If you can't unlock your phone because you've forgotten the PIN or pattern, you may still be able to reset it. On the lock screen, look for an option that says Forgot pattern, Forgot PIN, or Can't access your device. Tap it. The phone will ask you to sign in with your Google account — the one you used to set up the phone originally.

If you don't remember your Google password, go to a computer and visit accounts.google.com. Click Sign in, enter your email address, and follow the steps to reset your password. You'll need access to a recovery email address or phone number you set up with Google. Once you've reset your Google password, go back to your phone and enter the new password on the lock screen recovery option.

After you sign in with Google, the phone will ask if you want to reset it. Tap yes, and the reset will proceed the same way as through Settings. This method works on most Android phones, but some older models or heavily customized versions may not offer this option.

Reset using recovery mode if Settings won't open

If your phone won't turn on normally or Settings won't open, you can reset it using recovery mode. First, turn off the phone completely. Then hold down the Power button and Volume Down button at the same time for about 10 seconds. The phone will vibrate and show a boot menu or recovery screen — this looks different on every phone, but you're looking for an option that says Recovery Mode, Reboot to recovery, or similar.

Once in recovery mode, use the volume buttons to move up and down through the menu and the power button to select. Look for an option called Wipe data/factory reset or Format data/factory reset. Select it. The phone will ask you to confirm — select yes. The reset will proceed, and the phone will restart when done.

Recovery mode varies widely between phone manufacturers. If you're not sure which buttons to hold or what the menu looks like, search online for "[your phone model] recovery mode" to see the exact steps. Do not randomly press buttons in recovery mode, as some options can cause problems if selected by mistake.

What to do after the reset is complete

When your phone restarts after the reset, you'll see the initial setup screen. Choose your language and region, then connect to Wi-Fi. When prompted, sign in with your Google account — use the same account you used before the reset. The phone will automatically restore your contacts, calendar, email, and any apps you had installed from Google Play.

Photos and videos will restore from Google Photos if you turned on backup before the reset. This restoration can take 30 minutes to several hours depending on how much data you have. Let the phone sit plugged in and connected to Wi-Fi while this happens — do not unplug it or turn it off.

After restoration is complete, go back to Settings and check that your security settings are the way you want them. Set up a new PIN, pattern, or password if you're resetting because you forgot the old one. Turn on two-factor authentication on your Google account for extra security. If you're giving the phone to someone else, do not sign back in with your account — let them set up their own Google account during the initial setup instead.

Frequently Asked Questions

Will a factory reset remove my Google account from the phone?

The reset erases the phone's data, but you'll need to sign in with a Google account again during setup. If you sign in with the same account you used before, your data will restore. If you want to completely remove your account from the phone before giving it away, sign out of your Google account in Settings before you reset, then reset the phone without signing back in.

Can I undo a factory reset?

No. A factory reset is permanent. Anything not backed up to Google Drive, Google Photos, or another cloud service before the reset will be gone. This is why backing up before you reset is critical.

What if my phone gets stuck during the reset?

If the phone is stuck on a progress screen for more than 20 minutes, try holding the power button for 30 seconds to force it to shut down, then turn it back on. If it's still stuck, try the reset again from Settings or recovery mode. If the phone won't respond at all, contact the manufacturer's support line — a stuck reset is rare but can indicate a hardware problem.

Do I need to remove my SIM card before resetting?

No. A factory reset does not affect your SIM card or your phone number. Your SIM card will work normally after the reset. You do not need to remove it.

Will resetting my phone remove malware?

A factory reset will remove most malware because it erases everything on the phone and restores it to the factory state. However, if malware was installed on your Google account itself (not just on the phone), it could reinstall when you sign back in. After a reset, change your Google password and review which apps have permission to access your account in Settings.