How to factory reset an Android phone safely
Back up, remove your Google account so Factory Reset Protection can't lock out the next owner, then wipe. Stock Android and Samsung reset paths, step by step.

A safe factory reset is three moves in order: back up everything you want to keep, sign out and remove your Google account so the phone can’t lock the next owner out, then wipe it. On stock Android the button lives at Settings > System > Reset options > Erase all data (factory reset); on a Samsung Galaxy it sits under Settings > General management > Reset. Skip the sign-out step and Factory Reset Protection can leave you, or a buyer, staring at a login screen for an account that has already been erased.
Back up before you touch the reset button
A factory reset erases your internal storage completely, so the backup has to come first. Google’s own guidance for resetting an Android device to factory settings is to back up to your Google Account before you reset, and to make sure you know your Google Account username, password, and screen lock, because you will need all three afterward. Open a full backup of your Android phone and confirm it has actually finished before you go any further.
Then sweep for anything that lives only on the device: recent photos and video that have not synced yet, downloads, chat media, and offline files. If the phone feels broken because it is jammed rather than misbehaving, try to free up storage first; a reset is a heavy fix for a problem a cleanup often solves.
| Before you reset | Why it matters |
|---|---|
| Back up to your Google Account, and confirm it finished | The reset wipes local copies; the cloud copy is what you restore from |
| Copy off photos, downloads, and chat media not yet synced | Anything only on internal storage is gone for good after the wipe |
| Know your screen lock and Google password | Setup asks for them again to prove the phone is yours |
| Charge to at least 70% and stay on Wi-Fi | Google says a reset can take up to an hour and should not lose power midway |
Turn off the lockout trap: remove your account first
This is the step people skip and regret. Factory Reset Protection is the Android security feature that stops a stolen phone from being wiped and reused. After a reset, if a Google account was on the device, the phone demands proof of ownership before setup will finish, either your old screen lock or the password for a Google account that was already synced to it. Google is blunt about the stakes: if you cannot provide that during setup, “you won’t be able to use the device at all after factory reset.”
The fix is to remove the account before you wipe, not after. Google’s steps for resetting an old Android device are to open each Google account in Settings and choose Remove account, then run the reset. On a Samsung, sign out of your Samsung account too; the phone needs a network connection to do it, which is exactly why you sign out before the wipe, not after.
If the phone is leaving your hands, do all of this:
- Remove every Google account, and your Samsung account on a Galaxy.
- Take out the physical SIM card. It carries your number and sometimes contacts.
- Take out the microSD card. A factory reset targets internal storage, and the card is separate hardware you can move to the next phone. On Samsung, if the card was encrypted, decrypt it first or it may be unreadable elsewhere.
If your phone uses an eSIM instead of a plastic SIM, look for an option about erasing eSIMs during the reset, and check with your carrier before you wipe if you plan to keep the number.
Where the reset actually lives
Menu labels drift between Android versions and manufacturer skins, but the destination is the same: a full erase, not one of the smaller resets sitting next to it. The Reset options menu usually also holds narrower choices such as reset Wi-Fi and Bluetooth or reset app preferences, so read the label and pick the one that erases all data.
| Phone | Path to the full wipe |
|---|---|
| Stock Android (Pixel and most others) | Settings > System > Reset options > Erase all data (factory reset) |
| Samsung Galaxy (One UI) | Settings > General management > Reset > Factory data reset |
On stock Android you tap Erase all data and enter your screen lock before the wipe begins. On a Samsung, the factory-reset flow walks you through Reset, then Delete all, entering your screen lock and Samsung password if prompted. If the phone is lost or you cannot reach it, you can trigger a wipe remotely from Find My Device at android.com/find, signed in with the Google account on the device, though a remote wipe still leaves Factory Reset Protection in force for whoever sets it up next.
What a factory reset erases, and what it doesn’t
Google’s plain summary is that a reset “erases your data from the phone,” and while anything stored in your Google Account can be restored, “all apps and their data will be uninstalled.” The wipe clears internal storage only. It does not reach into your cloud backup, a SIM you removed, or an SD card you took out, and it does not, by itself, clear Factory Reset Protection. That lock only lifts when you remove the account beforehand.
| Erased by the reset | Left alone |
|---|---|
| Apps and their data | Data already backed up to your Google Account (restorable) |
| Photos, video, and files in internal storage | Files on a physical microSD card you removed |
| Accounts, settings, messages, and the screen lock | The phone number on a physical SIM you removed |
| Your local downloads and offline media | The Factory Reset Protection lock, unless you removed the account first |
Setting the phone up again from your backup
If you are keeping the phone, say you reset it to cure freezing or a stubborn glitch, restoring is built into first-time setup. Sign in with the same Google account you backed up to, and Android offers to bring back your apps, settings, and data. Reinsert your SIM and SD card. Because you are signing in with the account that was already on the device, Factory Reset Protection is satisfied automatically and never gets in your way.
Give the clean install a little hygiene while it is fresh. Reinstall only the apps you actually use rather than the whole old pile, sign back into the ones that matter, and take a minute to stop spam texts and robocalls on Android before the number starts drawing them again.
A reset is worth doing calmly and in order. Back up and confirm the backup, remove your Google and Samsung accounts, pull the SIM and SD if the phone is leaving your hands, then erase from Settings > System > Reset options or, on a Galaxy, Settings > General management > Reset. Doing those steps in that sequence is the whole difference between a clean handover and a phone nobody can sign into.