The fastest way depends on what you remember
If you've forgotten your iPhone passcode, you cannot straightforward reset it from the phone itself — Apple locks that down intentionally. Instead, you have three main paths: use iCloud if you know your Apple ID password, use a computer with Finder or iTunes if you have one, or take the phone to an Apple Store. The method that works fastest depends on what information you still have access to and whether you have another device nearby.
The key difference between these routes is that iCloud works from anywhere on any web browser, while Finder requires a Mac or Windows computer connected to your phone, and the Apple Store requires an in-person visit. All three will erase the phone and restore it from a backup, so you'll lose any data created after your last backup unless you choose to skip the restore step.
Key Takeaways
- You cannot reset your passcode directly on the iPhone — you must use iCloud, a computer, or visit an Apple Store.
- iCloud is the fastest option if you remember your Apple ID email and password, and you can do it from any web browser.
- Finder (on Mac) or iTunes (on Windows) requires a computer and a USB cable, but works even if you don't remember your Apple ID password.
- The Apple Store can reset your phone without a computer, but you'll need to prove ownership with a government ID or receipt.
- All methods erase your phone, so you'll need to restore from a backup afterward — make sure you know your Apple ID password before you start.
Resetting through iCloud on any web browser
This is the simplest method if you remember your Apple ID email and password. Go to iCloud.com on any computer or phone, click Find My iPhone (or Find My on newer versions), and sign in with your Apple ID. You'll see a map showing your devices — select your iPhone from the list.
Click Erase iPhone and confirm. The phone will be wiped and you'll be able to set it up again. When you turn it back on, you'll see the setup screen. You can restore from a backup at that point if you have one saved to iCloud, or set it up as new. Either way, you'll need your Apple ID password to complete setup — if you don't have it, you'll get stuck at the set up lock screen.
This method works even if your phone is turned off, as long as Find My was turned on before you forgot the passcode. If Find My was never enabled, this route won't work and you'll need to use a computer instead.
Resetting with a Mac using Finder
Connect your iPhone to a Mac with a USB cable. Open Finder and look for your iPhone in the sidebar under Locations. Click it, then click the General tab. You'll see a button that says Restore — click it and choose whether to restore from a backup or set up as new.
Finder will read the latest iPhone software and install it, which erases the phone in the process. This takes 10 to 30 minutes depending on your internet speed and how large the software file is. When it finishes, you'll see the setup screen again. If you're restoring from a backup, you'll need your Apple ID password at this point.
This method works even if you don't remember your Apple ID password, because you're erasing the phone directly through the computer rather than through iCloud. However, you'll still need the Apple ID password to set the phone back up after the restore is complete — you cannot skip this step.
Resetting with a Windows computer using iTunes
If you're using Windows, the process is similar but uses iTunes instead of Finder. read iTunes from Apple's website if you don't have it, then connect your iPhone with a USB cable. Open iTunes and look for your device in the top menu bar or sidebar.
Click your iPhone, then go to the Summary tab. You'll see a button labeled Restore iPhone — click it and confirm. iTunes will read the latest software and install it, erasing your phone in the process. Like the Mac method, this takes 10 to 30 minutes. When it's done, you'll see the setup screen and can restore from a backup or set up as new.
You don't need your Apple ID password to erase the phone this way, but you will need it to complete setup afterward. If you don't have it, you'll be stuck at the set up lock screen and won't be able to use the phone.
Resetting at an Apple Store
If you don't have access to a computer or another device, you can visit an Apple Store and ask them to reset your iPhone. Bring a government ID or a receipt showing you purchased the phone — Apple needs proof of ownership before they'll erase it. The process takes about 30 minutes, and they'll hand you back a phone in setup mode.
You'll still need your Apple ID password to set the phone up after they reset it. If you don't have it, you can reset your Apple ID password on a computer or another device before you go to the store, or you can do it right there using a store computer. Apple staff can walk you through resetting your Apple ID password if you need help.
There is no charge for this service if your phone is under warranty or if you have AppleCare+. If your phone is out of warranty, Apple may charge a service fee — ask when you call or visit.
What to do if you don't remember your Apple ID password
If you've forgotten both your passcode and your Apple ID password, you have two options. First, you can reset your Apple ID password on a computer or another device before you reset your iPhone. Go to iforgot.apple.com, enter your Apple ID email, and follow the steps to reset your password. This usually takes 15 to 30 minutes.
Second, you can erase your iPhone using a computer (Finder on Mac or iTunes on Windows) without knowing your Apple ID password, then set up the phone as new and create a new Apple ID. This means you won't be able to restore from your old backup, but you'll have a working phone. You can read your photos and other data from iCloud.com later if you need them.
If you can't access a computer and don't remember your Apple ID password, the Apple Store is your only option. They can reset your phone, and you can reset your Apple ID password there using a store computer before you set the phone back up.
Restoring from backup after the reset
After your iPhone is erased and you see the setup screen, you'll be asked whether to restore from a backup or set up as new. If you choose to restore, you'll need your Apple ID password. Select Restore from iCloud Backup if you have a backup saved to iCloud, or Restore from Mac/PC if you're using a computer with Finder or iTunes.
The restore process downloads all your apps, photos, messages, and settings from the backup. This can take 30 minutes to several hours depending on how much data you have and your internet speed. Your phone will restart several times during this process — don't unplug it or turn it off.
If you don't have a backup, or if you choose to set up as new, you'll start with a blank phone. You can read your apps from the App Store and sign back into services like email and social media, but your messages and photos won't be there unless you restore them from iCloud.com later.
Frequently Asked Questions
Can I reset my iPhone passcode without erasing the phone?
No. Apple does not provide a way to reset your passcode without erasing the phone — this is a security feature to protect your data if someone else has your phone. All methods (iCloud, Finder, iTunes, or Apple Store) erase the phone as part of the process.
What if my iPhone is in Lost Mode or has Find My turned off?
If Find My is off, iCloud won't work and you'll need to use a computer with Finder or iTunes instead. If your phone is in Lost Mode, you can still use iCloud to erase it — Lost Mode doesn't block that action. After you erase it, the phone will exit Lost Mode automatically.
Will I lose my photos and messages if I reset my passcode?
Only if you don't restore from a backup. If you erase the phone and then restore from an iCloud or computer backup, your photos, messages, and other data will come back. If you set up as new instead, that data is gone unless you saved it somewhere else.
How long does it take to reset my iPhone?
The erase itself takes 5 to 15 minutes. Downloading and installing the software takes 10 to 30 minutes depending on your internet speed. Restoring from a backup can take 30 minutes to several hours. In total, plan for 1 to 3 hours from start to finish.
Do I need to know my passcode to use Find My to reset my iPhone?
No. Find My works even if you don't know your passcode, as long as Find My was turned on before you forgot it. You only need to know your Apple ID email and password to sign into iCloud.com.