Reset your Android device to factory settings

You can remove data from your Android phone or tablet 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 device.

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

Note: Not all Android devices have settings in the same place or with the same names. For your specific device's settings, see your manufacturer's support site.

Get ready to factory reset

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

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 your device.

  1. Be sure that you know a Google Account on the device.
    1. Open your device'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 device. 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 device's PIN, pattern, or password. If you can't unlock your device, 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 device. 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 device into a power source. Keep it plugged in until the reset completes.
  2. Connect your device 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 Android device

  1. Open your device'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 or Reset tablet. If needed, enter your PIN, pattern, or password.
  4. To erase all data from your device's internal storage, tap Erase everything.
  5. When your device has finished erasing, pick the option to restart.
  6. Set up your device and restore your backed-up data.

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

Related articles

Was this article helpful?
How can we improve it?