The fastest way back into your iPhone

If you have forgotten your passcode, you have three main paths: use a computer to restore your iPhone through a Mac or Windows PC, use iCloud's Find My iPhone feature from another device, or take your phone to an Apple Store. The computer route is fastest if you have access to one. iCloud works from anywhere but requires you to remember your Apple ID password. The Apple Store route takes longer but does not require passwords you remember.

All three methods erase your iPhone completely — your passcode, your data, everything. You can restore from a backup afterward if you have one saved to iCloud or a computer. If you do not have a backup, your photos, messages, and apps are gone. This is why the process exists: Apple prioritizes security over convenience, and there is no way around the erasure.

Key Takeaways

  • Using a computer to restore your iPhone through Finder (Mac) or iTunes (Windows) is the fastest method and works even if you do not remember your Apple ID password.
  • iCloud's Find My iPhone feature works from any web browser or another Apple device, but you must remember your Apple ID password and email address.
  • All reset methods erase your iPhone completely, though you can restore from a backup if one exists on iCloud or a computer.
  • If you are locked out after too many wrong passcode attempts, you must wait or use one of these three methods — there is no other way in.

Resetting through a Mac or Windows computer

This is the most reliable method because it does not depend on remembering another password. Plug your iPhone into a Mac or Windows PC using the USB cable that came with your phone or any compatible Lightning or USB-C cable.

On a Mac running macOS Monterey or newer, open Finder and click your iPhone's name in the sidebar under Locations. Click "Restore" and confirm. On a Mac running an older version, open iTunes instead, click the iPhone icon, and click "Restore iPhone." On Windows, open iTunes, click the iPhone icon, and click "Restore." The computer will read the current iPhone software and install it, erasing everything on your phone. This takes 10 to 30 minutes depending on your internet speed.

When the restore finishes, you will see the setup screen. Choose "Restore from iCloud Backup" if you have one, or "Set Up as New iPhone" if you do not. If you restore from a backup, you will need your Apple ID password at this step. If you do not have a backup, you start fresh with no data.

Resetting through iCloud on any web browser

Go to iCloud.com from any computer or another phone and sign in with your Apple ID email and password. Click "Find My" (or "Find My iPhone" on older iCloud versions). Select your locked iPhone from the device list. Click "Erase iPhone" and confirm.

iCloud will erase your phone remotely over the internet. This works even if your iPhone is across the country. The erasure takes a few minutes to an hour depending on whether your phone is online at that moment. If your phone is offline, iCloud will erase it the next time it connects to the internet.

After the erase completes, your iPhone will show the setup screen. You can restore from an iCloud backup or set it up as new. You will need your Apple ID password to sign back in during setup.

Resetting through Find My on another Apple device

If you have a Mac, iPad, or another iPhone nearby, you can use its Find My app instead of going to a web browser. Open Find My, select your locked iPhone from the device list, and tap "Erase This Device." Confirm the action. The process is identical to the iCloud website method — your phone erases remotely and shows the setup screen when done.

This method is useful if you do not have a computer nearby but have another Apple device in your home or office. The Find My app is built into all modern Macs, iPads, and iPhones, so you do not need to read anything. The erase happens the same way as through iCloud.com, just through a different interface.

What to do if you do not remember your Apple ID password

If you are using the iCloud method and cannot remember your Apple ID password, go to iforgot.apple.com and enter your Apple ID email address. Apple will send you a link to reset your password through email or ask you to answer security questions you set up when you created your account. This usually takes a few minutes.

If you cannot access the email address linked to your Apple ID and you do not remember your security questions, you will need to contact Apple Support or visit an Apple Store in person. They can verify your identity through your receipt, serial number, or other proof of purchase and help you regain access to your account. Bring a photo ID and any documentation that shows you own the device.

Restoring your data after the reset

When your iPhone finishes erasing and shows the setup screen, you have two choices. "Restore from iCloud Backup" brings back your photos, messages, apps, and settings from the last backup you made. "Set Up as New iPhone" starts completely fresh with nothing from before.

iCloud backups happen automatically if you have iCloud turned on and your phone is plugged in and connected to Wi-Fi. If you have never set up iCloud or turned off backups, you will not have one to restore from. In that case, your data is gone and you must set up as new.

If you have a backup on a computer from before you forgot your passcode, you can restore from that instead. After you set up your iPhone as new, plug it into the computer, open Finder or iTunes, and click "Restore from Backup." Choose the backup you want and wait for it to restore. This method works if you backed up your phone regularly before the lockout.

Taking your iPhone to an Apple Store

If you do not have a computer, do not remember your Apple ID password, and do not have another Apple device, you can go to an Apple Store and ask for help. Bring your iPhone and a photo ID. Apple will verify that you own the phone through your ID and the device's serial number, then erase it for you.

This process takes 30 minutes to an hour depending on how busy the store is. You will still need to set up your phone and restore from a backup if you have one. If you do not have a backup, your data is still gone — the Apple Store cannot recover it. You can find your nearest Apple Store by visiting apple.com and using the store locator.

Frequently Asked Questions

What happens to my data when I reset my iPhone?

All data on your iPhone is erased — photos, messages, apps, settings, everything. You can restore from an iCloud or computer backup afterward if one exists. If you do not have a backup, the data cannot be recovered.

Do I need my Apple ID password to reset my iPhone?

Not if you use a computer to restore it. You do need your Apple ID password if you use iCloud or Find My, or if you want to restore from a backup after the reset. If you do not remember it, you can reset it at iforgot.apple.com.

Can I reset my iPhone without a computer or another device?

Yes, through iCloud.com on any web browser if you remember your Apple ID password. If you do not remember your Apple ID password and have no other way to reset it, you will need to visit an Apple Store or contact Apple Support.

How long does it take to reset an iPhone?

Through a computer, 10 to 30 minutes depending on your internet speed. Through iCloud, a few minutes to an hour depending on whether your phone is online. At an Apple Store, 30 minutes to an hour depending on how busy they are.

Will I lose my photos and messages if I reset my iPhone?

Yes, unless you have an iCloud or computer backup from before you forgot your passcode. If you have a backup, you can restore it after the reset and get your photos and messages back. If you do not have a backup, they are gone.