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: 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 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 that you have the security information before you reset your your device.

  1. Make 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. Make 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, make 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 helpful?
How can we improve it?