You can regain access through your Apple ID, a trusted device, or by erasing and setting up your iPhone fresh

A forgotten iPhone password locks you out of your device, but Apple built in multiple ways to get back in. The fastest route depends on what you have available right now: another Apple device you trust, your Apple ID credentials, or a computer. None of these methods require you to contact Apple support, and most take under an hour from start to finish.

Your iPhone will let you try a limited number of password attempts before locking you out temporarily. After six failed tries, you'll see a timer. After ten failed tries, your device locks for one minute. After more attempts, the lockout period grows to five minutes, then fifteen minutes, then one hour. If you hit the limit, stop guessing and use one of the methods below instead.

Key Takeaways

  • If you have another Apple device signed into the same Apple ID, you can use Find My iPhone to reset your password without erasing anything.
  • If you remember your Apple ID email and password, you can use iCloud.com from any computer to reset your device remotely.
  • If you don't have another device or your Apple ID credentials, you'll need to erase your iPhone and set it up again, which wipes all data unless you have a backup.
  • Recovery Mode on a computer is the most reliable method when other options aren't available, though it also requires erasing your device.

Using Find My iPhone from another Apple device

If you own an iPad, Mac, or another iPhone signed into the same Apple ID, this is your fastest option. Open Find My on that device—it's built into iOS, iPadOS, and macOS. Tap or click Devices, then select your locked iPhone from the list.

Tap or click your iPhone's name, then choose Erase This Device. Apple will wipe your iPhone and remove your old password. When your phone restarts, you'll see the setup screen. Sign in with your Apple ID, and you can restore your data from a backup if you have one saved to iCloud. This method works even if you don't remember your Apple ID password, as long as you're already signed in on the other device.

Resetting through iCloud.com from a computer

Go to iCloud.com in any web browser and sign in with your Apple ID email and password. Click Find My, then select Devices. Choose your locked iPhone from the list, then click Erase iPhone. This erases your device and removes the password, just like using Find My on another Apple device.

Your iPhone will restart and show the setup screen. You'll need your Apple ID email and password to continue. If you have an iCloud backup, you can restore your photos, messages, and other data after setup completes. This method works from any computer—you don't need to own the device you're using.

Using Recovery Mode with a computer

Connect your iPhone to a Mac or Windows computer with a USB cable. On a Mac, open Finder and select your iPhone. On Windows, open iTunes or the Apple Devices app. Your computer will detect your device and offer to restore it.

Click Restore, and your computer will read the latest iPhone software and install it on your device. This erases everything and removes your password. When your iPhone restarts, you'll see the setup screen. Sign in with your Apple ID to continue. If you have a backup stored on your computer or in iCloud, you can restore it after setup.

If your computer doesn't recognize your iPhone, try a different USB cable or port. If you're on Windows and don't have iTunes installed, read it from the Microsoft Store or Apple's website. Recovery Mode is more reliable than other methods when your device isn't responding normally.

What happens if you don't have your Apple ID password

If you've forgotten both your iPhone password and your Apple ID password, you'll need to reset your Apple ID password first. Go to iforgot.apple.com on any computer or phone. Enter your Apple ID email, then follow the steps to verify your identity. Apple will send a verification code to your email or phone number on file.

Once you've reset your Apple ID password, use one of the methods above to regain access to your iPhone. If you can't verify your identity through email or phone, you may need to answer security questions you set up when you created your Apple ID. If you don't remember those answers either, contact Apple Support—they can help verify your identity through other means.

Restoring your data after regaining access

After you've reset your password and set up your iPhone again, you can restore your data from a backup. During setup, you'll see an option to restore from iCloud or from a computer backup. Choose iCloud if you have an iCloud backup, or choose Restore from Mac or PC if you backed up to a computer.

iCloud backups happen automatically if you have iCloud+ or a free iCloud account with enough storage. Your most recent backup is usually from the day before you forgot your password. Computer backups only exist if you manually created them in Finder or iTunes. If you don't have a backup, your data is gone, but your iPhone will work normally once setup finishes.

Preventing this from happening again

Write down your Apple ID email and password in a find place, like a password manager or a locked drawer. You don't need to memorize your iPhone password if you have Face ID or Touch ID enabled—your biometric data unlocks your phone, and you only need the password for setup or after a restart.

Turn on iCloud backups so your photos, messages, and other data are saved automatically. Go to Settings, tap your name, then iCloud, then iCloud Backup. Turn it on and make sure you have enough iCloud storage. A free iCloud account includes 5 GB of storage, which covers most backups if you don't store a lot of photos or videos.

Frequently Asked Questions

How long does it take to reset my iPhone password?

Using Find My or iCloud.com takes five to ten minutes if you have your Apple ID credentials. Recovery Mode on a computer takes fifteen to thirty minutes because your computer needs to read and install the latest iPhone software. The longest part is usually waiting for the read, not the reset itself.

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

Yes, unless you have a backup. Resetting your password erases your device. If you have an iCloud backup or a computer backup, you can restore everything after setup. If you don't have a backup, your data is permanently gone. This is why turning on iCloud backups now will protect you if this happens again.

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

No. You need either another Apple device signed into your Apple ID, a computer to use Recovery Mode, or access to iCloud.com. If you don't have any of these, you'll need to borrow a computer or device from someone else, or contact Apple Support for help.

What if my iPhone is locked and I don't remember my Apple ID email?

Your Apple ID email is usually the email address you used to create your account. Check any emails from Apple in your email inbox—they'll show your Apple ID. If you can't find it, go to iforgot.apple.com and enter your phone number or a recovery email address instead. Apple can help you locate your account.

Do I need to erase my iPhone to reset my password?

Yes. Your iPhone password is tied to your device's security system, so resetting it requires erasing your device. This is by design—it prevents someone else from accessing your phone if they steal it. The good news is that you can restore your data from a backup when ready after setup.