To erase data from an old phone before selling or recycling it, back it up, sign out of your Apple or Google account, then use the built-in factory reset: on iPhone, Settings > General > Transfer or Reset iPhone > Erase All Content and Settings; on Android, the factory reset option in Settings (on Pixel, System > Reset options > Erase all data). Then take out the SIM and any memory card. Signing out first matters as much as the reset, because it turns off the activation locks that would otherwise block the next owner.

Key takeaways
- Back up, then sign out, then reset. That order protects your data and leaves the phone usable for the next owner.
- Use the phone’s own erase option. Apple and Google both point to the built-in reset for selling or trading in.
- Take out the SIM and memory card. They’re separate from the phone’s internal storage.
- Company phones need one more step. IT should remove them from device management before they leave the business.
- Phones aren’t the only devices with your data. Copiers keep scan and print data on internal storage, so plan for that at lease end too.
Before You Erase: The Checklist
Most problems happen before the reset, not during it. Work through this list first:
| Task | iPhone | Android |
|---|---|---|
| Back up | iCloud backup, or a backup to your computer | Back up to your Google Account; apps and their data are removed in a reset |
| Move to your new phone | Quick Start, if you have a new iPhone | Your new phone’s setup copies from your Google backup |
| Know your passwords | Apple Account password and device passcode | Google Account password and screen lock; wait 24 hours after changing the password |
| Paired accessories | Unpair your Apple Watch | Remove the phone from smartwatch and car apps |
| Payments and passes | Remove cards and passes from Wallet | Check your wallet app’s guidance for transit cards |
| Two-step sign-in | Add a trusted phone number if your number is changing | Move authenticator apps and update recovery numbers |
| Power | Charge it or keep it plugged in | Charge to at least 70% and connect to Wi-Fi |
Want a local copy of photos and documents as well? Our guide on transferring files from Android to a computer by USB covers the cable method.
How to Erase an iPhone Before Selling It
These steps follow Apple’s guide for selling, giving away or trading in an iPhone.
- Back up the iPhone again so your latest data is safe.
- Unpair your Apple Watch if it’s paired with this phone.
- Sign out of your Apple Account. Open Settings, tap your name, scroll down and tap Sign Out. On iOS 26, you can choose to erase the device at this point or sign out without erasing. On iOS 18 and earlier, enter your Apple Account password and tap Turn Off.
- Switching to Android? Deregister iMessage so texts reach your new phone.
- Erase the phone: go to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings, enter your passcode and tap Erase iPhone.
- eSIM: when asked, choose to erase both the device and the eSIM. Contact your carrier about moving service to your new phone.
- Remove the old phone from your list of trusted devices in your Apple Account.
Apple notes that erasing the device turns off Find My and Activation Lock. Also cancel or transfer any AppleCare plan.
How to Factory Reset an Android Phone
Google’s general Android steps, plus the exact Pixel menu path, look like this. Samsung and other brands use similar wording in slightly different places, so check your manufacturer’s help if a menu name doesn’t match.
- Check your account. Go to Settings > Accounts to see which Google Account is on the phone, and make sure you can sign in to it on another device.
- Back up to your Google Account.
- Charge and connect. Google recommends at least 70% battery and a Wi-Fi or mobile data connection. The reset can take up to an hour.
- Reset. On a Pixel, open Settings > System > Reset options > Erase all data (factory reset), tap Erase all data, enter your PIN and confirm.
- If Settings won’t open, Google says you can reset using the power and volume buttons. Your manufacturer’s site lists the button combination.
When you plan to hand the phone on, remove your Google Account before the reset where your phone offers that, so the next owner isn’t asked for your sign-in. If you can’t reset the phone, Google’s Pixel help explains how to sign it out of your account from myaccount.google.com > Security > Your devices.
Is a Factory Reset Enough?
For a current phone, yes, when it’s done properly. Google’s Android documentation says all devices launching with Android 10 and higher are required to use file-based encryption, and Apple and Google both point to their built-in erase options for selling and trading in.
A few cases need extra care:
- Very old phones. If the phone launched with Android 9 or earlier, check its security settings for encryption, or ask the manufacturer whether storage is encrypted, before you rely on a reset alone.
- Removable storage. A microSD card isn’t always erased with the phone. Take it out, then reuse it or wipe it separately.
- Physical SIM cards. Take the SIM out. Keep it for your new phone or ask your carrier what to do with it.
- Phones that won’t turn on. If you can’t erase it, take it to a recycler or trade-in program that documents how it handles data, or keep it until you can.
Selling, Trading In or Recycling: What to Do for Each
| Where it’s going | Erase and sign out? | SIM and memory card | Extra step |
|---|---|---|---|
| Selling privately | Yes, before you meet the buyer | Remove both | Show the buyer the setup screen, not your home screen |
| Carrier or store trade-in | Yes | Remove both | Check any repair or parts notices first (Apple lists this step) |
| Giving to family | Yes, so they can set it up as their own | Remove yours | Help them sign in with their own account |
| Recycling | Yes, if it powers on | Remove both | Choose a recycler that explains its data handling |
| Lost or already gone | Erase remotely if you can | Ask your carrier to suspend the line | Change your account password and remove the device from your account |
If you no longer have the phone
Apple suggests asking the new owner to erase it, or erasing it through Find Devices on iCloud.com if it’s lost or stolen. Then remove it from your trusted devices, change your Apple Account password and remove any Apple Pay cards. For Android, sign the phone out from the Your devices page in your Google Account and change your password.
Company Phones: MDM, Records and the Copier Down the Hall
When a business retires phones, the job is a little bigger than a personal reset:
- Remove it from device management first. If your company uses mobile device management (MDM), IT should retire or wipe the phone from the management console. For iPhones bought through Apple Business, an administrator can release the device from the organization; Apple notes it must then be erased and restored, and Activation Lock can no longer be managed there.
- Separate personal from business on BYOD phones. On an employee’s own phone, remove the work profile or work apps and accounts, and leave their personal data alone. Our post on protecting company mobile devices covers policies that make this easier.
- Keep a simple log. Record the device, who wiped it, how and when. NIST’s Guidelines for Media Sanitization (SP 800-88) is the standard reference for building that kind of process.
- Don’t forget the copier. The FTC explains that a digital copier’s hard drive stores data about the documents it copies, prints, scans, faxes or emails. It advises planning for the drive in your lease or purchase agreement, and asking your dealer or servicing company to overwrite it or return it to you at end of life, rather than pulling it out yourself.
If a copier lease is ending soon, our copier lease end check helps you plan the return, and our guide to copier security features explains what to ask about drive overwriting.
Retiring a batch of company devices?
We can help you set up a clear, repeatable process for wiping phones, laptops and office equipment.
Frequently Asked Questions
Does a factory reset delete everything on a phone?
It removes your accounts, apps and data from internal storage. It doesn’t touch a removable SIM or microSD card, so take those out separately.
Should you remove your Google Account before a factory reset?
If the phone is going to someone else, yes, where your phone offers it. Otherwise the next owner may be asked for your Google sign-in after the reset.
What happens if you sell an iPhone without signing out of iCloud?
Activation Lock can stay on, so the buyer can’t set it up. Erasing the phone through Settings turns off Find My and Activation Lock, and you can also remove the device from your account online.
Can data be recovered after a factory reset?
On current phones with encrypted storage, a proper factory reset leaves old data unreadable for practical purposes. Very old Android phones may need encryption checked first.
Do you need to remove the SIM card before selling a phone?
Yes. Keep it for your new phone or ask your carrier about it. For an eSIM, choose to erase it during the iPhone erase, or follow your carrier’s steps on Android.
How do you wipe a phone that won’t turn on?
Try charging it for a while first. If it’s gone for good, use a trade-in or recycling program that explains how it handles data, and remove it from your Apple or Google account online.
How should a business wipe company phones?
Remove the phone from device management, erase it, keep a record of who did it and when, and update any accounts tied to that phone number.
- Apple Support, what to do before you sell, give away or trade in your iPhone
- Google Android Help, reset your Android device to factory settings
- Google Pixel Help, factory reset your Pixel phone
- Android Open Source Project, file-based encryption
- Apple Business, release devices from your organization
- FTC, digital copier data security guide for businesses
- NIST SP 800-88 Rev. 2, Guidelines for Media Sanitization
