Wipe your iPhone completely before handing it over

Before you sell your iPhone, you need to erase everything on it — your photos, messages, passwords, payment information, and the apps you installed. Apple's built-in erase function removes all of this at once and resets the phone to factory settings, so the new owner gets a blank device. This takes about 15 to 30 minutes depending on how much data is on your phone.

The process is straightforward, but it has one critical step you must do first: remove your phone from your Apple account. If you skip this, the new owner won't be able to use the phone until they have your password, and you'll have a much harder time if you ever need to locate the device later.

Key Takeaways

  • You must sign out of your Apple ID and remove Find My iPhone before erasing, or the new owner will be locked out of the phone.
  • Back up your data to iCloud or your computer first if you want to keep your photos, messages, or other files after the sale.
  • The erase process wipes everything and returns the phone to its original factory state, which takes 15 to 30 minutes.
  • After erasing, the phone will ask for an Apple ID during setup — this is normal and means the erase worked correctly.

Back up your data before you erase

If you want to keep your photos, contacts, messages, or other information after you sell the phone, back them up first. You have two main options: iCloud (Apple's cloud storage) or your computer.

To back up to iCloud, go to Settings, tap your name at the top, select iCloud, then tap iCloud Backup. Turn on iCloud Backup if it is not already on, then scroll down and tap Back Up Now. This sends a copy of your data to Apple's servers. The backup takes anywhere from a few minutes to an hour depending on how much data you have and your internet speed.

To back up to your computer instead, plug your iPhone into a Mac or Windows PC, open Finder (Mac) or iTunes (Windows), select your phone, and click Back Up Now. This stores everything on your computer's hard drive instead of in the cloud.

Sign out of your Apple ID and disable Find My iPhone

Open Settings and tap your name at the top. Scroll down and tap Sign Out. You will be asked to enter your Apple ID password — this confirms you own the account. After you sign out, you should see a message that says Find My iPhone has been turned off.

If you do not see that message, go back to Settings, tap your name, select Find My, then tap Find My iPhone and turn it off. This step is essential. If Find My iPhone is still active when the new owner sets up the phone, they will not be able to use it without your password.

After you sign out, the phone will ask you to confirm your Apple ID password one more time. This is a security measure to prevent someone else from signing you out of your account remotely.

Erase all content and settings

Once you have backed up your data and signed out of your Apple ID, you are ready to erase. Go to Settings, tap General, scroll down to the bottom, and tap Transfer or Reset. Select Erase All Content and Settings.

The phone will ask you to enter your passcode and your Apple ID password one final time. This confirms that you want to erase the device. After you enter both, tap Erase to begin. The phone will show a progress bar and may restart several times during the process.

Do not turn off the phone or unplug it while the erase is running. Let it finish completely, even if it seems to be taking a long time. When it is done, you will see the setup screen that appears on a brand-new iPhone — the same screen you saw when you first bought it.

What to expect after the erase is complete

After the erase finishes, your iPhone will display the "Hello" setup screen in whatever language your region uses. This is normal and means the erase worked. Do not complete the setup yourself — the new owner will do this when they receive the phone.

At this point, your phone is completely blank. All your personal data, photos, messages, apps, and settings are gone. The new owner can turn on the phone, connect to Wi-Fi, and set it up as their own device.

If you plan to sell the phone online or through a store, you can safely hand it over now. If you are selling it locally and want to show the buyer that it works before they pay, you can let them set it up with their own Apple ID to test it out.

Verify nothing personal remains on the device

Before you hand over the phone, take a moment to check that the erase actually worked. Turn the phone on and look at the home screen. You should see no apps except the ones that come built-in with iOS — things like Phone, Messages, Camera, and Settings. You should not see any of your personal apps like banking apps, social media, or games.

Swipe to the second home screen and check there too. If you see any of your apps or any folders you created, the erase did not complete properly. Go back to Settings, tap General, select Transfer or Reset, and try Erase All Content and Settings again.

You can also check by opening Settings and tapping your name at the top. You should see a message that says "Sign in with your Apple ID" or similar language. If you see your name and email address, sign out again and erase the phone once more.

What to do if you forgot your Apple ID password

If you cannot remember your Apple ID password and you need to erase the phone, you have two options. The first is to reset your password through Apple's website before you start the erase process. Go to iforgot.apple.com, enter your Apple ID email address, and follow the steps to reset your password. This usually takes a few minutes.

If you cannot reset your password for some reason, you can still erase the phone without signing out first. Go to Settings, tap General, select Transfer or Reset, and tap Erase All Content and Settings. The phone will ask for your Apple ID password during the erase process. If you do not have it, you can tap "Don't Have Apple ID or Forgot Password" and answer security questions instead. This process takes longer but still works.

Frequently Asked Questions

Can I erase my iPhone remotely if I have already sold it?

Yes, if Find My iPhone is still active on the device. Go to iCloud.com, click Find My, select Find My iPhone, locate your phone in the list, and select Erase iPhone. However, this only works if the new owner has not already signed in with their own Apple ID. Once they do, you will no longer have access to the phone.

What happens if the new owner tries to set up the phone and it asks for my Apple ID password?

This means Find My iPhone was not properly disabled before the erase. The new owner will need to contact you to remove the phone from your account. You can do this through iCloud.com by going to Find My, selecting the device, and choosing Remove from Account. Avoid this by double-checking that Find My iPhone is off before you erase.

Do I need to remove my SIM card before erasing?

No. The erase process removes all data from the phone's storage but does not affect the SIM card. You can remove it before or after erasing — it makes no difference. If you want to use the SIM card in another phone, remove it before you hand over the device.

Will erasing my iPhone remove the iOS operating system?

No. Erasing removes your personal data and apps but leaves the iOS operating system and all built-in Apple apps in place. The phone will still be able to turn on and run normally. The new owner will see the same iOS version you had.

How long does the erase process actually take?

Most erases finish in 15 to 30 minutes, but it depends on how much data is on your phone and how fast your phone is. Older iPhones or phones with a lot of storage used may take longer. Do not interrupt the process — let it run until you see the setup screen.