Use Find My iPhone to reset your password remotely

If you have another Apple device or access to a computer, Find My iPhone is the fastest way to regain access. This feature lets you reset your iPhone's password from anywhere, even if the phone is locked or offline.

Go to iCloud.com on any web browser and sign in with your Apple ID — the same account linked to your iPhone. Click Find My, then Find My iPhone from the menu. Select your iPhone from the device list. You'll see three options: Play Sound, Mark as Lost, or Erase iPhone. Choose Erase iPhone. Apple will wipe the device and let you set a new password during the setup process that follows.

The catch: erasing removes everything on the phone unless you have a backup. If you backed up to iCloud before you forgot the password, you can restore your photos, messages, and apps after the erase completes. If you have no backup, you'll start with a blank phone.

Key Takeaways

  • Find My iPhone on iCloud.com is the fastest method if you have access to another device or computer and remember your Apple ID password.
  • Erasing your iPhone through Find My removes the forgotten password but also deletes everything unless you restore from a backup afterward.
  • If you don't remember your Apple ID password, use the Apple ID account recovery page to reset it before attempting Find My iPhone.
  • Recovery Mode on a computer works if Find My iPhone is not available, but requires a Mac or Windows PC and takes longer.
  • Apple Support can verify your identity and help if you're locked out of both your iPhone password and your Apple ID.

Reset your Apple ID password if you're also locked out of that

Find My iPhone requires your Apple ID password, not your iPhone password. If you've forgotten both, you need to reset your Apple ID first. Go to iforgot.apple.com on any device and enter the email address or phone number tied to your Apple ID.

Apple will send a verification code to a trusted device or email address on file. Enter that code, then create a new Apple ID password. Once that's done, return to iCloud.com, sign in with your new password, and use Find My iPhone as described above.

This step adds 10 to 15 minutes but is necessary if you can't sign into iCloud. Don't skip it — you won't be able to proceed without access to your Apple ID account.

Use Recovery Mode if Find My iPhone isn't available

If you don't have another Apple device and can't access iCloud.com, Recovery Mode is the alternative. This method requires a Mac or Windows PC with iTunes or Finder installed, and a USB cable that fits your iPhone.

Connect your iPhone to the computer with the USB cable. On a Mac with macOS Monterey or newer, open Finder and select your iPhone from the sidebar. On older Macs or any Windows PC, open iTunes. Look for a button labeled "Restore" — click it. Your computer will read the latest iOS version and install it on your phone, erasing the password in the process.

Recovery Mode takes 20 to 45 minutes depending on your internet speed and which iPhone model you have. Like Find My iPhone, it erases your phone, but you can restore from an iCloud or iTunes backup once the process finishes. If you have no backup, the phone will be blank.

Restore from a backup after erasing

After you've erased your iPhone and set up a new password, you can bring back your data. During the initial setup, you'll see a screen asking whether to set up as new or restore from backup. Choose "Restore from iCloud Backup" if you backed up before the password was forgotten.

Sign in with your Apple ID and select the most recent backup from the list. Your iPhone will read and reinstall your photos, messages, contacts, and most apps. This process can take 30 minutes to several hours depending on how much data you have and your internet speed.

If you have a backup on a computer instead of iCloud, connect to that computer after setup and use Finder or iTunes to restore. The steps are the same, but the data comes from your computer rather than the cloud.

Contact Apple Support if you can't verify your identity

Recovery methods require either your Apple ID password or access to a trusted device. If you don't have either, Apple Support can help verify your identity through other means — usually security questions, a recovery key, or information about your account history.

Go to support.apple.com and select "Contact Us." Choose your iPhone model and the topic "Passcode." You can request a phone call, chat, or email support. Have your original receipt or proof of purchase ready — Apple uses this to confirm you own the device. The verification process typically takes one business day, and support will guide you through resetting your password once your identity is confirmed.

Prevent this from happening again

Once you're back in your iPhone, turn on automatic backups so you don't lose data if this happens again. Go to Settings, tap your name at the top, then iCloud. Turn on iCloud Backup and tap "Back Up Now." Your phone will back up every day when it's plugged in and connected to Wi-Fi.

Write down your Apple ID password or use a password manager to store it. If you forget it again, you can reset it at iforgot.apple.com in minutes. Consider enabling two-factor authentication in Settings under your name — it adds a security step but makes your account harder to break into.

Frequently Asked Questions

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

Only if you have no backup. If you backed up to iCloud before forgetting the password, your data is safe in the cloud. After erasing and setting a new password, restore from that backup and everything returns. If you have no backup, the phone will be blank after erasing.

Can I reset my iPhone password without erasing it?

No. iOS does not allow you to change a forgotten password without erasing the device first. The password is tied to the phone's security system, so resetting it requires a full erase and reinstall of the operating system.

How long does it take to recover my iPhone through Find My?

The erase itself takes 5 to 10 minutes if your iPhone is online. If it's offline, Find My will erase it the next time it connects to the internet. Restoring from a backup afterward takes 30 minutes to several hours depending on how much data you have.

What if I don't remember my Apple ID email address?

Go to iforgot.apple.com and enter the phone number associated with your account instead. Apple will send a verification code to that number. If you don't remember the phone number either, contact Apple Support — they can look up your account using your device serial number and proof of purchase.

Can I use someone else's computer to reset my iPhone?

Yes. You can use any Mac or Windows PC with Finder or iTunes to put your iPhone in Recovery Mode and erase it. You don't need to own the computer. After erasing, you'll sign in with your own Apple ID and restore your backup.