What a factory reset does and when you need one

A factory reset erases everything on your Android phone — all apps you installed, photos, messages, contacts, and settings — and returns it to the state it was in when it left the factory. This is different from a regular restart. A restart turns the phone off and back on but keeps all your data. A factory reset removes all of it.

You might need a factory reset if your phone is running slowly, freezing constantly, or acting strangely after installing an app. You also need one if you are selling or giving away the phone and want to make sure the next person cannot access your accounts or files. A reset can also fix problems where the phone will not turn on or gets stuck on the startup screen.

Before you reset, understand that this action cannot be undone. Once you start the reset, you cannot stop it and recover your data from the phone itself. Back up anything you want to keep first.

Key Takeaways

  • A factory reset deletes everything on your phone and returns it to its original state, and this action cannot be reversed.
  • Back up your photos, contacts, messages, and any other data you want to keep before starting the reset process.
  • You can reset your phone through Settings on the phone itself, or through a computer if the phone will not turn on or respond.
  • After the reset completes, you will need to sign in with your Google account and reinstall any apps you want to use.
  • If you are giving the phone to someone else, a factory reset removes your personal data but does not remove the phone's security lock unless you sign out first.

Back up your data before you start

The easiest way to back up an Android phone is through your Google account. Open Settings, then tap Google (or Accounts on some phones), then tap your Google account name. Look for an option that says Manage your Google Account or Account services. Tap the Data & Privacy tab, then scroll down and tap Data from apps and services. Make sure the toggle next to Web & App Activity is turned on. This backs up your contacts, calendar, Gmail, and app data automatically.

For photos and videos, open the Google Photos app (or download it from the Google Play Store if you do not have it). Tap your profile picture in the top right, then tap Photos settings, then Backup and sync. Turn on the toggle. This uploads your photos to your Google account so you can download them later on any device.

If you have messages, notes, or files stored only on your phone and not in an app, connect your phone to a computer with a USB cable and copy them to a folder on the computer. Some phones also let you back up to a memory card — check your phone's manual to see if yours does.

Reset through Settings if your phone is working

If your phone turns on and responds normally, the easiest reset method is through the Settings app. Open Settings and scroll down to find System or About phone (the exact name varies by manufacturer). Tap it.

Look for an option called Reset options, Reset, or Factory reset. Tap it. You may see two choices: Erase all data and Reset to factory settings. Both do the same thing — choose either one. The phone will ask you to confirm by entering your PIN, pattern, or password. Enter it.

The phone will show a warning that all data will be erased. Read it to make sure you understand, then tap the button to confirm (usually labeled Erase all data or Reset phone). The reset will start immediately. Do not turn off the phone or remove the battery while it is resetting — let it finish completely, which usually takes 5 to 15 minutes.

When the reset finishes, the phone will restart and show the setup screen, as if it were brand new. You can now sign in with your Google account to restore your contacts, calendar, and app data.

Reset using recovery mode if the phone will not start normally

If your phone will not turn on, gets stuck on the startup screen, or will not respond to touch, you can reset it using recovery mode. This is a special menu built into every Android phone that works even when the normal system does not.

To enter recovery mode, turn off the phone completely. Then press and hold the Power button and Volume Up button at the same time for about 10 seconds. On some phones (particularly Samsung), you hold Power and Volume Down instead. If the phone vibrates or shows a logo, keep holding the buttons until you see a menu with white text on a black background.

Use the Volume buttons to move up and down through the menu. Look for an option that says Wipe data/factory reset or Factory reset. Press the Power button to select it. The phone will ask you to confirm — use the Volume buttons to highlight Yes and press Power to confirm. The reset will begin. This takes longer than a reset through Settings, sometimes 10 to 20 minutes. Do not interrupt it.

When it finishes, you will see a menu again. Select Reboot system now and press Power. The phone will restart and show the setup screen.

Reset from a computer using Android Debug Bridge

If recovery mode does not work or your phone is completely unresponsive, you can reset it from a Windows or Mac computer using a tool called Android Debug Bridge (ADB). This method requires a USB cable and takes more steps, but it works when nothing else does.

First, download and install Android SDK Platform Tools on your computer. Go to developer.android.com/studio/releases/platform-tools in a web browser, download the file for your computer type (Windows or Mac), and unzip it to a folder you can find easily.

Connect your phone to the computer with a USB cable. On Windows, open a Command Prompt window in the folder where you unzipped Platform Tools (right-click in the folder and select Open Command Prompt here). On Mac, open Terminal and type cd followed by the path to the folder.

Type this command and press Enter: adb devices. If your phone appears in the list, it is connected. Then type: adb shell recovery --wipe_data and press Enter. The phone will restart into recovery mode and begin the reset automatically. This method bypasses the confirmation screens, so use it only when you are certain you want to reset.

What to do after the reset is complete

When your phone finishes resetting and restarts, it will show the setup screen as if it were brand new. You will 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 — this will restore your contacts, calendar, Gmail, and any apps you had installed from the Play Store.

After you sign in, the phone will spend several minutes downloading and reinstalling your apps in the background. Let it finish before you use the phone heavily. You can check the progress by opening the Play Store and tapping your profile picture, then Manage apps & device.

Your photos and videos will not automatically reappear unless you backed them up to Google Photos. If you did, open the Google Photos app, sign in, and tap your profile picture, then Photos settings, then Backup and sync. Turn on the toggle and the app will download your photos back to the phone.

If you backed up files or messages to a computer, connect the phone to the computer again and copy them back to the phone. You will need to reinstall any apps that were not from the Google Play Store (like banking apps or games you sideloaded) manually.

Removing your Google account before giving the phone away

If you are giving or selling the phone to someone else, a factory reset alone is not enough to fully secure it. After the reset, the phone will still be locked to your Google account — the new owner will not be able to use it until they sign in with your account or you remove the account first.

Before you reset, go to Settings, tap Google or Accounts, tap your Google account name, then tap Remove account. Confirm the removal. This removes your account from the phone so the new owner can set it up with their own account after the reset.

After you remove your account, perform the factory reset as described above. When the reset finishes and the phone restarts, it will ask for a Google account to set up, but it will not require your account specifically. The new owner can sign in with their own account.

Frequently Asked Questions

Will a factory reset remove viruses or malware from my phone?

A factory reset will remove most malware because it deletes all apps and files. However, some advanced malware can hide in the phone's firmware (the core system software). If you suspect serious malware, a factory reset is still your best option, but consider taking the phone to a repair shop afterward if problems continue.

Can I undo a factory reset if I change my mind?

No. Once a factory reset completes, the data is gone and cannot be recovered from the phone. This is why backing up before you reset is critical. If you backed up to Google Photos or your Google account, you can restore that data after signing back in, but anything not backed up is lost permanently.

What if my phone gets stuck during the reset?

If the reset appears to freeze and does not progress for more than 30 minutes, try forcing the phone to restart by holding the Power button for 10 seconds until it turns off. Then turn it back on. If it is still stuck, try the reset again from recovery mode. If that also fails, contact the phone manufacturer's support line or visit a repair shop.

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 stores your phone number and carrier information separately from the phone's storage. You can leave it in during the reset.

Will resetting my phone remove the lock screen password?

Yes. A factory reset removes all passwords, PINs, and patterns. After the reset, the phone will have no lock screen security until you set one up again during the setup process. This is why you should remove your Google account before giving the phone to someone else — otherwise they will be locked out by your account's security.