What clearing an iPhone means and when to do it

Clearing an old iPhone means erasing all the data on it — your photos, messages, contacts, apps, and settings — and returning it to factory condition. You do this before selling it, giving it away, trading it in, or recycling it. The goal is to remove your personal information so the next person cannot access your accounts or data.

You should clear an iPhone if you are moving to a new phone and no longer need the old one, or if you want to start fresh on a phone you still use. The process takes 15 to 30 minutes depending on how much data is on the device and your internet speed.

Before you erase anything, back up the data you want to keep. Once you start the erase process, the data is gone and cannot be recovered through normal means.

Key Takeaways

  • Back up your iPhone to iCloud or a computer before erasing, so you can restore your data to a new phone later.
  • Sign out of iCloud and your Apple ID before erasing, or the phone will be locked to your account and unusable by anyone else.
  • The erase process is built into Settings under General > Transfer or Reset > Erase All Content and Settings, and takes 15 to 30 minutes.
  • After erasing, the phone shows the setup screen as if it were brand new, and the next owner can set it up with their own account.

Back up your data before you erase

The fastest way to back up an iPhone is through iCloud, Apple's cloud storage service. Open Settings, tap your name at the top, then tap iCloud. Make sure iCloud Backup is turned on, then tap Back Up Now. The backup uploads to Apple's servers and includes your photos, messages, contacts, app data, and settings. This backup stays in your iCloud account even after you erase the phone.

If you have a Mac or Windows computer, you can also back up to that computer using a USB cable. Plug the iPhone into the computer, open Finder (Mac) or iTunes (Windows), select your phone, and click Back Up Now. A computer backup is faster than iCloud if you have a lot of data and a slow internet connection.

Check that the backup finished before you move to the next step. On iCloud, go back to Settings > [Your Name] > iCloud > iCloud Backup and look for the date and time of the last backup. On a computer, Finder or iTunes shows "Latest Backup" with a timestamp.

Sign out of iCloud and your Apple ID

Before you erase the phone, you must sign out of your Apple ID. If you do not, the phone will be locked to your account after erasing, and the next owner will not be able to set it up or use it. This lock is called Activation Lock, and it is a security feature that prevents someone else from using a stolen phone.

Open Settings, tap your name at the top, scroll down, and tap Sign Out. You will be asked for your Apple ID password. Enter it, then choose whether to keep a copy of your iCloud data on the phone (usually you want to keep it). Tap Sign Out again to confirm.

If you have apps from other services — like Gmail, Microsoft, or Facebook — you do not have to sign out of those before erasing. The erase process will remove them automatically. But if you want to be extra careful, you can sign out of those accounts too by going to Settings > [App Name] and looking for a Sign Out or Log Out option.

Erase the iPhone using Settings

Open Settings and tap General. Scroll down and tap Transfer or Reset (the name depends on your iOS version). Tap Erase All Content and Settings. You will see a warning that this will delete everything on the phone. Tap Continue, then enter your Apple ID password if prompted. The phone will ask you to confirm one more time — tap Erase.

The erase process starts immediately. You will see a progress bar on the screen. Do not turn off the phone, unplug it, or interrupt it while it is erasing. The process usually takes 15 to 30 minutes depending on how much data is on the phone and how fast your device is.

When the erase is complete, the phone will restart and show the setup screen you see on a brand new iPhone — the one that says "Hello" and asks you to choose a language. At this point, the phone is completely cleared and ready for the next owner to set up with their own account.

What to do if you cannot sign out of your Apple ID

If you forgot your Apple ID password, you can reset it before erasing the phone. Go to Settings > [Your Name] > Password and Security > Change Password, or visit iforgot.apple.com on a computer. You will need access to a recovery email or phone number linked to your account.

If you cannot reset your password and the phone is still yours, you can erase it anyway by using a computer. Connect the iPhone to a Mac or Windows computer with a USB cable, open Finder or iTunes, select your phone, and click Restore. This erases the phone but may leave it locked to your Apple ID. Contact Apple Support with proof of purchase if you need to remove the lock.

If the phone belonged to someone else and you do not have their password, you cannot erase it or use it. The Activation Lock is intentional — it prevents anyone from using a phone that was stolen or lost. The original owner must sign out of their Apple ID or contact Apple to remove the lock.

After erasing: what happens next

Once the erase is complete and the setup screen appears, the phone is ready to hand off to someone else. They can plug it into a computer or Wi-Fi network and set it up with their own Apple ID, just like a new phone from the store.

If you are keeping the phone for yourself, you can set it up again right away. You can sign in with your Apple ID and restore from your backup — the phone will download your photos, messages, contacts, and apps back onto it. This is useful if you want to start fresh but keep your data.

If you are selling or trading in the phone, include a note that it has been erased and is ready to set up. If you are recycling it, some programs will erase it for you, but it is safer to erase it yourself first to be certain your data is gone.

Frequently Asked Questions

Can I recover data after I erase my iPhone?

No, not through normal means. Once you erase the phone and it restarts, the data is gone. However, if you backed up to iCloud or a computer before erasing, you can restore that backup to a new iPhone and get your data back. The backup itself is not erased when you erase the phone.

What if I erase my iPhone but forget to sign out of my Apple ID first?

The phone will be locked to your Apple ID and will not be usable by anyone else. They will see a screen asking for your Apple ID password when they try to set it up. You will need to sign in with your Apple ID and remove the lock, or contact Apple Support to do it for you.

Do I need Wi-Fi to erase my iPhone?

You need Wi-Fi or cellular data to sign out of your Apple ID before erasing. The erase process itself does not require internet, but it is a good idea to have a connection in case something goes wrong. Make sure the phone is plugged in or has a full battery before you start.

Will erasing my iPhone remove the SIM card data?

No. Erasing the iPhone only removes data stored on the phone itself. Your SIM card is a separate piece of hardware and is not affected. If you want to remove the SIM card, you can eject it using the SIM tray tool that came with the phone or a paperclip.

How do I know if my backup finished before I erase?

For iCloud backups, go to Settings > [Your Name] > iCloud > iCloud Backup and check the date and time listed under "Latest Backup." For computer backups, open Finder or iTunes, select your phone, and look for the backup timestamp. Wait until you see a recent date and time before you start the erase process.