Phones & Tablets
How to Back Up and Wipe a Phone Before Selling or Trading It In
Written by Free Tech Support Editorial Team · Updated

Selling, trading in or handing down an old phone is a good idea, as long as your photos, messages and accounts do not go with it. To wipe a phone before selling it properly, you need to do more than tap reset: back up, sign out of the accounts that lock the phone to you, deal with the SIM, and then erase. Done in the right order it takes about half an hour, most of it waiting for the backup. This guide covers iPhone and Android, including Samsung Galaxy phones.
This is an independent guide, not affiliated with Apple, Google, Samsung or any carrier or trade-in service.
Step 1: Back up everything you want to keep
A factory reset is permanent, so back up first and check that it finished.
iPhone
- iCloud: go to Settings > [your name] > iCloud > iCloud Backup and tap Back Up Now. Check the time of the last successful backup. If iCloud says it is out of space, see iCloud storage full for ways to make room, or back up to a computer instead.
- Computer: connect the iPhone to a Mac (Finder) or Windows PC (Apple Devices app) and back up, choosing to encrypt the backup so passwords and Health data are included. See how to back up an iPhone to a computer.
If you are moving to a new iPhone, Quick Start can transfer everything directly when the two phones are side by side.
Android
- Google backup: go to Settings > System > Backup (on Samsung, Settings > Accounts and backup) and tap Back up now.
- Photos and videos: make sure Google Photos or your chosen service has finished uploading, or copy them to a computer as described in backing up an Android phone to a computer.
- Messaging apps: apps such as WhatsApp and Signal have their own backup or transfer options in their settings. Check them before resetting.
- Two-step verification apps: move authenticator codes to your new phone first, or you may lock yourself out of accounts. Our guide to two-factor authentication explains how codes work.
Step 2: Unpair watches and accessories
Unpair a smartwatch from the old phone before you reset it. For an Apple Watch, use the Watch app on the iPhone; unpairing also backs up the watch to the phone. On Android, use the watch’s companion app. Remove any car or Bluetooth pairings you no longer need.
Step 3: Sign out of the accounts that lock the phone
This is the step people most often skip, and it causes the most trouble.
iPhone: sign out of your Apple Account
- Open Settings and tap your name.
- Scroll down and tap Sign Out.
- Enter your Apple Account password if asked and confirm. On recent iOS versions you may be offered to erase the device at the same time.
Signing out turns off Find My and Activation Lock. If Activation Lock stays on, the buyer cannot set up the phone. If you are moving to a non-Apple phone, also deregister iMessage on Apple’s page in the sources so messages reach your new number.
Android: remove your Google account
Go to Settings > Passwords & accounts (or Settings > Accounts, wording varies), tap your Google account and choose Remove account. Repeat for every Google account on the phone.
This matters because of Factory Reset Protection: after a reset, Android asks for the Google account that was last on the phone. If it is still linked, the buyer is stuck.
Samsung: also remove your Samsung account
Go to Settings > Accounts and backup > Manage accounts, select your Samsung account and remove it. This turns off Samsung’s own device-finding lock.
Step 4: Take care of the SIM and memory card
- Physical SIM: power off and remove it with the SIM tool. Put it in your new phone, or keep it if you are cancelling the line.
- eSIM: when you erase an iPhone or Android phone, you are usually asked whether to keep or remove the eSIM. Remove it when selling, but only after your number works on the new phone; if you are unsure, ask your carrier to transfer it first.
- Memory card: many Android phones have a microSD card with photos on it. Take it out, and wipe it separately if you will not reuse it.
Step 5: Factory reset the phone
iPhone
- Go to Settings > General > Transfer or Reset iPhone.
- Tap Erase All Content and Settings.
- Enter your passcode and, if asked, your Apple Account password, then confirm.
The phone restarts to the Hello screen when it is done.
Android
- On Pixel and many other phones: Settings > System > Reset options > Erase all data (factory reset). On Samsung: Settings > General management > Reset > Factory data reset.
- Confirm and enter your PIN, pattern or password.
- Wait for the phone to restart to the welcome screen. Do not sign back in.
Step 6: Clean up afterwards
- Remove the old phone from your accounts: on an iPhone or Mac, open your Apple Account device list and remove it; for Google, check the device list in your Google Account’s security settings and sign out of the old phone.
- Check the phone is really clear: turn it on and make sure it shows the setup screen with no request for your account.
- Hand over safely: if you are selling privately, meet in a safe public place and be wary of buyers who want to pay with gift cards or overpay; see gift card scams.
If the phone will not turn on or reset, see phone won’t turn on or has a black screen. Recycling an old phone instead? Many retailers and carriers take them back; wipe it the same way first. More phone guides are in the mobile section.
Frequently asked questions
I sold my iPhone without signing out. What should I do?
Sign in at icloud.com/find, select the old device and choose to erase it and then remove it from your account. Ask the buyer to contact you if they see an Activation Lock screen; it stays until you remove the device.
What is Factory Reset Protection on Android?
It is a security feature that, after a reset, asks for the Google account that was on the phone before. If you reset without removing your account, the new owner cannot finish setup without your password.
Can a buyer recover my data after a factory reset?
Modern iPhones and Android phones encrypt their storage, and a factory reset erases the encryption keys, which makes the old data practically unreadable. The bigger risk is forgetting to reset at all or leaving a memory card inside.
Should I erase the eSIM?
If you are selling the phone, yes, but only after your number is working on your new phone. If you are unsure, ask your carrier to move the eSIM first.
Do I need to deregister iMessage?
Only if you are moving from iPhone to a non-Apple phone. Otherwise messages from iPhone users may keep going to iMessage instead of your new phone. Apple has a deregistration page for this.
Sources
Free Tech Support Editorial Team
Editorial team
The Free Tech Support editors write and update these guides from the official documentation of Microsoft, Apple, Google and device makers. We are an independent site with no phone line and no paid support service.
