How to Wipe Your Phone Before Selling It
- Android
- Samsung
- iPhone
Checked against Apple Support, iPhone User Guide, Android Help, Google Account Help, and Samsung Saudi Arabia Support on . How we check guides
Quick answer
Back up the phone, sign out of your Google or Apple account, and only then erase it with a factory reset. Signing out first matters: an account left on the phone can lock the next owner out. Take out your SIM card and SD card before you hand it over.
Warning: a factory reset permanently deletes everything on the phone, and you can’t undo it. Back up first, and check that the backup finished and opens on your new phone. Also, don’t reset a phone that still has your account on it: an Android phone can ask for the old Google Account after a reset (Factory Reset Protection), and Apple’s steps have you sign out of your Apple Account before erasing an iPhone.
Step 1: Back up everything you want to keep
- Back up the phone and confirm it finished. See how to back up your Android phone, how to back up your iPhone to iCloud or how to back up your iPhone to a Mac or PC.
- Move your data to the new phone before you wipe the old one.
- On a Samsung Galaxy, items such as Secure Folder or hidden files may not be backed up automatically, so check them yourself.
On an iPhone, deleting items while you’re signed in to iCloud removes them from iCloud and from all your connected devices, so wipe by signing out and erasing, not by deleting files one at a time.
Step 2: Get your accounts ready
- Make sure you know your Google or Apple Account password. If you’re trading in at a store, you may need it.
- If you use Stolen Device Protection on an iPhone, turn it off first. Away from a familiar location, turning it off starts a one-hour security delay.
- On Android, if you use Identity Check, biometrics are required to run a factory reset and turn off Find Hub.
- If you wear an Apple Watch paired with the iPhone, unpair it.
On an Android phone
On a Google Pixel or other Android phone
- Back up first (Step 1).
- Open Settings > Passwords & accounts.
- Tap each Google account, then Remove account. Google’s Pixel reset page warns that if you remove your Google Account, your backup is deleted, so move your data to the new phone first.
- Open Settings > System > Reset options > Erase all data (factory reset).
- Confirm when asked.
A factory reset also takes the phone off Find Hub, so you can’t locate it afterward. If you’re also trading it in, see how to factory reset an Android phone for the full reset steps and what to do if it won’t reset.
On a Samsung Galaxy
- Back up first (Step 1).
- Remove your Google accounts. Open Settings > Accounts and Backup, then Account Management, choose the account and tap Remove Account. Repeat for every Google account. This prevents Factory Reset Protection lock problems.
- Unlink your Samsung account under Settings > Accounts and Backup > Samsung Account.
- Open Settings > General management > Reset > Factory data reset, review the information, tap Reset, then Delete all.
- Enter your PIN, password or pattern if asked, and wait for the phone to restart.
If you don’t see this option: these Samsung steps come from a regional Samsung support page (Saudi Arabia), and menus vary by One UI version. Use the search bar at the top of Settings for “Factory data reset”.
Remove the SIM and SD card
A factory reset does not delete data on an SD card, and Google’s help says a reset may not erase one either. Take out the SD card and the SIM card before you hand over the phone.
Remove the phone from your account
On a computer or another device, go to your Google Account, tap Security & sign-in, and under Your devices tap Manage all devices. Tap the old phone, then Sign out if it’s still listed.
On an iPhone
- Back up first (Step 1). If you’re replacing one iPhone with another, use the setup assistant to restore the backup.
- Open Settings and tap your name.
- Scroll down and tap Sign Out. On iOS 26 or later, choose to erase the iPhone rather than Sign Out But Don’t Erase. On iOS 18 or earlier, enter your Apple Account password and tap Turn Off.
- Go back to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings.
- Tap Continue and choose to keep or delete your eSIM. If you delete it, contact your carrier to reactivate your plan on the new phone.
- Enter your passcode, then your Apple Account password, and wait for the reset. The Hello screen means it’s done.
If Find My was on, erasing the iPhone removes Activation Lock, so a new owner can set it up. If you’re switching to a non-Apple phone, deregister iMessage. If you use Apple Pay, remove cards and passes in Wallet. Remove the old iPhone from your list of trusted devices in your Apple Account settings.
If you don’t see this option: the Sign Out step differs by iOS version. If your phone has an older iOS, search “Sign Out” in Settings.
If you no longer have the phone
For a phone you’ve already sold or lost without wiping, erase it remotely, remove it from your account and change your password. Find My and Find Hub both let you erase a phone remotely. For an iPhone, changing your Apple Account password stops a new owner deleting your data from iCloud, but it does not remove personal data already on the phone.
Check before you hand it over
- Does the phone show a welcome or Hello setup screen after the reset?
- Is the SIM out, and the SD card out?
- Does your old phone still appear in Find Hub or Find My? If so, remove it.
You can also follow how to factory reset an iPhone for the reset on its own. More guides are in Privacy & Security, including the app permissions guide for Android and iPhone.
Sources
Menu paths and setting names were checked against these official help pages:
- support.apple.com/en-us/109511
- support.apple.com/guide/iphone/sell-give-away-or-trade-in-your-iphone-iph415eb3fe5/ios
- support.apple.com/en-us/108931
- support.apple.com/en-us/120340
- support.google.com/accounts/answer/17299872
- support.google.com/android/answer/6160491
- support.google.com/accounts/answer/3067630
- www.samsung.com/sa_en/support/mobile-devices/how-do-i-delete-all-of-my-personal-information-from-my-device/