1 December 2026

How to wipe a phone before selling or recycling it

By Harish

To wipe a phone safely, back up what you need, sign out of your Apple or Google account, then run the built-in erase: Erase All Content and Settings on an iPhone, or a factory data reset on Android. Deleting apps and photos one by one does not remove the underlying data, while a full erase discards the keys the phone needs to read its encrypted storage.

Why a full erase is stronger than deleting files

Modern phones encrypt their internal storage by default, and the operating system unlocks that storage with a key tied to your passcode or account. When you delete a single photo, the phone usually removes the pointer to the file and marks the space as free; the bytes can stay in place until something overwrites them.

A factory reset works differently. It removes the user data and the key material that made the storage readable, so a normal buyer cannot boot the phone and browse your old files. That is also why recovery tools sometimes pull back deleted items from a phone that was never reset: the encryption key is still there.

Back up and unlink accounts before you erase

The order matters. A reset removes the phone’s copy of your data, not the copy in the cloud, so back up first and check that the backup actually restores.

  • Back up. Use iCloud or a computer for an iPhone, and your Google account for Android. Google’s support page notes that apps and their data are uninstalled by a reset, so a current backup is the only way to bring them back.
  • Move the number. If the SIM or eSIM moves to the new owner, ask your carrier to transfer service. Apple’s instructions say to choose the option that erases the device and the eSIM profile when that prompt appears.
  • Sign out of the account. On iPhone, signing out of the Apple Account also turns off Find My and Activation Lock, which would otherwise leave the next owner stuck on a locked screen.
  • Keep the Android account details. Google advises knowing the Google account username and password, and the screen lock, before resetting. Some phones ask for that same account after the reset as theft protection.
  • Clean up the extras. Deregister iMessage if you are moving to a non-Apple phone, unpair a smartwatch, and cancel or transfer any extended warranty.

iPhone: Erase All Content and Settings

  1. Back up, then open Settings and tap your name.
  2. Tap Sign Out and follow the prompts to turn off the account on the device.
  3. Go to General, then Transfer or Reset iPhone, then Erase All Content and Settings.
  4. Enter the passcode when asked and confirm the erase.
  5. Wait for the phone to restart at the Hello screen, then remove the old device from your list of trusted devices.

Apple is explicit that erasing the phone does not delete anything already stored in iCloud. If you also want the cloud copy gone, delete it separately from your account settings or on iCloud.com.

Android: factory data reset

  1. Charge the phone to at least 70 percent and connect to Wi-Fi or mobile data. Google says the reset can take up to an hour, and the phone needs a connection to sign in afterwards.
  2. Open Settings, then System, then Reset options, then Erase all data (factory reset).
  3. Confirm with the screen lock and let the phone restart.
  4. If Settings will not open, use the hardware button combination for recovery mode, which differs by manufacturer.

Menu names vary between Samsung, Xiaomi, OnePlus and stock Android, and Google notes that some steps only apply to Android 14 and later. Check the maker’s support page if the labels do not match. After the reset, the setup screen is the sign that the wipe finished.

Recycle what is left the right way

Once the phone is erased, a trade-in or manufacturer buy-back is the simplest route because the device keeps some value. For a dead handset, use a certified electronics recycler rather than the household bin. The US EPA advises removing batteries where possible, because lithium-ion cells should not go into household garbage or recycling bins and often need separate handling. Local rules differ, so check your municipal or national programme before dropping anything off.

Bottom line: back up, sign out of the account, erase with the built-in tool, and confirm the phone reaches the setup screen before it leaves your hands. If a step fails, keep the phone rather than selling it with your account still attached.

Sources: support.apple.com, support.google.com, epa.gov.