What a factory reset does and when you need one
A factory reset erases everything on your iPhone — all apps, photos, messages, settings, and accounts — and returns it to the state it was in when it left the factory. This is different from a regular backup or restart. Once you start the process, you cannot stop it partway through.
You might reset your iPhone if you are selling it, giving it away, troubleshooting a serious software problem, or preparing to trade it in. The reset also removes any accounts linked to the phone, which is why Apple requires you to know your Apple ID password before you can complete one.
Before you reset, back up your data if you want to keep it. You can back up to iCloud (Apple's cloud storage) or to a computer using Finder or iTunes. If you do not back up first, that data is gone after the reset.
Key Takeaways
- A factory reset erases everything on your iPhone and cannot be undone, so back up your data first if you want to keep it.
- You will need your Apple ID password to complete the reset, even if you do not remember which email address is linked to it.
- The reset process takes 10 to 30 minutes depending on your iPhone model and how much data was on it.
- After the reset completes, your iPhone will restart and show the setup screen, as if it were brand new.
- If you are selling or giving away the phone, remove it from your Apple ID account before handing it over, so the new owner can set it up with their own account.
How to back up your iPhone before resetting
The fastest way to back up is through iCloud. Open Settings, tap your name at the top, then tap iCloud. Scroll down and tap iCloud Backup, then tap Back Up Now. The backup runs in the background and can take anywhere from a few minutes to an hour depending on how much data you have and your internet speed. You can check the progress by going back to Settings > [Your Name] > iCloud > iCloud Backup and looking at the timestamp next to "Last Backup".
If you prefer to back up to a computer instead, connect your iPhone with a USB cable. On a Mac running Monterey or later, open Finder, click your iPhone in the sidebar, and click Back Up Now. On a Windows PC or older Mac, use iTunes instead. The computer backup is usually faster than iCloud and gives you a local copy you control.
Resetting through Settings on your iPhone
This is the most common method and works on all iPhone models. Open Settings and tap General. Scroll to the bottom and tap Transfer or Reset. Tap Erase All Content and Settings. You will see a warning that this action cannot be undone. Tap Continue, then tap Erase.
Your iPhone will ask for your Apple ID password. This is a security feature — it prevents someone else from erasing your phone and setting it up as their own. Type in the password and tap Erase again. The phone will restart and begin the reset process. You will see a progress bar. Do not turn off the phone or disconnect it from power during this time.
When the reset finishes, your iPhone will restart and show the Hello screen, the same one you saw when you first turned it on. From here you can set it up as a new phone or restore from your backup.
Using a computer to reset if your iPhone is locked or frozen
If your iPhone is frozen, unresponsive, or you cannot access Settings, you can reset it using a computer. Connect the phone to a Mac or PC with a USB cable. On Mac, open Finder and click your iPhone in the sidebar. On Windows, open iTunes. Look for a Restore button or option. Click it.
Your computer will download the latest iPhone software and install it, which erases the phone in the process. This takes 15 to 45 minutes depending on your internet speed and which iPhone model you have. When it finishes, your phone will restart and show the Hello screen.
If you see a message saying the phone is locked with Find My iPhone, you will need your Apple ID password to proceed. If you do not have it, you will need to recover your Apple ID through Apple's account recovery process on a web browser before you can continue.
What to do after the reset is complete
Your iPhone will restart and show the setup screen. You can choose to set it up as a new iPhone or restore from a backup. If you backed up to iCloud, tap Restore from iCloud Backup, sign in with your Apple ID, and choose which backup to restore. If you backed up to a computer, connect the phone again and choose Restore from Backup in Finder or iTunes.
Restoring from backup puts your apps, photos, messages, and settings back on the phone, but it can take an hour or more depending on how much data you are restoring. The phone will restart several times during this process. Let it finish without interruption.
If you are selling or giving away the phone instead, do not restore from backup. Just set it up as a new iPhone and then sign out of your Apple ID before handing it over. This removes the phone from your account and lets the new owner set it up with their own Apple ID.
Removing your iPhone from your Apple ID account
If you are selling or giving away your phone, remove it from your Apple ID account so the new owner is not locked out. On the phone itself, open Settings, tap your name, scroll down, and tap Sign Out. You will be asked whether to keep or delete data from iCloud. Choose Delete because you are removing the phone from your account. Enter your Apple ID password to confirm.
You can also remove the phone from your account on any web browser. Go to iCloud.com, sign in, click Account Settings, then click Find My. Click Find My iPhone, then look for your phone in the list. Click the X next to it to remove it. This works even if the phone is off or you do not have it in front of you.
Troubleshooting reset problems
If the reset starts but gets stuck on a progress screen, force restart your iPhone. The method depends on your model. On iPhone 8 and later, quickly press and release the Volume Up button, quickly press and release the Volume Down button, then press and hold the Side button until you see the Apple logo. On iPhone 7 and earlier, press and hold the Top (or Side) button and the Volume Down button together until the Apple logo appears. Let go and let the phone restart.
If you see an error message during reset, write down the exact error code and check Apple's support website for that specific code. Common errors include network problems (try resetting on a different Wi-Fi network), a locked Apple ID account (you may need to unlock it through iCloud.com), or a problem with your computer's USB connection (try a different cable or port).
If the reset completes but your phone will not turn on, connect it to power and wait 30 minutes. If it still will not respond, connect it to a computer and try the restore process again through Finder or iTunes.
Frequently Asked Questions
Do I lose my phone number when I factory reset?
No. Your phone number is stored on your carrier's network, not on the phone itself. After the reset, when you set up the phone again and reconnect to your carrier's network, your number comes back automatically.
Can I undo a factory reset after it starts?
No. Once you confirm the reset and enter your Apple ID password, the process cannot be stopped. This is why backing up first is important.
What if I forgot my Apple ID password?
You will need to recover your Apple ID before you can complete the reset. Go to iforgot.apple.com on any web browser, enter your Apple ID email, and follow the recovery steps. Apple will send a verification code to your email or phone number. Once you reset your password, you can use it to complete the factory reset on your iPhone.
How long does a factory reset take?
The reset itself usually takes 10 to 30 minutes. If you restore from a backup afterward, add another 30 minutes to several hours depending on how much data you are restoring and your internet speed.
Will a factory reset fix software problems like apps crashing?
Sometimes, but not always. A reset clears out corrupted files and settings that might be causing problems. However, if the problem is a hardware issue or a bug in iOS itself, a reset will not fix it. Try restarting your phone or updating to the latest iOS version before you reset.