Technology & Digital Life · Blog
How to factory reset an Android phone safely (and what to do first)
How to factory reset an Android phone: back up first, remove your Google account, reset from Settings or recovery mode, and avoid lockouts.

Short answerBack up your photos, messages and app data, then open Settings and go to System > Reset options > Erase all data (factory reset); on Samsung phones it is under General management > Reset. Confirm with your PIN and wait for the phone to restart. If you are selling or giving the phone away, remove your Google account first so Factory Reset Protection does not lock the next owner out.
Key takeaways
- A factory reset erases everything on the phone and returns it to its out-of-the-box state.
- Back up first: photos, contacts, messages, two-factor apps and anything stored only on the phone.
- Reset from Settings when you can; recovery mode is the fallback for a phone that will not start.
- Factory Reset Protection asks for the previous Google account after an untrusted reset.
- Remove your accounts before selling, and keep the phone charged during the reset.
A factory reset wipes an Android phone or tablet back to how it was when it left the factory. People usually reset a phone when it is slow or misbehaving, before selling or recycling it, or after a problem they cannot fix any other way.
It is a powerful fix, but it is also permanent. This All Informations guide covers what to do before you reset, the step-by-step process, how Factory Reset Protection works and what to check afterwards.
Note: menu names vary between phone makers and Android versions. The steps below follow Google’s own Android Help pages; your phone’s menus may use slightly different words.
What a factory reset does
A factory reset:
- Erases your apps, app data, photos and files stored on the phone, settings, saved Wi-Fi networks and accounts.
- Keeps the version of Android currently installed. It does not roll back system updates.
- Usually leaves a removable microSD card untouched.
- Does not delete your Google account or anything already synced to the cloud.
Modern Android phones encrypt their storage, which helps make a reset an effective way to make your old data unreadable before you pass the phone on.
When to factory reset (and when not to)
Good reasons:
- You are selling, trading in, giving away or recycling the phone.
- The phone is very slow, crashing or behaving oddly, and restarting, updating and removing recent apps has not helped.
- You want a completely fresh start.
Try these first if the phone is just slow or glitchy:
- Restart the phone.
- Install system and app updates.
- Free up storage space.
- Uninstall apps you installed just before the problem started.
- Use safe mode (on many phones, press and hold the power-off option) to see if a downloaded app is the cause.
Step 1: Back up everything you want to keep
Once the reset is done, data that was only on the phone is gone. Google’s Android Help explains how to back up and restore.
- Google backup: Settings > Google > Backup (or Settings > System > Backup). Turn it on and tap Back up now. This covers app data, call history, contacts, device settings and SMS messages on most phones.
- Photos and videos: check they are backed up in Google Photos or another cloud service, or copy them to a computer.
- Messaging apps: WhatsApp, Signal and others have their own backup settings. Check each one.
- Authenticator apps: if you use an app for two-factor authentication, make sure you can sign in without it, or move your codes to the new device first. Losing these is the most common way people lock themselves out after a reset.
- Files and downloads: copy anything important to cloud storage or a computer.
The 3-2-1 backup rule is a good habit for photos and documents in general.
Step 2: Know your Google account details
After a reset, you may be asked for the Google account and password that were on the phone. Make sure you know them, and that you can receive any verification codes. If you use passkeys, check you have them on another device too.
Step 3: Remove your accounts if you are passing the phone on
If someone else will use the phone after you, remove your Google account (and any Samsung or other maker account) before resetting:
- Settings > Passwords and accounts (or Accounts) > select your Google account > Remove account.
This avoids Factory Reset Protection blocking the new owner, which is explained below.
Step 4: Charge the phone and remove cards
- Charge it to at least 50% or keep it plugged in.
- Take out your SIM card and any microSD card.
Step 5: Reset from Settings
On most Android phones, including Google Pixel:
- Open Settings.
- Tap System > Reset options.
- Tap Erase all data (factory reset).
- Review what will be erased, then tap Erase all data.
- Enter your PIN, pattern or password if asked.
- Wait. The phone restarts and shows the setup screen when finished.
On Samsung Galaxy phones the path is usually Settings > General management > Reset > Factory data reset.
If you cannot find it, use the search bar at the top of Settings and type “reset”.
If the phone will not start: recovery mode
If the phone will not boot normally, you can usually reset from recovery mode. The button combination varies by maker, so check your manufacturer’s support pages. Typically you power off the phone, then hold the power button with a volume button until a recovery menu appears, use the volume buttons to choose the wipe or factory reset option and the power button to confirm.
A reset from recovery mode is treated as an untrusted reset, so Factory Reset Protection will apply.
Factory Reset Protection explained
Factory Reset Protection (FRP) is a security feature built into Android. According to Google’s Android Help, if a device is reset to factory settings in a way you did not authorise, for example from recovery mode rather than from Settings, only someone with the Google account or screen lock that was on the phone before can set it up again.
What this means in practice:
- If you are keeping the phone, have your Google account details ready and you will simply sign in again during setup.
- If you are selling or giving it away, remove your accounts first (Step 3). Otherwise the new owner will be asked for your account and cannot use the phone.
- If you bought a second-hand phone that asks for someone else’s account, contact the seller. Do not use tools that claim to bypass FRP; they may be unsafe, and a locked phone may be stolen.
Step 6: After the reset
- Setting up as new: sign in with your Google account and restore from your backup when offered, or choose to set up as a new device for a clean start.
- Reinstall apps carefully. If you reset because of a problem, avoid reinstalling apps you suspect caused it.
- Check security settings: set a screen lock, turn on Find My Device and check for updates.
- If you are selling: leave the phone on the welcome screen.
Common mistakes to avoid
These mistakes cause lost data or a locked phone.
- Not backing up: Back up photos, messages and app data first.
- Forgetting your Google password: Factory Reset Protection may ask for it after the reset.
- Leaving accounts on a phone you are selling: Remove your Google account before resetting.
- Forgetting the SIM and memory card: Take them out before handing the phone on.
Quick checklist before you reset
- Back up photos, contacts, messages and app data.
- Note your Google account email and password.
- Charge the phone to at least half.
- Remove your Google account if you are selling the phone.
- Take out the SIM card and any memory card.
A practical example: preparing a phone to sell

Say you are selling your old phone. First back it up to your Google account and check the backup on your new phone. Next, sign out of your Google account and any banking or messaging apps. Then open Settings and find the reset options (on many phones it is under System, Reset options) and choose to erase all data. After the reset, the phone should show the welcome screen with no account on it. Remove the SIM and memory card before you hand it over. Following these steps, as All Informations explains above, means the buyer can set it up without Factory Reset Protection locking them out.
Conclusion
A factory reset is the most thorough fix Android offers, and the right final step before selling a phone. Back up your data and two-factor codes first, remove your accounts if the phone is leaving your hands, reset from Settings when you can, and keep your Google account details ready because Factory Reset Protection may ask for them. Done in that order, it takes a few minutes and causes no nasty surprises.
For more plain-English help with phones and online safety, see what is a VPN and the All Informations technology guides.
Sources and further reading
These official and reference pages support the key facts in this guide and are good places to read more. All Informations checked every link on 25 November 2026.
Frequently asked questions
Does a factory reset remove viruses?
A factory reset removes apps and data you installed, which usually removes malicious apps. It does not fix problems in the phone's system software itself. Restoring an infected backup can bring a problem app back, so reinstall apps carefully.
Will a factory reset delete my Google account?
No. It removes the account from the phone, but the account and anything synced to it, such as Gmail, contacts and Google Photos backups, stay safe online.
What is Factory Reset Protection?
It is an Android security feature. If a phone is reset in an untrusted way, such as from recovery mode, it asks for the Google account or screen lock that was on it before. This stops a thief from simply wiping and using a stolen phone.
How long does a factory reset take?
Usually a few minutes to around half an hour, depending on the phone and how much data it held. Keep it plugged in or well charged.
Do I need to remove my SIM and memory card?
It is a good idea. A factory reset normally does not erase a removable microSD card, so take it out or format it separately if you are giving the phone away.



