How to Factory Reset an Android Phone Without Losing Data
A factory reset wipes your Android phone clean. Learn the Pixel and Samsung steps, what to back up first, and how to avoid the lock that blocks setup.
- Back up photos, messages and files before you reset. A reset cannot be undone.
- The account lock survives a reset, so handle accounts before you wipe.
- Pixel: Settings > System > Reset options > Erase all data (factory reset).
- Samsung: Settings > General management > Reset > Factory data reset.
- If the phone will not start, use recovery mode with the volume and power buttons.
What a factory reset actually does
Factory resetting takes your phone back to the state it was in when it left the factory. Apps, photos, messages, files, accounts and settings are deleted from built-in storage. Afterwards the phone shows the same first-time setup screen you saw when it was new. This clean slate is why people reset a phone before selling it or giving it away. It also helps when a phone keeps crashing and nothing else fixes it.
The word reset can mislead. Resetting is not the same as restarting your phone, and it is not the same as resetting only your settings. Restarting clears nothing at all. Resetting settings keeps your apps and files, and only returns choices like Wi-Fi passwords to their defaults. Only a full reset removes everything you added.
Two things survive a reset. First, anything stored on a memory card stays put, because the reset only touches built-in storage. Take the card out if you want it gone too. Second, anything already saved to your Google account stays in the cloud and comes back when you sign in again. Photos and files that only live on the phone do not come back, so check where each thing lives before you tap anything. A phone managed by an employer or school may refuse to reset, so ask whoever manages it first.
| At a glance | Answer |
|---|---|
| What it erases | Apps, photos, accounts, settings |
| What survives | Memory card and SIM card |
| Pixel path | Settings > System > Reset options |
| Samsung path | Settings > General management > Reset |
| Undo after reset | No, it cannot be undone |
Back up first, then sign out of your accounts
Start by saving what you want to keep. Head to Settings, tap Google, then tap Backup, and run a backup now. Contacts, messages, call history and app data all land in your Google account. Photos need a separate check, so open your gallery app and confirm your pictures are backed up. Last month's backup will not save the photos you took yesterday, so wait until this one finishes. Check the date of the last backup on that screen, and wait until it shows today.
Next, remove the lock that ties the phone to you. Android has a security feature called Factory Reset Protection, or FRP for short. It asks for the previous owner's Google account after a reset, so a stolen phone cannot be set up by a stranger. Handy while the phone is yours, it becomes a problem when you hand the phone to someone else and forget to switch it off. Remove your Google account before you reset, and the next owner can set the phone up without your password.
Removing the account is simple. On a Pixel or most other Android phones, open Settings, tap Passwords, passkeys and accounts, tap your Google account, then tap Remove account and confirm. Galaxy phones put it under Settings, then Accounts and backup, then Manage accounts. Remove a Samsung account too, since Samsung asks for its password during the reset. After removing it, open the accounts list again to check that it is gone. Removing an account asks for your screen lock, so have your PIN or password ready. Keeping the phone yourself? Skip this step.
How to factory reset an Android phone
On most Android phones, including Google Pixel phones, the reset hides in the same place. Its button is called Erase all data (factory reset), which says exactly what it does. Your phone asks you to confirm more than once, so a stray tap cannot wipe it by accident. Plug the phone in or check the battery first, and never start with a nearly flat battery.
When the phone turns back on, it shows the welcome screen. Seeing the welcome screen means the reset worked. From there you can sign in with your Google account, restore your backup and set the phone up again. Passing the phone on? Stop at the welcome screen instead and leave the setup for the new owner.
Menu names can shift a little between phone makers and Android versions. Some phones put the reset under System and then Advanced, or under About phone instead. Look for the same words either way: reset options and erase all data. Cannot find System? Try the search box at the top of Settings and type reset. That search takes you straight to the right screen on most phones.
- Launch the Settings app.
- Tap System.
- Go into Reset options.
- Select Erase all data (factory reset).
- Read the list of what will be erased, then tap Erase all data.
- Enter your PIN, pattern or password when asked.
- Confirm with a final tap on Erase all data, and the phone restarts and wipes itself over the next few minutes.
How to factory reset a Samsung Galaxy phone
Samsung phones run the same Android underneath, but Samsung rearranges the menus. Its version of Android is called One UI, and it puts the reset under General management instead of System. Older Galaxy phones use the same menu names, so the path should look familiar.
Before the last tap, the phone shows the same warning: everything on the phone will be gone. Read that list, because it names the accounts that will be removed, including your Google and Samsung accounts. Anything on the list that surprises you means stop and back it up before you go on. Newer Galaxy phones also offer a temporary cloud backup on the same screen. Treat that as a safety net, not your main backup.
Galaxy phones also carry lighter resets on the same Reset menu. Reset all settings returns your choices to their defaults without deleting your apps or files. Reset network settings clears only Wi-Fi, Bluetooth and mobile settings. Those are worth trying first when the trouble is a bad connection or a setting gone wrong. One misbehaving app is a smaller job: force-stop it or clear its cache first.
- Go to Settings.
- Open General management.
- Open Reset.
- Tap Factory data reset, then read the list of accounts and data that will be removed.
- Scroll down and tap Reset.
- Press Delete all.
- Type in your PIN, pattern or password. If a Samsung account is signed in, enter its password too.
- Wait while the phone resets and restarts on its own.
| Phone | Menu path |
|---|---|
| Google Pixel and most Android phones | Settings > System > Reset options > Erase all data (factory reset) |
| Samsung Galaxy | Settings > General management > Reset > Factory data reset |
When the phone will not open Settings, use recovery mode
Sometimes the phone will not start properly, or you cannot get past the lock screen. Settings is then out of reach, and the buttons on the phone are the only way in. Every Android phone has a hidden menu called recovery mode, which runs before Android itself starts. Plain text fills the screen, and one of its options wipes the phone. For a Galaxy phone, hold power and volume up with the phone plugged into a charger or computer by USB. Button combinations differ by maker, so check your phone maker's support page if these steps do not work.
Recovery mode asks for nothing on screen except button presses, so it feels strange the first time. Volume buttons move the highlight, and the power button acts as the enter key. There is no touch screen here, and no back button to undo a choice once it is confirmed. Look at each line before you press anything, and stop if the screen shows a menu you do not recognise. If the phone shows a small Android robot lying down, press and hold the power button, then press volume up once to open the menu.
The same account lock applies after a recovery-mode wipe, so keep your account details somewhere safe.
- Turn the phone off completely.
- Open recovery mode with the button combination for your phone. Most makers use the power button plus a volume button, pressed together, and your phone maker's support page lists the exact keys for your model.
- Highlight Recovery mode with the volume buttons, then press the power button to open it.
- Move the highlight to Wipe data/factory reset with the volume buttons.
- Use the power button to select it.
- Select Yes: delete all user data, or the matching confirm line on your phone. Wording differs between makers.
- When the wipe finishes, choose Reboot system now.
After the reset, and the mistakes to avoid
Once reset, a phone behaves like a new one. At the welcome screen, pick a language, connect to Wi-Fi and sign in with a Google account. Keeping the phone? Sign in with the same account you used before, and the phone offers to restore your backup. Accept that offer, and your contacts, messages and app list come back over the next few minutes.
Most people slip up by resetting before the backup finishes. They tap through the menus, then remember a folder of photos that was never copied anywhere. Forgetting the Google account password is the second common mistake. After a reset the phone asks for the account that was on it. Losing the password means a locked phone and a long wait for account recovery. Check both things before you start.
Buying a used phone brings its own trap. Some sellers hand over a phone that still asks for the previous owner's account. Such a prompt means the seller skipped the steps above, and the phone cannot be set up until they remove their account or sign in. Ask the seller to fix it before you pay, and test the phone in front of them if you can. One that reaches its welcome screen without asking for an old account is ready for a new owner.
Quick answers
Does a factory reset delete everything on my phone?
Yes. A reset clears the phone's built-in storage, so anything you added is gone. Things already saved to your Google account, such as contacts that sync, come back when you sign in again. Anything on a memory card stays put.
Can I reset a phone that will not boot past the lock screen or logo?
Sometimes. That only works if the phone still powers on far enough to reach recovery mode. Dead battery or dead hardware means the phone cannot reach it, and that needs service instead.
Do I need to take the SIM card out before a reset?
No, a reset does not erase the SIM card, and you can leave it in. Take it out only if you are passing the phone on, so the new owner cannot use your number.
What happens to my eSIM when I reset?
Your phone may ask during the reset whether to erase the eSIM as well. Keep it when the phone is staying with you, and erase it when passing the phone on. Lose the eSIM and your carrier can give you a new one.