How to Factory Reset an iPhone

To factory reset an iPhone, open Settings, tap General, then Transfer or Reset iPhone, and choose Erase All Content and Settings. Back up anything you want to keep first, because erasing removes your personal data and settings from the phone.

Answer pageUpdated Nov 13, 2026

Before you erase your iPhone

A factory reset deletes your photos, apps, messages, and other personal data from the iPhone. Back up the phone to iCloud or a computer first if you may want to restore that information later.

If you’re giving the phone to someone else, follow the on-screen prompts to sign out of your Apple Account and remove the device from your account. If you use an eSIM, read the prompts carefully and choose whether to keep or erase it.

Erase your iPhone from Settings

Use these steps if you can unlock the iPhone and open Settings. Keep the phone charged or connected to power while it erases.

  1. 1Open Settings and tap General.
  2. 2Tap Transfer or Reset iPhone.
  3. 3Tap Erase All Content and Settings.
  4. 4Review what will be erased, then tap Continue.
  5. 5Enter your passcode or Apple Account password if asked, and confirm the erase.

Reset an iPhone with a computer

If you can’t erase the iPhone in Settings, you can restore it using a Mac or PC. Use Finder on a Mac, the Apple Devices app on Windows, or iTunes on a computer that uses iTunes.

Connect the iPhone to the computer and open the appropriate app. Put the iPhone into recovery mode, select it when it appears, and choose Restore; this erases the phone and installs iOS again.

If you have an iPhone 7 or forgot the passcode

To put an iPhone 7 into recovery mode, connect it to a computer while holding the Volume Down button. Keep holding the button until the recovery-mode screen appears, then use the computer to restore the phone.

After an erase or restore, Activation Lock may require the Apple Account and password previously used with the iPhone. A factory reset does not remove Activation Lock.

Questions people ask

How do I factory reset an iPhone without the passcode?

Use a computer to put the iPhone into recovery mode and restore it. The process erases the phone, and Activation Lock may still require the Apple Account previously linked to it.

How do I factory reset an iPhone 7?

If you can unlock it, go to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. If you can’t unlock it, connect it to a computer while holding Volume Down, then restore it through the computer.

Can I factory reset an iPhone with a laptop?

Yes. Use Finder on a Mac, Apple Devices on Windows, or iTunes on a computer that uses iTunes. If the iPhone can’t be erased from Settings, use recovery mode and choose Restore.

Does resetting an iPhone delete everything?

Erase All Content and Settings removes personal data and settings from the iPhone. You can recover backed-up information by restoring from a backup.

Keep exploring