Finish within00:00:00for tomorrow collection
Back to Blog
Sell DevicesOctober 1, 20266 min read

How to Factory Reset an iPhone (With or Without the Passcode)

How to Factory Reset an iPhone (With or Without the Passcode)

Quick answer: to factory reset an iPhone, go to Settings → General → Transfer or Reset iPhone → Erase All Content and Settings, enter your passcode and Apple ID password, and confirm. The iPhone erases itself and restarts on the "Hello" screen. If you've forgotten the passcode, use Forgot Passcode? on the lock screen or recovery mode on a computer (both below). Selling or giving it away? Back it up and sign out of your Apple ID first, so Activation Lock is off.

Method 1: Factory reset from Settings

This is the normal way, and it works on any iPhone running iOS 15 or later.

  1. Open Settings → General → Transfer or Reset iPhone.
  2. Tap Erase All Content and Settings, then Continue.
  3. Enter your passcode. If you're signed in to iCloud, enter your Apple ID password to turn off Find My and Activation Lock.
  4. If you have an eSIM, choose whether to keep or erase it. Erase it unless you are moving the number to another phone.
  5. Tap Erase iPhone. It takes a few minutes, and the iPhone restarts on the "Hello" screen.

Method 2: Factory reset an iPhone without the passcode

On iOS 15.2 or later, you can erase a locked iPhone from the lock screen, as long as it is connected to Wi-Fi or mobile data and you know your Apple ID password.

  1. Enter the wrong passcode until the iPhone shows iPhone Unavailable or Security Lockout.
  2. Tap Forgot Passcode? at the bottom of the screen (on iOS 15.2 to 16 it says Erase iPhone).
  3. Tap Start iPhone Reset, enter your Apple ID password and confirm.

If that option doesn't appear, use recovery mode with a computer instead.

Method 3: Factory reset with a computer (recovery mode)

Recovery mode reinstalls iOS and erases everything. Use it when the iPhone is locked, stuck on the Apple logo or won't finish updating.

  1. On a Mac, open Finder (macOS Catalina or later) or iTunes (older macOS). On Windows, open the Apple Devices app or iTunes.
  2. Connect the iPhone with a cable, then put it into recovery mode:
    • iPhone 8 or later, including iPhone SE (2nd and 3rd generation): press and quickly release volume up, press and quickly release volume down, then press and hold the side button until the recovery-mode screen (a computer and cable) appears.
    • iPhone 7 and 7 Plus: press and hold the side button and volume down together until the recovery-mode screen appears.
    • iPhone 6s or earlier, and iPhone SE (1st generation): press and hold the Home button and the side (or top) button together until the recovery-mode screen appears.
  3. On the computer, choose Restore. It downloads iOS and erases the iPhone.

Restoring does not remove Activation Lock. When the iPhone restarts, it still asks for the Apple ID and password it was signed in with.

Method 4: Erase an iPhone remotely with iCloud

For a lost iPhone, or one with a broken or black screen: sign in at iCloud.com/find, choose the iPhone from All Devices and select Erase This Device. Once it has erased, select Remove This Device so it's no longer linked to your Apple ID.

Factory reset vs force restart vs Reset All Settings

  • Force restart (volume up, volume down, then hold the side button until the Apple logo appears) only restarts a frozen iPhone. Nothing is deleted.
  • Reset All Settings (Settings → General → Transfer or Reset iPhone → Reset) puts settings such as Wi-Fi, Face ID and the keyboard back to default. It keeps your apps, photos and data.
  • Erase All Content and Settings is the full factory reset: apps, photos, messages, accounts and settings are all deleted.

Before you sell or give away your iPhone

A reset on its own isn't enough to sell an iPhone. Do these first, in this order.

1. Back up your iPhone

Go to Settings → [your name] → iCloud → iCloud Backup and tap Back Up Now, or back up to a computer in Finder (Mac) or the Apple Devices app (Windows). If you're moving to a new iPhone, you can use Quick Start instead.

2. Unpair your Apple Watch

If you use an Apple Watch with this iPhone, unpair it in the Watch app first. Unpairing also backs up the watch. See how to reset and unpair an Apple Watch.

3. Sign out of your Apple ID

Go to Settings → [your name], scroll down and tap Sign Out. This turns off Find My iPhone and Activation Lock. With Activation Lock on, nobody else can set the phone up, so it can't be bought or reused.

4. Erase it, and take out the SIM

Use Method 1 above, then remove any physical SIM card. Switching to Android? Deregister your number from iMessage on Apple's "Deregister iMessage" page, so texts from iPhone users still reach you.

Checklist

  • Backed up (iCloud or computer)
  • Apple Watch unpaired
  • Signed out of Apple ID: Find My and Activation Lock off
  • Erased: iPhone shows the "Hello" screen
  • SIM card removed

Factory reset FAQs

Does a factory reset delete everything on an iPhone?

Yes. Erase All Content and Settings deletes your apps, photos, messages, accounts and settings, and the data can't be recovered afterwards. Back up anything you want to keep first.

How do I force my iPhone to factory reset?

If the iPhone won't respond, or you can't get into Settings, use recovery mode with a computer (Method 3) or Forgot Passcode? on the lock screen (Method 2).

Can I factory reset an iPhone without the Apple ID password?

You can erase it with a computer, but Activation Lock will still ask for the original Apple ID when it restarts. Only the account owner, or Apple with proof of purchase, can remove it. See how to remove Activation Lock from an iPhone.

How long does a factory reset take?

Erasing from Settings usually takes a few minutes. Restoring with a computer takes longer, because the computer downloads iOS first.

Done? Get an instant quote on the Sell My iPhone page. We collect free across the UK and pay once we've checked your iPhone. A cracked or faulty iPhone still has value too: see sell a broken iPhone.

Search

Subscribe to Newsletter

Get the latest articles delivered to your inbox