Reset your Android device to factory settings

You can remove data from your phone by resetting it to factory settings. Resetting this way is also called "formatting" or a "hard reset."

Important: A factory reset erases all your data from your phone.

If you're resetting to fix an issue, we recommend first trying other solutions. Learn how to troubleshoot Android issues.

Note: Some of these steps work only on Android 9 and up. Learn how to check your Android version.

Get ready to factory reset

Step 1: Know the Google Account username & password on your phone

To restore your data after resetting, you'll need to enter security information. Entering the information shows that you or someone you trust did the reset.

Make sure you have the security information before you reset your phone.

  1. Be sure that you know a Google Account on the phone.
    1. Open your phone's Settings app.
    2. Tap Accounts.
    3. See a Google Account username.
  2. Be sure that you know the password for the Google Account on the phone. To confirm, sign in to that account on another device or computer. If you don't remember the password, get sign-in help.
  3. If you've set a screen lock, be sure that you know your phone's PIN, pattern, or password. If you can't unlock your phone, learn what you can do.

Tip: If you recently reset your Google Account password, wait 24 hours before performing a factory reset.

Step 2: Back up your data to your Google Account

A factory data reset will erase your data from the phone. While data stored in your Google Account can be restored, all apps and their data will be uninstalled.

To be ready to restore your data, make sure that it's in your Google Account. Learn how to:

Step 3: Plug in & connect

A factory reset can take up to an hour.

  1. Plug your phone into a power source. Keep it plugged in until the reset completes.
  2. Connect your phone to Wi-Fi or your mobile network. When the reset completes, you'll need to be connected to sign in to your Google Account.

Factory reset your phone

  1. Open your phone's Settings app.
  2. Tap System And then Advanced And then Reset options. If you don't see "Advanced," tap Reset options.
  3. Tap Erase all data (factory reset) And then Reset phone. If needed, enter your PIN, pattern, or password.
  4. To erase all data from your phone's internal storage, tap Erase everything.
  5. When your phone has finished erasing, pick the option to restart.
  6. Set up your phone and restore your backed-up data.

If you can't open your phone's Settings app, you can try factory resetting your phone using its power and volume buttons. We recommend seeing your manufacturer's support site for device-specific instructions.

Related articles

Was this helpful?
How can we improve it?