To factory reset an iPhone, open Settings, go to General > Transfer or Reset, select ‘Erase All Content and Settings’, enter your passcode and Apple ID password, then confirm. The process erases all data and apps but returns the device to its original state — so back up first unless you intend a clean start.
Why you might need to reset your iPhone
A factory reset wipes your iPhone completely and restores it to the condition it left the factory. You’ll choose this path when the device is sluggish after years of apps and files, when you’re selling or giving it away, or when software glitches have become impossible to fix. It’s also the right move if you’ve forgotten your passcode or suspect malware — though for stolen or lost devices, use Find My iPhone instead.
Unlike a simple restart, which closes apps and refreshes memory, a factory reset is permanent and total. Every photo, message, app and setting vanishes. Your iPhone returns to the moment it left the box. This makes it the last resort for most people, but the most thorough solution when a fresh start is what you need.
Back up your iPhone before you reset
Before you erase anything, back up your data. You have two routes: iCloud or a computer. iCloud is simpler if you’re online and have enough free space (5 GB comes free with every Apple account). Go to Settings > [Your Name] > iCloud > iCloud Backup, then tap ‘Back Up Now’. On a computer, connect your iPhone to a Mac with Finder or a Windows PC with iTunes, select your device, and choose ‘Back Up Now’.
Check that your backup completed before you reset. In iCloud, you’ll see a timestamp showing when the last backup finished. On a computer, look for the backup date in Finder or iTunes preferences. This backup is your lifeline — once you reset, you’ll restore from it to get your photos, contacts, messages and app data back on a clean system.
The step-by-step process to factory reset your iPhone
Open the Settings app and tap your name at the top of the screen (or go straight to General if you’re on an older iOS version). Scroll down and select ‘Transfer or Reset’. You’ll see the option ‘Erase All Content and Settings’ — tap it. iOS will ask you to confirm with your passcode, then your Apple ID password. Enter both. The reset then begins.
The process takes 5–15 minutes depending on how much data is on your phone and whether you’re connected to Wi-Fi. You’ll see a progress bar. Your iPhone will restart several times. Do not interrupt this — do not unplug it, close the lid or force-restart. Let it finish. When it’s done, you’ll see the ‘Hello’ setup screen, the same one you saw when the iPhone was brand new.
From here, you can set up the iPhone as a new device, or restore from your backup. If you chose to back up before resetting, select ‘Restore from iCloud Backup’ or ‘Restore from Mac Backup’ during setup, sign in with your Apple ID, and select the backup you made. Your data, apps and settings will reinstall. This usually takes 30 minutes to an hour depending on the backup size and your internet speed.
What happens after a factory reset
Once the reset finishes and you’ve restored from backup, your iPhone will look much as it did before — but cleaner. The system files are fresh, cached data is gone, and performance often improves noticeably, especially on older devices. Your photos, contacts, messages, calendar and app data are back. However, apps themselves do not restore automatically — you must reinstall them from the App Store, or iOS will do this automatically if you left ‘Automatic App Downloads’ turned on before the reset.
Some settings and preferences may not restore perfectly. Two-factor authentication codes might need re-entering. Apps that require special permissions (location, camera, microphone) will ask again. This is normal and a security feature. Spend an hour after setup going through Settings and app permissions to confirm everything is as you want it. Check that your banking apps, email and messaging apps are working properly before you declare the reset complete.
When not to factory reset, and what to do instead
If your iPhone is just slow, a reset may not be necessary. Try restarting first (hold the power button, slide to power off, then power on again). Close unused apps in the background. Clear the Safari cache in Settings > Safari > Clear History and Website Data. Delete old photos and videos manually, or use iCloud Photos to archive them. Turn off background app refresh for apps you don’t use often. These steps often restore speed without the nuclear option of a full wipe.
If you’ve forgotten your passcode or Apple ID password, do not reset without Apple ID. You’ll lock yourself out of the device permanently. Instead, use Find My iPhone on another device or at iCloud.com to erase and set up the iPhone remotely — or take it to an Apple Store and bring proof of purchase. If you suspect malware or security trouble, resetting is correct, but afterwards change your passwords on a separate device and monitor your accounts for unusual activity.
Key things to remember before you reset
A factory reset is irreversible once it starts. Back up first. Make sure you have your Apple ID password — iOS will ask for it during setup, and without it you cannot use the phone. Check that you have enough iCloud space or a computer to back up to. If you’re selling the iPhone, make sure you sign out of iCloud and your Apple ID before handing it over, or the new owner will not be able to set it up.
Resetting takes time. Plan for the process itself (5–15 minutes), app reinstalls and data restore (30 minutes to an hour), and reconfiguration (another hour). Do this when you have a charger nearby and Wi-Fi access. Do not expect your phone to be ready immediately after the reset completes — apps are still downloading, syncing is still happening. Be patient. Once it stabilizes (usually overnight), your iPhone will feel fresh and responsive.