What deleting everything on your iPhone actually does

Erasing all content and settings on your iPhone removes your photos, messages, apps, contacts, and personal data, then restores the phone to factory settings. The process wipes the device completely — there is no undo button once it finishes. After the erase completes, your iPhone will restart and show the setup screen, as if it came straight from the box.

This is different from signing out of your Apple ID or backing up your data. Signing out keeps your files on the phone; erasing removes them. A backup saves copies to iCloud or your computer before you erase, so you can restore them later if you change your mind.

Most people erase their iPhone before selling it, giving it away, or trading it in. Some do it to fix software problems that won't go away. A few do it simply to start fresh.

Key Takeaways

  • Erasing your iPhone removes all photos, messages, apps, and personal data permanently, then returns the phone to its original factory state.
  • You can back up your iPhone to iCloud or your computer before erasing, so you can restore your data later if needed.
  • The erase process takes place in Settings under General, then Transfer or Reset, depending on your iOS version.
  • After erasing, your iPhone will ask you to sign in with your Apple ID during setup — you will need to know your password.
  • If you plan to sell or give away your phone, signing out of your Apple ID before erasing prevents the new owner from being locked out.

Back up your data before you erase

Before you erase, decide whether you want to keep your photos, messages, and other files. If you do, back them up first. You have two main options: iCloud or your computer.

iCloud backup saves your data to Apple's servers. Plug your iPhone into power, connect to Wi-Fi, then go to Settings, tap your name at the top, select iCloud, and tap iCloud Backup. Turn on iCloud Backup if it is not already on, then tap Back Up Now. The backup runs in the background and can take several minutes depending on how much data you have.

Computer backup saves your data locally using a Mac or Windows PC. Connect your iPhone with a USB cable, open Finder (Mac) or iTunes (Windows), select your phone, and click Back Up Now. This method is faster than iCloud for large amounts of data and does not use your iCloud storage.

After the backup finishes, you can erase your iPhone and restore from the backup later during setup. If you do not back up, all your data will be gone permanently.

Erase your iPhone through Settings

The erase process happens in the Settings app. Open Settings, then tap your name at the very top of the screen. Scroll down and look for a section called Transfer or Reset — the exact name depends on your iOS version.

Tap that section, then look for an option that says Reset or Erase All Content and Settings. Tap it. Your iPhone will ask you to confirm and may ask for your Apple ID password. Enter it if prompted. The phone will then begin erasing, which usually takes 5 to 15 minutes. Do not turn off your iPhone during this time.

When the erase finishes, your iPhone will restart and show the setup screen. You will see the language selection, then the Wi-Fi connection screen. If you backed up your data, you can restore it during setup by signing in with your Apple ID and choosing Restore from Backup.

Sign out of your Apple ID first if you are giving away your phone

If you plan to sell or give your iPhone to someone else, sign out of your Apple ID before you erase. This prevents the new owner from being locked out by Activation Lock, a security feature that requires your Apple ID password to use the phone.

To sign out, go to Settings, tap your name at the top, scroll to the bottom, and tap Sign Out. You will be asked for your Apple ID password. Enter it. Your iPhone will ask whether you want to keep a copy of your iCloud data on the phone — choose Keep a Copy if you want to back up before erasing, or Don't Keep a Copy if you have already backed up elsewhere.

After you sign out, then erase the phone, the new owner can set it up with their own Apple ID without any problems. If you forget to sign out before erasing, the phone will still ask for your Apple ID password during setup, and only you can provide it.

What to do if your iPhone is broken or you forgot your password

If your iPhone is damaged and will not turn on, or if you forgot your Apple ID password, you have other options. A broken phone can sometimes be erased through a computer using Finder (Mac) or iTunes (Windows) — connect it with a USB cable and look for a Restore option.

If you forgot your Apple ID password, you can reset it on Apple's website before erasing. Go to iforgot.apple.com, enter your Apple ID email, and follow the steps to reset your password. Once you have a new password, you can erase normally.

If your iPhone is locked with a passcode you do not remember, erasing is the only way to remove it. You will need your Apple ID password to complete the erase and set up the phone again. If you do not have that either, contact Apple Support — they may be able to help you regain access.

Restore your data after erasing

After your iPhone finishes erasing and restarts, you will see the setup screen. If you backed up your data, you can restore it during this process. When you reach the screen that says Apps & Data, choose Restore from iCloud Backup (if you used iCloud) or Restore from Mac or PC (if you backed up to a computer).

Sign in with your Apple ID, select which backup you want to restore, and let the phone download and install your data. This can take 30 minutes or longer depending on how much data you have and your internet speed. Your photos, messages, apps, and settings will return to the phone exactly as they were before the erase.

If you do not restore from a backup, your iPhone will be completely empty and you will start with a fresh phone. You can add apps from the App Store and set up your email and other accounts manually.

Frequently Asked Questions

Can I undo an erase after it starts?

No. Once the erase process begins, it cannot be stopped or reversed. The data is permanently removed. This is why backing up before you erase is so important — it is your only way to get your data back.

Will erasing my iPhone remove it from my Apple ID account?

Erasing removes the data from the phone, but the phone itself stays linked to your Apple ID until you sign out. If you do not sign out before erasing, the new owner will see Activation Lock during setup and will need your Apple ID password to use the phone. Always sign out first if you are giving the phone to someone else.

How long does it take to erase an iPhone?

The erase process usually takes 5 to 15 minutes, depending on how much data is on your phone and how fast your iPhone is. Restoring from a backup afterward can take 30 minutes to an hour or more, depending on the size of your backup and your internet speed.

What if I erase my iPhone but did not back it up?

Your data will be gone permanently. There is no way to recover it after an erase completes. This is why backing up before you erase is the most important step — it is your only safety net.

Do I need Wi-Fi to erase my iPhone?

You need Wi-Fi or a cellular connection to sign in with your Apple ID during the erase process. If your iPhone is not connected to the internet, the erase may fail or get stuck. Make sure you are connected before you start.