Pocket How
Fixes and restarts

How to factory reset an iPhone

Works on iPhone. By Cihat Salik, updated .

Short answer

Back up first, then open Settings, General, Transfer or Reset iPhone, and tap Erase All Content and Settings. Enter your passcode and Apple Account password, and the iPhone restarts to the Hello screen.

Back up first

  1. Back up to iCloud or to a Mac or PC, so you can put your content, settings and apps back afterwards.

  2. If you are moving to a new iPhone, you can tap Get Started in Settings › General › Transfer or Reset iPhone to prepare your content first.

    1. Settings
    2. General
    3. Transfer or Reset iPhone

Erase All Content and Settings

  1. Open Settings, tap General, then Transfer or Reset iPhone.

    1. Settings
    2. General
    3. Transfer or Reset iPhone
  2. Tap Erase All Content and Settings, then Continue.

  3. If you use an eSIM, choose whether to keep it or erase it. Erase it if you are selling or giving the iPhone away.

  4. Enter your passcode, then your Apple Account password. This signs you out and turns off Find My and Activation Lock.

  5. Wait for the Hello screen. The iPhone is now as it came from the box.

Good to know

If Settings will not open, use iOS Recovery on iOS 27, which has its own **Erase All Content and Settings** option, or restore the iPhone from a computer in recovery mode. If the button is dimmed, a school or company manages the iPhone and its administrator has to allow it.

Checked against Apple Support

Lean: Video & Photo Compressor

Lean fits a video to 10, 25, 50 or 100 MB on the phone, then shares or saves the copy.

Download on the App Store
Lean on iPhone, App Store screenshot 1Lean on iPhone, App Store screenshot 2Lean on iPhone, App Store screenshot 3Lean on iPhone, App Store screenshot 4
  • Fits a video to 10, 25, 50 or 100 MB, then shares or saves the copy
  • Compresses to HEVC on the phone and keeps date, location and albums
  • Originals go to Recently Deleted for 30 days, so you can go back

Free for 3 compressions a week; Lean Pro removes the limit.

We make Lean. You do not need it for the steps above.

Lean website: how it works, guides and support

See every app we make

Questions people also ask

  • Does a factory reset delete my iCloud photos?

    No. Erasing the iPhone removes what is on the device, but your content stays in iCloud and comes back when you sign in again.

  • I already gave my iPhone away. Can I still erase it?

    Ask the new owner to erase it, or sign in to iCloud.com, open Find Devices and erase it from there. Then remove it from your trusted devices.

More things your iPhone can do

Lean Also from us Get