Skip to content
Sigilock

Guide

How to wipe your iPhone or Android phone before selling it

Wipe your iPhone or Android before you sell or trade it in: back up, sign out, factory reset from Settings, and keep your photos instead of losing them.

By , founder of SigilockUpdated November 10, 202610 min read

The phone you’re about to sell still holds your photos, messages, passwords and signed-in accounts. Hand it over as it is and the buyer gets all of it; wipe it in the wrong order and you can lose photos you meant to keep, or leave the phone locked to your account.

Here’s the right order for an iPhone, Pixel or Samsung Galaxy, whether you sell, trade in, give away or recycle it.

Quick answer: back up, move to your new phone and check everything there. Don’t delete photos one by one: with iCloud Photos or Google Photos on, that deletes them everywhere. Then sign out of your accounts and erase the phone from Settings: Erase All Content and Settings on iPhone, a factory reset on Android. Take out the SIM and microSD card.

First, back up: don’t delete photos one by one

Deleting photos first feels natural; with a synced library, it’s how people lose them. Apple’s guide to selling or trading in an iPhone warns that when you’re logged into iCloud, “manually deleting items will permanently remove them”, photos included, “from iCloud servers and all your connected devices.” Google says deleting a backed-up photo in Google Photos deletes it on every device with backup on (see Delete and restore photos and videos).

Erasing the phone is different: Apple says “Your content won’t delete from iCloud when you erase your device,” and Google says data in your Google Account can be restored after a reset. To delete a photo everywhere on purpose, see permanently deleting photos.

Check where your photos are

With iCloud Photos on, your library is in iCloud and iCloud Backup leaves it out; with it off, your photos go into your iCloud Backup (What does iCloud back up?). On Android, check that Google Photos backup is complete and your data is in your Google Account (Android backup help): a reset uninstalls “all apps and their data,” so some apps need their own backup.

Move to your new phone, then check it

On iPhone, Apple suggests Quick Start and, if your number changes, adding another trusted phone number first. On Android, restore your backup with the same Google Account. Then check your photos, apps and vaults on the new phone before removing any account from the old one: until then, it’s your safety net.

How to erase an iPhone before selling it

Apple’s steps, from its selling guide and How to factory reset your iPhone, iPad, or iPod touch.

Unpair your watch and check repairs

Unpair your Apple Watch. Before a trade-in, check Parts and Service History: a part marked Finish Repair must be finished first.

Sign out of your Apple Account

On iOS 26 or later:

  1. Open Settings, tap your name, then scroll down and tap Sign Out.
  2. Choose Erase this iPhone or Sign Out But Don’t Erase.
  3. If you’re asked which account to sign out of, tap Sign out of iCloud and Store.

On iOS 18 or earlier, tap your name, then Sign Out, enter your Apple Account password and tap Turn Off. Moving to Android? Deregister iMessage too.

Erase All Content and Settings

  1. In Settings, tap General, then Transfer or Reset iPhone.
  2. Tap Erase All Content and Settings, then Continue.
  3. Keep or delete your eSIM: when you sell, Apple says to erase the device and the eSIM profile.
  4. Enter your passcode, and wait for any backup to finish.
  5. Enter your Apple Account password if asked, then tap Erase iPhone.
  6. When the Hello screen appears, it’s done.

Apple says this completely erases the device, Apple Pay cards and photos included, and turns off iCloud, iMessage, Find My and Activation Lock. Then remove the old iPhone from your trusted devices.

How to reset an Android phone before selling it

Google’s Reset your Android device to factory settings says most phones reset from the Settings app, and points to your manufacturer’s support site for the exact steps.

Get ready

  • Know your accounts: a Google Account on the phone and its password, and your PIN, pattern or password. After a reset, you must enter security info that, Google says, “shows that you or someone you trust did the reset.”
  • Changed your Google password recently? Wait 24 hours before a factory reset.
  • Charge and connect: at least 70% battery, and Wi-Fi or mobile data; a reset can take up to an hour.

Remove your Google and Samsung accounts

That check, Factory Reset Protection (FRP), is why you remove your accounts before a sale; Apple adds that not signing out of an Android phone “will impact the trade-in eligibility of your device.”

  1. Open Settings and tap Passwords & accounts (on some phones, Users & accounts or Manage accounts).
  2. Under “Accounts,” tap the account, then Remove account, and confirm.
  3. On a Galaxy, sign out of your Samsung account too, which needs a network connection; otherwise Samsung asks for its password during the reset.

Removing an account deletes everything associated with it from the phone (Add or remove an account on Android), so do it last, once the new phone has everything.

Factory reset a Google Pixel

  1. Open Settings, tap System, then Reset options.
  2. Tap Erase all data (factory reset), then Erase all data, and enter your PIN if asked.

Google’s How to factory reset your Google Pixel phone adds: “For trade-ins, use the factory reset option available in the Settings app,” and warns: “If you remove your Google Account, your backup will be deleted.” So restore that backup on the new phone and check it before removing the account.

Factory reset a Samsung Galaxy

  1. Open Settings, tap General management, then Reset.
  2. Tap Factory data reset, review what will be erased, then tap Reset and Delete all.
  3. Enter your PIN, pattern or password, then your Samsung account password if it’s still signed in.

Those steps are from Samsung’s Perform a factory reset on your Galaxy phone or tablet; menu names vary by model and software version.

SIM, eSIM, microSD and accessories

  • SIM and microSD cards: take them out, after copying what you need from the memory card. Encrypted the card on a Galaxy? Samsung says to decrypt it before the reset (Settings, search “Decrypt SD card”), or its data becomes unreadable. For Android trade-ins, Apple also asks you to remove cases and screen protectors.
  • eSIM on iPhone: once you erase it with the phone, your carrier has to reactivate the plan, so set it up on the new phone first.
  • eSIM on Android: ask your carrier how to move it before the reset.

Your private photos and vaults

Hidden doesn’t mean backed up. Check each hiding place before you erase: anything with no other copy goes with the phone.

  • Hidden album (iPhone): it’s part of your Photos library. With iCloud Photos on, it stays in iCloud after the erase; with it off, make sure your backup or transfer includes it.
  • Locked Folder (Google Photos): with backup off, Google says a factory reset deletes its items and transfers leave them out. Turn on Locked Folder backup first (see Hide sensitive photos & videos in Locked Folders).
  • Secure Folder (Samsung): it’s on the phone too: move what you keep there out, or over to your new phone.

Moving Sigilock vaults to a new phone

Sigilock, a private photo vault for iPhone and Android, opens each vault with a sigil, a pattern you draw on a 5×5 grid, and keeps its contents encrypted with AES-256-GCM on the phone. There’s no account to sign out of, but erasing the phone erases its vaults, so move them first:

  1. Open each vault you want to keep and turn on Settings → Backup (off by default): encrypted copies go to your own iCloud on iPhone, or to a hidden folder in your own Google Drive on Android.
  2. Have each vault’s 12-word recovery phrase on paper; while a vault opens, you can view it again in its settings.
  3. On the new phone, tap Restore, enter the phrase and draw a new sigil: the old one depends on a secret that never leaves the old phone. An iCloud or Quick Start transfer to a new iPhone brings vaults along too.
  4. Open every vault on the new phone before you erase the old one.
  5. Paid plan? On a new phone of the same kind, tap Restore purchases in Settings.

Backups and purchases don’t cross between iPhone and Android: if you’re switching, export what you need before you wipe. Photos taken with Sigilock’s camera never reached your library, so iCloud Photos and Google Photos don’t have them either.

Lose both your sigil and the phrase, and nobody can open the vault, Sigilock included. Support covers moving to a new phone, and the security page how backups are sealed. Sigilock is available on the App Store for iPhone and on Google Play for Android.

iPhone, Pixel and Galaxy: the wipe at a glance

Wiping an iPhone, Pixel or Galaxy compared
FeatureiPhoneGoogle PixelSamsung Galaxy
Erase option, in SettingsGeneral, then Transfer or Reset iPhoneSystem, then Reset optionsGeneral management, then Reset
Accounts to sign out ofApple AccountGoogle AccountGoogle and Samsung accounts
Anti-theft lockActivation Lock, off once erasedFRP: Google Account check after a resetFRP; Samsung account password at reset
eSIMErase the eSIM profile when sellingAsk your carrierAsk your carrier
Not erased by the resetYour iCloud contentGoogle Account data; removing the account deletes your backupData in your Google Account

If you already sold, gave away or lost the phone

For an iPhone you no longer have:

  1. Ask the new owner to erase all content and settings.
  2. If it was lost or stolen, erase it in Find Devices on iCloud.com, but don’t remove it from your account: its Activation Lock still protects it.
  3. Remove it from your list of trusted devices.
  4. Change your Apple Account password and turn on two-factor authentication. Apple says that won’t remove what’s on the phone, but stops the new owner deleting your information from iCloud.
  5. Remove your Apple Pay cards and passes, and deregister iMessage if you’ve left iPhone.

On Android, once the phone is sold, open your Google Account, tap Security & sign-in, then Manage all devices, tap the phone and choose Sign out (see See devices with account access). A new password or a remote sign-out doesn’t erase files still on the phone: only an erase does. For a lost or stolen phone, see what to do when someone knows your passcode.

Before you hand it over: a checklist

  1. Backed up: your photos, plus your iCloud or Google backup.
  2. New phone checked, every vault included.
  3. Hidden photos safe: Locked Folder backed up, Secure Folder emptied.
  4. Watch unpaired, iMessage deregistered if you’re leaving iPhone.
  5. Signed out of your Apple Account, or Google and Samsung accounts removed.
  6. Erased from Settings, eSIM profile included on an iPhone you sell.
  7. SIM and microSD card out, an encrypted card copied or decrypted first.
  8. Old phone removed from your trusted devices or Google Account.

Glossary

  • Factory reset: erases your data and apps and returns the phone to its original settings; on iPhone, it’s Erase All Content and Settings. Your cloud account, SIM and memory card aren’t touched.
  • Activation Lock and FRP: anti-theft locks tying a phone to your account. Erasing an iPhone turns Activation Lock off; on Android, Factory Reset Protection can ask for the phone’s Google Account after a reset. Remove your accounts from a phone you sell, never from a lost or stolen one.
  • eSIM: a SIM built into the phone instead of a card; once erased with an iPhone, your carrier must reactivate the plan.
  • Recovery phrase: in Sigilock, the 12 words that restore a vault from its backup on a new phone.

A few more tips

Frequently asked questions

Does a factory reset delete everything?

Everything on the phone, Apple and Google say: your data, photos and apps. It doesn’t erase iCloud or your Google Account, and a SIM or microSD card left inside goes to the buyer.

Will erasing my iPhone delete my iCloud photos?

No: Apple says your content won’t delete from iCloud when you erase your device. Deleting photos by hand while signed in does, from iCloud and all your connected devices.

Should I delete photos before selling my phone?

No. Back them up, check they’re on the new phone, then erase the whole phone. With iCloud Photos or Google Photos backup on, deleting them one by one also deletes them from the cloud.

Do I need to remove my Google account before a factory reset?

Before selling, yes: otherwise the phone asks for your account’s security info after the reset, and Apple says not signing out affects an Android phone’s trade-in eligibility. Do it last, once the new phone is checked: on Pixel phones, Google warns that if you remove your Google Account, your backup will be deleted.

What happens to my eSIM when I erase my phone?

On iPhone, Apple says to erase the eSIM profile when you sell; your carrier then has to reactivate the plan, so move it to the new phone first. On Android, ask your carrier before the reset.

Can data be recovered after a factory reset?

Apple and Google say their built-in erase removes all your data from the phone, so use it rather than deleting by hand. It doesn’t touch copies elsewhere: your cloud account, a microSD card, a computer backup or chats.

What happens to my Sigilock vaults when I wipe my phone?

They’re erased with everything else. First turn on Backup in each vault’s settings and keep its recovery phrase; on the new phone, tap Restore, enter the phrase and draw a new sigil. Open every vault before erasing the old phone.

I already sold my phone without wiping it. What now?

Ask the new owner to erase it: a new password or a remote sign-out doesn’t erase what’s on the phone. Also change your Apple Account password and remove the iPhone from your trusted devices, or sign an Android phone out under Manage all devices in your Google Account.

Sources

The official help pages behind the steps in this guide, from the companies that make these features.

  1. 1.Apple Support: What to do before you sell, give away, or trade in your iPhone or iPad
  2. 2.Apple Support: How to factory reset your iPhone, iPad, or iPod touch
  3. 3.Apple Support: Set up and use iCloud Photos
  4. 4.Apple Support: What does iCloud back up?
  5. 5.Google Photos Help: Delete and restore photos and videos
  6. 6.Google Photos Help: Back up photos & videos
  7. 7.Android Help: Back up or restore data on your Android device
  8. 8.Android Help: Reset your Android device to factory settings
  9. 9.Android Help: Add or remove an account on Android
  10. 10.Pixel Phone Help: How to factory reset your Google Pixel phone
  11. 11.Samsung Support: Perform a factory reset on your Galaxy phone or tablet
  12. 12.Google Photos Help: Locked Folder
  13. 13.Google Account Help: See devices with account access