Why the order matters

Android phones have Factory Reset Protection (FRP). If a phone is reset while your Google account is still on it, the next person who sets it up must enter your Google account password. Samsung says removing the Google account first is what stops FRP from locking the phone after a reset. Both Google's and Samsung's trade-in programs return or reject phones that still have these locks on, and a private buyer will be stuck too.

Step 1: Back up what you want to keep

  1. Back up to your Google account and let Google Photos finish uploading. If you're moving to a new Galaxy, Smart Switch can copy everything directly or to a Windows PC or Mac.
  2. Back up WhatsApp separately inside the app (Settings > Chats > Chat backup). WeChat and banking apps also keep their own data, so move or note those before you wipe.
  3. On a Galaxy, Samsung notes Smart Switch doesn't copy hidden files or files in Secure Folder. Move anything important out of Secure Folder first.
  4. Charge to at least 70 percent and stay on Wi-Fi, as Google recommends. If you changed your Google password in the last 24 hours, wait until a full day has passed before resetting a Pixel.

Step 2: Remove your accounts and locks

Samsung Galaxy:

  1. Open Settings > Accounts and backup > Manage accounts.
  2. Tap your Google account, then Remove account, and confirm. If Google device protection is on, you may have to verify your identity first.
  3. Tap your Samsung account, then Remove account, then Sign out, and enter your Samsung account password. This also turns off Reactivation Lock, which Samsung's trade-in program requires to be off.
  4. Remove any other accounts (work email, Microsoft, etc.).

Google Pixel: Google's trade-in checklist says to remove the phone from Find My Device (now called Find Hub) and remove any screen lock, fingerprints and face data. Google also notes that signing the phone out of your Google account deletes that phone's backup, so only do it once your new phone has finished restoring.

Step 3: Take out the SIM and memory card

  • Pop out the physical SIM and leave the empty tray in the phone.
  • Erase any downloaded eSIMs, as Google's trade-in rules require. Call your carrier first if you haven't moved the line to your new phone yet.
  • Remove the microSD card if your model has one. A factory reset does not erase an SD card.

Step 4: Reset from Settings

Samsung Galaxy: go to Settings > General management > Reset > Factory data reset, scroll down, tap Reset (on some models, Delete all) and confirm with your PIN, pattern or password. It usually takes a few minutes.

Google Pixel: go to Settings > System > Reset options > Erase all data (factory reset), tap Erase all data and enter your PIN if asked. Google says it can take up to an hour.

Step 5: Check it's really clean

When the phone restarts, you should see the first setup screen. Google's test: a properly reset phone should not ask for a password. If it asks you to verify a Google account, the account wasn't removed. Turn the phone off before you hand it over or ship it.

If you can't reset from Settings

If the screen is frozen or you can't unlock it, use the buttons. These resets keep Factory Reset Protection on, so sign in with your own account afterward, remove it, and reset again from Settings before you sell.

  • Galaxy with no Home button: turn it off and connect it to a computer with a USB cable. Hold Volume up and Side until the Samsung logo appears. Use the volume keys to pick Wipe data/factory reset, press Side, choose Factory data reset, and when it says Data wipe complete, choose Reboot system now.
  • Pixel 6 and later: turn it off, hold Volume down and Power for up to 30 seconds to reach Fastboot mode, select Recovery Mode, and at the No command screen hold Power and press Volume up once. Then choose Wipe data/factory reset > Factory data reset > Reboot system now. Older Pixels use Volume up and Power.

If it doesn't work

  • The phone asks for a Google account after resetting: sign in with the same account that was on it, then remove the account and reset again. If you've forgotten that password, use Google's account recovery. Samsung also lists an authorized service center visit with proof of purchase.
  • Samsung won't let you remove the Samsung account: it asks for your Samsung password. Reset that password first from Samsung's account page if you don't remember it.
  • The reset is stuck or the phone keeps restarting: charge it fully and try the button method above.
  • A trade-in came back: Google returns phones that weren't unlocked and reset, without a refund. Check for a leftover screen lock or account and send it again.

Good to know

  • Removing a Samsung account from the phone doesn't unregister it from your Samsung account's device list; remove it there too.
  • Also remove the old phone from your Google account: myaccount.google.com > Security > Your devices, then sign it out.
  • Unpair your smartwatch and earbuds from the old phone, and move two-step verification codes (Google Authenticator and similar apps) to the new phone before wiping.

People also ask

Does a factory reset remove my Google account?

It removes your data, but the phone stays linked to your account through Factory Reset Protection unless you removed the account before resetting.

How long does a factory reset take?

A few minutes on most Galaxy phones. Google says a Pixel can take up to an hour.

Does a factory reset erase the microSD card?

No. Take the card out, or format it separately in Settings or My Files.

What happens to my eSIM?

Erase it before you sell, as Google's trade-in rules require, but only after your number works on the new phone. Your carrier can help move it.

Do I need to sign out of my Samsung account?

Yes. Samsung's trade-in rules require you to sign out of Samsung and Google and turn off Reactivation Lock and Factory Reset Protection.

Can I reset the phone without the PIN?

Yes, with the button method, but the phone will then require the Google account that was on it. See our guide to a forgotten PIN.

All quick answers