The fastest way back in depends on what you remember and what device you have access to

If you've forgotten the password to an old iPhone, you have several paths forward, and the one that works depends on whether you still have access to the email address or phone number tied to your Apple ID, whether you have another Apple device nearby, and how old the iPhone is. The most direct routes use either your Apple ID recovery information or another device you own — both of which can reset your password without erasing the phone. If those options aren't available, you'll need to erase the device and set it up fresh, which means losing the data on it unless you have a backup.

The key difference between these paths is whether you can prove you own the Apple ID attached to the iPhone. Apple's security system is built around that account, not around the device itself, so recovering access to your account is almost always faster than erasing the phone.

Key Takeaways

  • If you remember your Apple ID email or phone number, you can reset your iPhone password through Apple's account recovery process without erasing the device.
  • If you have another Apple device (Mac, iPad, or newer iPhone) signed into the same Apple ID, you can use that device to unlock the forgotten iPhone.
  • If you have a backup of the iPhone from before you forgot the password, you can restore from that backup after erasing the device.
  • If none of these options work, you'll need to erase the iPhone completely and set it up as new, which permanently removes all data on the device.
  • Apple's Find My service can help you locate the device and initiate a remote erase if the iPhone is lost rather than straightforward forgotten.

Resetting your password through your Apple ID if you remember your email or phone number

This is the simplest path if you still have access to the email address or phone number registered to your Apple ID. On the iPhone's lock screen, tap "iPhone Unavailable" or "Try After [time]" if you see it, then look for an option that says "Emergency SOS" or swipe up from the bottom. From there, you should see a way to access Siri or reach the home screen. Some older iPhones show a "Reset" or "Erase iPhone" option directly on the lock screen after multiple failed attempts.

Once you reach a point where you can access settings or a browser, go to iforgot.apple.com on any device with internet access. Enter your Apple ID email or phone number, then follow Apple's verification steps. You'll be asked to verify your identity using either a recovery key (if you set one up), a trusted device, or answers to security questions you created when you set up your Apple ID. After verification, you can create a new password. Once you've reset your password, return to the iPhone and enter the new password on the lock screen.

Using another Apple device you own to unlock the iPhone

If you have a Mac, iPad, or another iPhone that's already signed into your Apple ID, that device can help you regain access without erasing anything. On the device you do have access to, open System Preferences (Mac) or Settings (iPad or iPhone), then go to your Apple ID account settings. Look for an option related to "Find My" or "iCloud" and check whether the forgotten iPhone is listed as one of your devices.

If it appears in the list, select it and look for an option to "Reset Password" or "Unlock." Some versions of iOS and macOS allow you to send a password reset directly to the locked device, which will then prompt you to create a new one. The exact steps vary depending on whether you're using an older or newer version of Apple's operating system, but the principle is the same: you're using a device you control to tell Apple's servers to let the locked iPhone accept a new password.

Erasing the iPhone and restoring from a backup

If you don't remember your Apple ID details and don't have another Apple device available, you'll need to erase the iPhone. This removes all data currently on the device, but if you have a backup from before you forgot the password, you can restore your photos, contacts, messages, and apps afterward. Backups are usually stored either in iCloud (Apple's cloud service) or on a Mac or Windows computer through iTunes or Finder.

To erase the iPhone, you'll need to put it into Recovery Mode. Connect the iPhone to a computer with a USB cable, then open Finder (Mac) or iTunes (Windows). Force restart the iPhone by pressing and holding the top button and volume down button simultaneously until you see the recovery screen. Choose "Restore," which will erase the device and install a fresh copy of iOS. After the erase completes, you'll be prompted to set up the iPhone as new or restore from a backup. If you have a backup stored in iCloud, you can sign in with your Apple ID and restore from it. If you have a backup on the computer, Finder or iTunes will offer to restore from that backup instead.

Setting up the iPhone as new if you have no backup

If you've erased the iPhone and have no backup to restore from, you'll set it up as a brand-new device. After the erase and reinstall completes, the iPhone will walk you through the setup process: choosing a language, connecting to Wi-Fi, and creating or signing into an Apple ID. You can use the same Apple ID you had before, or create a new one. At this point, your old data is permanently gone, but the iPhone is usable again.

This is the most data-destructive option, so it's worth spending time on the earlier steps first. Before you erase, double-check whether you have any backups by signing into iCloud.com with any Apple ID you might have used, or by checking whether you've ever backed up to a Mac or Windows computer. Even a partial backup is better than starting completely from scratch.

Using Find My if the iPhone is lost rather than just forgotten

If you've misplaced the iPhone rather than straightforward forgotten the password, Find My (or "Find My iPhone" on older devices) can help you locate it and erase it remotely if needed. Go to iCloud.com on any web browser, sign in with your Apple ID, and select "Find My." You'll see a list of your devices. Select the iPhone you've lost, and you'll see its location on a map. You can play a sound on it to help you find it, put it in Lost Mode (which locks it and displays a message), or erase it remotely if you believe it's been stolen.

If you use Find My to erase the device remotely, the iPhone will be wiped the next time it connects to the internet. This is useful if you're concerned about someone accessing your data, but it means you lose any chance of recovering data from the device later. Lost Mode is often a better first step because it locks the phone and displays your contact information without destroying the data.

What to do if you don't remember your Apple ID email or phone number

This is the hardest situation, because Apple ties password recovery to your Apple ID account. If you can't remember the email address or phone number associated with your account, you'll need to contact Apple Support directly. Go to support.apple.com, select "Contact Us," and explain that you've forgotten your Apple ID details. Apple can verify your identity using information about your device, your payment method, or answers to security questions, and they can help you recover access to your account or create a new one.

This process takes longer than the self-service options — sometimes several days — because Apple needs to verify you're the legitimate owner of the account. Be prepared to provide proof of purchase, the device serial number (which you can find on the original box or receipt), or other identifying information. Keep any documentation you have from when you originally bought the iPhone, as it will speed up the verification process.

Frequently Asked Questions

Can I unlock an old iPhone without erasing it if I don't have my Apple ID password?

Yes, if you have access to the email address or phone number tied to your Apple ID. Go to iforgot.apple.com and reset your password, then use the new password on the iPhone. If you have another Apple device signed into the same account, you can also use that device to send a password reset to the locked iPhone.

What happens to my data if I erase the iPhone?

All data currently on the device is permanently deleted. However, if you have a backup stored in iCloud or on a computer, you can restore your photos, contacts, messages, and apps after you erase and set up the iPhone again. Check iCloud.com or your computer's backup software before you erase to see whether a backup exists.

How long does it take to erase and restore an iPhone?

Erasing usually takes 5 to 15 minutes depending on the device age and how much data is on it. Restoring from a backup can take 30 minutes to several hours depending on the backup size and your internet speed. Setting up as new takes about 10 to 20 minutes.

Can Apple unlock my iPhone for me?

Apple Support can help you recover your Apple ID account or walk you through the unlock process, but they cannot remotely unlock a device without erasing it. If you contact them, they'll guide you through the same steps described here and may help verify your identity if you've forgotten your Apple ID details.

What if the iPhone is very old and no longer gets iOS updates?

Older iPhones can still be erased and set up using the same Recovery Mode process, even if they're no longer receiving updates. Connect it to a computer with Finder or iTunes and follow the restore steps. The device will install the latest iOS version it's capable of running, and you can then set it up as new or restore from a backup.