How to Factory Reset or Hard Reset an iPhone
In this article
To factory reset an iPhone, go to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. This erases everything on the phone and returns it to the setup screen. A hard reset (force restart) is different: it only reboots the phone and does not delete data. Use a factory reset before selling, trading in, or giving away the iPhone, or when software problems persist after other fixes. Before you start, back up the iPhone to iCloud or a computer, because a factory reset permanently deletes all data and settings. You will also need your Apple ID password to turn off Activation Lock, and a stable Wi-Fi or cellular connection is helpful for the backup and for signing out of services.
What You'll Need
- Your iPhone with enough battery (at least 50% recommended) or connected to power.
- Your Apple ID and password to sign out of iCloud and turn off Activation Lock.
- A backup made recently (iCloud or computer) if you want to keep your data.
- Wi-Fi or cellular connection for backup and sign-out steps.
- Your device passcode to confirm the erase.
Step-by-Step
- Back up your iPhone. Or connect to a computer and use Finder (macOS Catalina or later) or iTunes (Windows or older macOS) to make a local backup. Wait for the backup to finish before proceeding.
- Sign out of iCloud and turn off Activation Lock. Enter your Apple ID password and confirm. This step also removes the device from your account and turns off Find My iPhone, which is required for a clean reset. If you are asked to keep a copy of data on the iPhone, you can choose to keep it if you have a backup, but the reset will erase it anyway.
- Sign out of other accounts (optional but recommended). This prevents your accounts from remaining linked.
- Start the erase. Go to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. If you don't see that option, look for Reset > Erase All Content and Settings (labels vary slightly by iOS version).
- Confirm and enter your passcode. Read the warning that everything will be erased. Tap Continue, enter your device passcode, and confirm. If asked for your Apple ID password, enter it to disable Activation Lock.
- Wait for the process to complete. The iPhone will show a progress bar and may restart. Do not unplug or force restart during this time. When finished, the iPhone shows the Hello screen, ready to be set up as new or restored from a backup.
If you cannot access the Settings app (for example, the screen is unresponsive or you forgot the passcode), you can erase the iPhone using a computer: connect the iPhone, open Finder or iTunes, select the device, and choose Restore iPhone. This also requires turning off Activation Lock beforehand if Find My iPhone is enabled. For a hard reset (force restart) that does not erase data, press and quickly release the volume up button, then the volume down button, then press and hold the side button until the Apple logo appears. This is useful if the phone is frozen.
Common Mistakes
- Not backing up first. A factory reset deletes all photos, messages, app data, and settings. Without a backup, that data is gone permanently.
- Forgetting to sign out of iCloud. If Find My iPhone is on, Activation Lock will prevent the next owner from setting up the phone. Always sign out before erasing.
- Confusing hard reset with factory reset. A hard reset (force restart) only reboots the phone; it does not erase anything. A factory reset erases everything.
- Interrupting the erase process. Unplugging or forcing a restart during the erase can leave the iPhone in an unstable state or require a computer restore.
- Using a low battery. If the battery dies mid-erase, the process may fail. Charge the phone or keep it connected to power.
Tips
- Before erasing, note your Apple ID and password somewhere safe. You will need them to set up the phone again or to remove Activation Lock later.
- If you plan to sell or trade in, also remove the SIM card and any case or accessories.
- After the reset, you can restore from your backup during setup. Choose the most recent backup to get your data back.
- For a quick reboot without data loss, use the force restart method described above instead of a factory reset.
- Keep your iPhone updated to the latest iOS version before resetting, as menu labels and options can change between versions.
Troubleshooting
If the erase option is greyed out or missing, make sure you are signed in to iCloud and that Find My iPhone is turned off. If you cannot sign out because you forgot your Apple ID password, use the Apple ID account recovery process on Apple's website. If the iPhone freezes during the erase, wait at least 15 minutes; if nothing changes, force restart the phone and try again. If the iPhone does not return to the Hello screen after the erase, connect it to a computer and use Finder or iTunes to restore it. If you see an Activation Lock screen after setup, you must enter the original Apple ID and password to unlock the device. In case of persistent software issues, contact Apple Support or visit an Apple Store for assistance.
Frequently Asked Questions
Does a factory reset delete everything on my iPhone?
Yes, a factory reset erases all content and settings, including photos, messages, apps, and accounts. Make a backup first if you want to keep your data.
What is the difference between a hard reset and a factory reset?
A hard reset (force restart) only reboots the iPhone and does not delete data. A factory reset erases all data and returns the phone to its original state.
Do I need to sign out of iCloud before resetting?
Yes, signing out turns off Activation Lock, which is required for the next owner to activate the iPhone. If you skip this, the phone will be locked to your Apple ID.
Can I reset my iPhone without a passcode?
If you forgot your passcode, you can erase the iPhone using a computer with Finder or iTunes. You will still need your Apple ID password to turn off Activation Lock.
Will a factory reset remove iOS updates?
No, the iOS version remains the same after a factory reset. The phone will restart with the same version of iOS that was installed before the reset.
How long does a factory reset take?
Typically 5 to 15 minutes, depending on the iPhone model and the amount of data. Keep the phone connected to power during the process.