How to Erase iPhone: Step-by-Step Guide

To erase an iPhone, open Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. Your iPhone removes your apps, photos, messages, and settings, then restarts to the Hello screen like a new phone.

Back up first if you want to keep your data. If you’re selling or trading in the phone, you also need to handle Find My, your Apple Watch, and your SIM or eSIM. If you forgot your passcode or can’t open Settings, you can erase the phone with a computer instead.

What Happens When You Erase an iPhone

Erasing removes the data and settings stored on the phone. It also takes off your apps and any cards you added to Apple Pay. When it finishes, you see the Hello screen.

ItemAfter you erase
Photos, messages, and contacts stored on the phoneRemoved from the phone
AppsRemoved
Apple Pay cardsRemoved from the phone
SettingsReset
iCloud backups and synced iCloud contentStay in your account
Apple AccountNot deleted
eSIMYou choose to keep or delete it

Does erasing an iPhone delete iCloud data?

No. Anything already stored in iCloud stays in your account, including your backups and synced photos. The risk comes from deleting items by hand. If you delete a synced photo or contact while signed in, it can vanish from your other devices too. So don’t delete files one by one to get ready for a sale. Use the erase option instead.

What to Do Before You Erase Your iPhone

Spend a few minutes protecting your data first. This matters most if you’re moving to a new phone.

Back Up to iCloud

An iCloud backup lets you restore most of your data and settings later. Here’s how to make one:

  1. Open Settings and tap your name.
  2. Tap iCloud, then iCloud Backup.
  3. Turn on Back Up This iPhone if it’s off.
  4. Tap Back Up Now and wait for it to finish.

Check the time of your last backup before you move on. An unfinished backup may miss your newest data.

Back Up to a Computer

On a Mac, connect the phone with a cable and open Finder. Select your iPhone in the sidebar and open the General tab. Choose Back up all of the data on your iPhone to this Mac, then click Back Up Now.

On a Windows PC, connect the phone and open the Apple Devices app. Select your iPhone, open General, and click Back Up Now.

Turn on Encrypt local backup if you want Health, Activity, and Keychain data included. Save the backup password somewhere safe.

Check iCloud Photos and Messages

A backup and a sync are two different things. If iCloud Photos is on, your photos live in iCloud and aren’t copied again into your regular backup. Messages work the same way when Messages in iCloud is on. Make sure your photos and messages have finished syncing before you erase the phone.

Move to a New iPhone First

If you’re upgrading, move your data before you wipe the old phone. Quick Start can transfer it straight from one iPhone to the other. You can also restore from an iCloud or computer backup. If your iCloud storage is full, Apple may offer extra storage for a limited time while you switch phones.

Don’t erase the old iPhone until your new one is set up and your data is there.

How to Erase an iPhone From Settings

This is the easiest method. You can use it any time you can unlock the phone and open Settings.

  1. Open Settings and tap General.
  2. Scroll to the bottom and tap Transfer or Reset iPhone.
  3. Tap Erase All Content and Settings, then tap Continue.
  4. Enter your passcode. You may also need your Apple Account password so the phone can turn off Find My.
  5. If your phone has an eSIM, choose whether to keep or delete it. Keep it if you plan to use the same phone and plan. Delete it if you’re selling, trading in, or giving the phone away.
  6. Confirm the erase. If the phone offers to finish a backup first, let it finish.
  7. Wait for the phone to restart and show the Hello screen.

If you delete an eSIM, you may need to contact your carrier to set it up again. If you’re keeping the phone, follow the setup steps and restore your backup. If you’re selling it, leave it on the Hello screen and don’t sign in. Apple’s iPhone erase steps explain the passcode prompt and the option to keep or delete your eSIM.

How to Erase an iPhone Before Selling or Trading It In

Erasing is the main step, but a few other tasks keep your account safe. A buyer shouldn’t find your data or see a phone that’s still tied to your Apple Account. Work through this list in order.

Before handing over your iPhone, follow Apple’s sign-out and erase prompts. On iOS 26 or later, you may see an Erase This iPhone option when you sign out from your Apple Account settings. Don’t choose Sign Out But Don’t Erase, because that leaves your personal data on the phone.

  1. Back up and transfer your data. Finish moving everything to your new phone first.
  2. Unpair your Apple Watch. Open the Watch app, tap All Watches, tap the info button next to your watch, and choose Unpair Apple Watch. This also removes the watch’s Activation Lock.
  3. Turn off iMessage if you’re switching to Android. On newer iOS versions, open Settings > Apps > Messages and turn off iMessage. Also open Settings > Apps > FaceTime and turn off FaceTime. On older iOS versions, you can find Messages and FaceTime directly in Settings. If you no longer have your iPhone, use Apple’s online tool to deregister your number. Otherwise, you may miss text messages from iPhone users.
  4. Remove your SIM or delete your eSIM. Take out a physical SIM card. For an eSIM, choose the delete option during the erase. Deleting an eSIM doesn’t cancel your plan, so call your carrier if you want to end service.
  5. Check for unfinished repairs. If you’re trading in the phone, open Settings > General > About. If you see a Finish Repair message, complete it before the trade-in.
  6. Erase the phone from Settings. Use the steps above and enter your Apple Account password when asked. This turns off Find My and Activation Lock.
  7. Stop at the Hello screen. Don’t sign in or set the phone up again. The next owner will do that with their own account.

Apple’s trade-in process includes backing up data, transferring it, signing out, and erasing the iPhone before handing it over.

How to Erase an iPhone Without a Passcode

You may still be able to erase a locked phone. The method depends on your iOS version and your security settings. Before you wipe everything, see if you can get back in without losing data.

Try Your Previous Passcode

If you changed your passcode recently, Apple lets you use the old one for a short time. This works on eligible iPhones with iOS 17 or later, within 72 hours of the change. On the iPhone Unavailable screen, tap Forgot Passcode? if it appears. Then choose Enter Previous Passcode and set a new passcode. Your data stays on the phone.

Erase From the Lock Screen

If the previous-passcode option doesn’t appear, you may be able to reset the phone from the Lock Screen. You’ll usually need a recent version of iOS, Find My turned on before the lockout, a Wi-Fi or cellular connection, and your Apple Account password.

  1. Enter wrong passcodes until the Unavailable or Security Lockout screen appears.
  2. Tap Forgot Passcode?, then tap Start iPhone Reset.
  3. Enter your Apple Account password.
  4. Tap Erase iPhone and follow the prompts.

This removes everything stored on the phone. You can restore a backup during setup if you have one.

If You Forgot Your Apple Account Password

A forgotten passcode doesn’t remove the need to sign in with your Apple Account. You may have to recover your account first. Apple’s account recovery page can walk you through it.

How to Erase an iPhone With a Computer

Use a computer if Settings won’t open or your iPhone won’t erase normally. If you can still unlock your iPhone, connect it to your Mac or Windows PC and use Finder or the Apple Devices app. If you forgot your passcode or can’t unlock the phone, use recovery mode instead.

Before restoring your iPhone with a computer, turn off Find My if it’s enabled. On your iPhone, open Settings > [your name] > Find My > Find My iPhone, turn it off, and enter your Apple Account password if asked. If you can’t unlock your iPhone to turn off Find My, use recovery mode. You may still need the Apple Account linked to the phone to get past Activation Lock after the restore.

On a Mac

  1. Connect your iPhone to your Mac with a USB cable.
  2. Open Finder and select your iPhone in the sidebar.
  3. Open the General tab and click Restore iPhone.
  4. Confirm and follow the prompts.

On a Windows PC

  1. Connect your iPhone to your PC and open the Apple Devices app.
  2. Select your iPhone and open General.
  3. Click Restore and confirm.
  4. Follow the prompts until the restore ends.

If your PC can’t run Apple Devices, you may need iTunes instead. When the restore finishes, the phone restarts to the Hello screen. Restoring an iPhone with a computer does not delete its eSIM. If you’re selling or giving away the phone, check the eSIM separately and contact your carrier if you need help transferring your cellular plan.

If the Computer Doesn’t See Your iPhone

  • Try a different USB cable or port.
  • Unlock the phone and tap Trust if it asks.
  • Update macOS or the Apple Devices app.
  • Restart the computer and try again.

If none of that works, try recovery mode.

How to Erase an iPhone in Recovery Mode

Recovery mode helps when your iPhone won’t start normally or you can’t get past the lock screen. You need a Mac or Windows PC and a working cable. Connect the phone, open Finder or Apple Devices, then use the button steps for your model.

  • iPhone 8 or later, including newer iPhone SE models: Press and release Volume Up, then Volume Down. Hold the Side button until the recovery screen appears, and keep holding past the Apple logo.
  • iPhone 7 and 7 Plus: Hold the Side and Volume Down buttons together until the recovery screen appears.
  • iPhone 6s and earlier, including the first iPhone SE: Hold the Home button and the Side or Top button together until the recovery screen appears.

When your computer shows the phone, click Restore. The computer reinstalls iOS and erases the device. If you pick Update instead, it tries to reinstall iOS without erasing your data. The buttons alone can’t factory reset a phone, so you always need the computer to finish the job.

How to Erase a Lost iPhone Remotely

If your iPhone is lost or stolen, you can send an erase request from Find My. This is not the same as getting a phone ready for sale.

  1. Go to iCloud.com/find in a browser and sign in with your Apple Account.
  2. Select your missing iPhone from the device list.
  3. Choose Erase This Device and confirm.

If the phone is online, the erase can start right away. If it’s offline, the request waits and runs when the phone connects to Wi-Fi or cellular.

Does Remote Erase Remove Activation Lock?

No. After a remote erase, Activation Lock stays on. That helps stop another person from setting up and using your phone. Keep Find My on for a missing device, and don’t remove it from your account. If you get the phone back, you can use it again with your Apple Account.

What to Do If Your iPhone Is Frozen

A frozen screen doesn’t always call for a factory reset. Try a force restart first, since it doesn’t erase your data. On an iPhone with Face ID, press and release Volume Up, then Volume Down. Then hold the Side button until the Apple logo appears.

If the phone works again, you may not need to erase anything. If it stays stuck during startup, connect it to a computer and try recovery mode. If that fails or a button is broken, contact Apple Support or visit an Apple Authorized Service Provider.

How to Restore Your iPhone After Erasing It

After the erase, you can set the phone up as new or restore a backup during setup.

From an iCloud Backup

  1. Turn on the phone and follow the setup steps.
  2. Connect to Wi-Fi and choose Restore from iCloud Backup.
  3. Sign in with your Apple Account and pick a backup.
  4. Stay connected until the restore finishes.

From a Computer Backup

Connect the phone to the Mac or PC that holds the backup. Open Finder or Apple Devices, select your iPhone, and choose Restore Backup. Pick the right backup and follow the prompts. An encrypted backup needs its password.

If you have no backup, you can’t bring back data that lived only on the erased phone.

Frequently Asked Questions About Erasing an iPhone

Does a factory reset delete everything on an iPhone?

It removes the personal data, apps, and settings stored on the phone. It doesn’t touch your iCloud backups or other content synced to your Apple Account.

How long does it take to erase an iPhone?

There’s no set time. It depends on the phone and the method. A computer restore usually takes longer because it also downloads and installs iOS.

Can I erase an iPhone without the Apple Account password?

You can erase an iPhone with recovery mode without entering its Apple Account password. However, if Find My was turned on, Activation Lock can still stop you from setting up the phone afterward. You’ll need the Apple Account linked to the device to activate it.

Can I erase an iPhone without a computer?

Yes. If you can unlock the phone, use Settings > General > Transfer or Reset iPhone. Some locked phones also show an erase option on the Lock Screen.

Can I erase an iPhone if Face ID doesn’t work?

Yes. You can use your passcode instead. Your Apple Account may still be required for the final steps.

Does erasing an iPhone turn off Activation Lock?

It does when you erase from Settings and sign in with your Apple Account as asked. A remote erase of a lost phone keeps Activation Lock on.

Can I erase an iPhone with only its buttons?

No. Button combinations only open recovery mode. You still need a computer to finish the restore.

Is the process different on an iPhone 11 or iPhone 13?

The Settings steps are the same on supported versions of iOS. Only the recovery mode button steps change between older and newer models.

What should I do when the Hello screen appears?

If you’re keeping the phone, continue setup and restore your backup. If you’re selling or giving it away, stop there so the next owner can set it up.

You Might Also Like:
How to Force a Reboot on iPhone (All Models)
Does iPhone 12 Have eSIM? Compatibility, Setup, and Dual SIM Guide

Leave a Comment