What You Can Do Without a Computer or Passcode
You can factory reset an iPhone using only the device itself and your Apple ID credentials, even if you do not remember your passcode. Apple built this option into every iPhone specifically for situations where you are locked out. The process erases everything on the phone and returns it to factory settings, but it requires you to know the email address and password for the Apple ID that is linked to the device.
If you do not know your Apple ID password, you will need to reset it through Apple's website before you start the factory reset process. This takes a few extra minutes but is straightforward. The entire reset process takes 10 to 20 minutes once you have your Apple ID information ready.
Key Takeaways
- You can factory reset an iPhone using Settings alone if you know your Apple ID email and password, even without the device passcode.
- The reset erases all data on the phone, so back up anything you want to keep before starting.
- If you forgot your Apple ID password, reset it at iforgot.apple.com before attempting the factory reset.
- After the reset completes, you will be asked to sign in with your Apple ID again to reactivate the device.
- The entire process takes 10 to 20 minutes and requires only the iPhone itself and an internet connection.
Reset Your iPhone Through Settings Without Knowing Your Passcode
Open Settings on your iPhone. Tap General, then scroll down and tap Transfer or Reset. On newer iPhones (iOS 16 and later), you will see a button labeled Erase All Content and Settings. Tap it.
The phone will ask you to enter your passcode. If you do not know it, tap "Don't Have Passcode or Forgot It?" at the bottom of the screen. You will then be asked to enter your Apple ID email and password instead. Type in the credentials for the Apple ID linked to this device.
Once you enter your Apple ID information correctly, the phone will confirm that you want to erase everything. Tap Erase to proceed. The reset will begin when ready and take 5 to 10 minutes to complete. Do not turn off the phone or disconnect it from power during this time.
What Happens During and After the Reset
While the reset runs, you will see a progress bar on the screen. The phone may restart once or twice — this is normal. Once the reset finishes, the iPhone will show the setup screen you see when a new iPhone first turns on.
You will be asked to set up the device again. You can sign in with your Apple ID at this point to restore some settings and data from a backup if you have one saved to iCloud. If you do not have a backup, you can set up the phone as new and add accounts and apps manually.
If You Forgot Your Apple ID Password
Go to iforgot.apple.com on any computer or another device with a web browser. Enter the email address for your Apple ID and follow the on-screen steps. Apple will send a verification code to your email or phone number on file.
Enter the code when prompted, then create a new password. Make sure it is at least 8 characters long and includes uppercase letters, lowercase letters, numbers, and a symbol. Write down the new password somewhere safe before you start the factory reset process on your iPhone.
Once you have reset your Apple ID password, return to your iPhone and follow the factory reset steps above. Use your Apple ID email and the new password when prompted.
Common Mistakes to Avoid
Do not turn off the iPhone during the reset. If the battery is low, plug it into power before you start. A reset interrupted by a power loss can leave the phone in an unusable state.
Do not try to use a different Apple ID. The phone will only accept the Apple ID that was originally set up on it. If you do not remember which email address was used, check any old receipts or emails from Apple, or contact Apple Support for help identifying it.
Do not assume you can skip the Apple ID step. Even after a factory reset, the phone will ask you to sign in with the original Apple ID before you can use it. This is a security feature called set up Lock, and there is no way around it without the correct credentials.
What to Do If You Cannot Remember Your Apple ID Email
Check your email inbox for messages from Apple. Look for emails about your account, purchases, or password resets. The email address used for your Apple ID will appear in these messages.
If you have an Apple device that is still signed in, go to Settings, tap your name at the top, and look for the email address listed there. That is your Apple ID.
If you still cannot find it, contact Apple Support directly. You can reach them through apple.com/support or by calling the support number for your country. Have your phone's serial number ready — you can find it in Settings under General, then About.
Alternatives If the Factory Reset Does Not Work
If you see an error message during the reset, try again after waiting a few minutes. Sometimes the phone needs time to connect to Apple's servers to verify your Apple ID.
If the reset keeps failing and you have access to another device, you can use Find My iPhone through iCloud.com. Sign in with your Apple ID, select Find My, then choose your iPhone from the list. Select Erase This Device. This does the same thing as the on-device reset but may work if the phone itself is having trouble.
If neither method works, you will need to visit an Apple Store or contact Apple Support. They can help you regain access to the device, though you will need to prove ownership with a receipt or other documentation.
Frequently Asked Questions
Will factory reset remove the passcode?
Yes. A factory reset erases everything on the phone, including the passcode. After the reset, you can set up a new passcode or choose not to use one at all.
Can I factory reset without erasing my photos and messages?
No. A factory reset erases all data on the device. If you have an iCloud backup, you can restore your photos, messages, and other data after the reset completes by signing in with your Apple ID during setup.
How long does a factory reset take?
The reset itself takes 5 to 10 minutes. The entire process, including setup afterward, takes 10 to 20 minutes depending on your internet speed and how much you customize during setup.
Do I need WiFi to factory reset my iPhone?
Yes. Your iPhone needs an internet connection to verify your Apple ID during the reset. Make sure you are connected to WiFi before you start.
What if I do not have access to the email address for my Apple ID?
Contact Apple Support. They can help you recover your account or change the email address associated with it. You will need to verify your identity with information about the device or your account history.