Erase everything on your iPhone before handing it over

The safest way to clear an iPhone for sale is to use Erase All Content and Settings, which wipes your data and reinstalls the operating system. This removes your photos, messages, passwords, payment information, and location history — the things a buyer or a thief could use to access your accounts or impersonate you. The process takes 15 to 30 minutes and leaves the phone ready for the new owner to set up as their own.

Do not straightforward delete apps or sign out of accounts. A determined person with basic technical knowledge can recover deleted files or access your data through iCloud backups, old email accounts, or cached login information. A full erase is the only method that removes the data in a way that makes recovery extremely difficult.

You will need your Apple ID password to complete the erase, and you should remove the phone from your Apple account before you hand it over. If you skip this step, the new owner will be locked out during setup.

Key Takeaways

  • Use Settings > General > Transfer or Reset > Erase All Content and Settings to wipe the phone completely, not just deleting apps or signing out.
  • You must know your Apple ID password to erase the phone; if you do not remember it, reset it through Apple's website before you start.
  • Remove the phone from your Apple account (Find My iPhone) before erasing, or the new owner will be locked out of setup.
  • Back up any photos, messages, or documents you want to keep before you erase, because this process cannot be undone.
  • After erasing, the phone will restart and show the setup screen; do not complete setup, because the new owner needs to do that with their own account.

Back up your data before you erase

Erasing the phone destroys everything on it. Before you start, save anything you want to keep — photos, notes, contacts, documents — to iCloud, your computer, or an external drive.

The fastest method is iCloud backup. Go to Settings > [Your Name] > iCloud > iCloud Backup, then tap Back Up Now. This uploads your photos, messages, contacts, and app data to your iCloud account. The backup stays in your iCloud account even after you erase the phone, so you can restore it to a new iPhone later.

If you want to keep photos and videos but not everything else, you can also export them to your computer using a USB cable and the Finder (on Mac) or Photos app (on Windows), or upload them to Google Photos, OneDrive, or another cloud service.

Remove the phone from your Apple account

set up Lock is a security feature that ties your iPhone to your Apple ID. If you erase the phone without removing it from your account first, the new owner will see a setup screen asking for your Apple ID password — and you will be the only one who can provide it. This makes the phone unusable for them and creates a support headache for both of you.

To remove the phone from your account, go to Settings > [Your Name] > Find My > Find My iPhone, then tap the phone name and select Remove This Device. You can also do this from a computer: go to iCloud.com, sign in with your Apple ID, click Find My iPhone, select the phone from the list, and choose Remove.

If you have turned on two-factor authentication for your Apple ID (which you should have), you will need to verify your identity with a code sent to a trusted device or phone number. This is normal and takes less than a minute.

Erase the phone using Settings

Once you have backed up your data and removed the phone from your account, open Settings and follow this path: General > Transfer or Reset > Erase All Content and Settings. Tap Erase, then tap Erase [iPhone Name] to confirm.

The phone will ask for your Apple ID password. Enter it — this is Apple's way of making sure you own the phone and are not erasing someone else's device. If you do not remember your password, you will need to reset it through Apple's website (iforgot.apple.com) before you can proceed.

The erase process will begin. The phone will restart, show a progress bar, and then display the setup screen. This takes 15 to 30 minutes depending on how much data was on the phone. Do not turn off the phone or disconnect it during this time.

What to do after the erase is complete

When the erase finishes, the phone will show the setup screen with "Hello" or "Welcome" and will ask you to choose a language. Stop here. Do not sign in with your Apple ID, do not connect to Wi-Fi, and do not complete any setup steps. The new owner needs to do all of this with their own account.

At this point, the phone is ready to sell. All your personal data is gone. Your Apple account is no longer tied to the device. The new owner will be able to turn it on, connect to their Wi-Fi, and set it up as a brand new phone under their own Apple ID.

If you are selling the phone in person, you can demonstrate that it works by turning it on and showing the setup screen. If you are shipping it, you can leave it powered off or on the setup screen — either way is fine.

If you forgot your Apple ID password

You cannot erase the phone without your Apple ID password. If you do not remember it, go to iforgot.apple.com and follow the steps to reset it. You will need to verify your identity using a recovery key, a trusted phone number, or a trusted device that is already signed in to your account.

The reset usually takes a few minutes, but if you have not used your Apple ID in a long time or if you set up two-factor authentication recently, it may take longer. Plan for this before you list the phone for sale.

If you cannot reset your password because you no longer have access to the phone number or email address associated with your account, contact Apple Support. They can help you regain access, but the process may take several days.

Selling the phone safely after you erase it

After you erase the phone, your data is off it, but you should still take steps to protect yourself during the sale. Meet the buyer in a public place, bring a charger so you can power on the phone and show it works, and ask them to set it up in front of you if possible — this confirms that set up Lock is not blocking them.

Keep your receipt or proof of purchase in case the buyer claims the phone is defective and tries to return it or dispute the charge. If you are selling through a marketplace like Facebook Marketplace or Craigslist, take photos of the phone's condition and the setup screen as proof of the sale.

Do not include your original box, charger, or accessories unless you are comfortable with the buyer having them. These items can be sold separately or kept for your next phone.

Frequently Asked Questions

Can I erase my iPhone if I do not remember my Apple ID password?

No, you need your Apple ID password to complete the erase. Go to iforgot.apple.com to reset it before you start. The reset process usually takes a few minutes and requires you to verify your identity using a recovery key, a trusted phone number, or a trusted device.

What happens if I just delete my apps and sign out of iCloud?

Deleted files can be recovered with the right tools, and your data may still be accessible through cached login information or old backups. A full erase using Settings > General > Transfer or Reset > Erase All Content and Settings is the only method that removes your data thoroughly enough for a safe sale.

Will the new owner be able to see my photos or messages after I erase the phone?

No. Erase All Content and Settings removes all photos, messages, and personal files from the phone. Your data stays in your iCloud account, not on the device, so the new owner will not see any of it.

Do I need to erase the phone if I am trading it in to Apple or a carrier?

Apple and most carriers will erase the phone for you as part of the trade-in process, but erasing it yourself first is safer and faster. It also gives you control over what happens to your data instead of relying on someone else to do it correctly.

What if the buyer says the phone is locked to my Apple ID after I sold it?

This means you did not remove the phone from your Apple account before erasing it. You can remove it now from iCloud.com by signing in, clicking Find My iPhone, selecting the phone, and choosing Remove. The buyer will then be able to set up the phone with their own Apple ID.