Tech Made Simple

Hot Topics: All Roku Players Compared | Best iPad Keyboard Cases | How to Get Emergency Satellite Service for Your Phone

We may earn commissions when you buy from links on our site. Why you can trust us.

author photo

How to Unlock an iPhone When You Don’t Know the Passcode

by Suzanne Kantra on February 18, 2026

An iPhone displays an iPhone Unavailable message with the option Forgot Passcode in the lower right corner

For most of us, the only times we type our iPhone passcode are when we restart the phone or install an update. Face ID and Touch ID make unlocking feel effortless – until they don’t. If you’re here, your phone has likely asked for a passcode you can’t remember.

Before you assume the worst, there’s one important exception. If you’re using an iPhone XS or later and you recently changed your passcode, you may be able to get back in using your previous code for a limited time. Apple gives you up to 72 hours after a passcode change to recover access.

Here’s how that works. After triggering the “Forgot Passcode” flow on the lock screen, choose “Try Passcode Reset” and enter your old passcode. If you’re still within that 72-hour window, you can unlock your phone and set a new code. After that window closes, this option disappears, so act quickly.

If you’re outside that window or don’t have your old code, the only way back in is to erase your device and restore from a backup. Apple enforces this policy to prevent anyone else from bypassing your passcode and accessing your information.

For most iPhones, you can reset your passcode directly from the lock screen as long as the device has a network connection and Find My was previously enabled.

  1. Enter the wrong passcode repeatedly until your phone shows a “[Device] Unavailable” or “Security Lockout” message.
  2. Tap Forgot Passcode? in the bottom corner.
  3. Choose Start [Device] Reset.
  4. Sign out of your Apple ID with your password.
  5. Tap Erase [Device], then follow the prompts to erase all settings and content.
  6. Once your device restarts, you’ll see the Hello screen and can begin the setup process, including restoring from a backup and setting a new passcode.

If your iPhone can’t connect to a network or is running an older version of iOS (iOS 14 and earlier), you’ll need a computer. The steps differ slightly depending on your iPhone model:

  • iPhones with Face ID: Turn off the phone, connect it to your computer, then press and hold the side button until the recovery mode screen appears.
  • iPhone 8 or SE (2nd/3rd gen): Same as above, but use the side button.
  • iPhone 7/7 Plus: Use the Volume Down button instead.
  • iPhone 6s or SE (1st gen): Hold the Home button.

Once in recovery mode:

  1. On a Mac, open Finder. On Windows, open the Apple Devices app (free in the Microsoft Store).
  2. Choose Restore when prompted. This wipes your device and installs the latest version of iOS.
  3. After the process is done, you'll set up your iPhone from scratch or restore from a backup.

What surprises many people is how easily you can forget your phone passcode, but it's not that uncommon because we barely use it anymore. For this reason, I recommend storing your phone code in your password manager. At Techlicious, we use and recommend 1Password and Dashlane. Because when biometric login fails, it’s still your passcode holding the keys to your digital life.

[Image credit: screenshot via Techlicious, phone mockup via Canva]


Topics

Tips & How-Tos, Phones and Mobile, Mobile Apps, iPhone/iPad Apps


Discussion loading

gravatar

From ibitoyelekan957@gmail.com on April 20, 2022 :: 9:58 am


What can I do to it I need help my forget her password and she don’t remember her iCloud also what can I do to it please

Reply

gravatar

From given chilila on December 03, 2023 :: 8:54 am


please i need help from you i forget apple id and password

Reply

gravatar

From Carrie A Cleveland on April 22, 2022 :: 6:28 pm


My father passed away recently, and we had no idea that he had an iPad. Several of us have tried to reset it with his frequently used numbers but to no avail. Apple won’t assist without the purchase receipt.
That said, how can we reset it without any of the 3rd party apps. I have a PC and a nephew has a Mac. Any assistance or advice would be greatly appreciated.

Reply

gravatar

From Josh Kirschner on April 23, 2022 :: 12:06 pm


Does he have a computer that he used to sync the iPad with iTunes? Do you have access to that computer and know his Apple ID/Password? If so, you could restore it from iTunes. Else, you may be out of luck. The only other option is you can get access to his Apple account in certain circumstances if you are the legal inheritor of his estate. See this article from Apple on how to get that access: https://support.apple.com/en-us/HT208510https://support.apple.com/en-us/HT208510

Reply

gravatar

From thatbadbtchgrl on September 02, 2023 :: 6:59 pm


so basically I have a phone and it not working so then I have another phone and my mom go it for me and she does not know the password or anything and have been trying what I can do but nothing works or help

Reply

gravatar

From JoJo on July 03, 2024 :: 8:31 pm


The easiest way is to click the option of “Forgot passcode” on the iPhone unavailable interface to reset the phone, but this method requires you to enter your Apple ID password. Third-party software is also very convenient. Like Joyoshare iPasscode Unlocker, you can download it for free to try it out and see if your iPhone can be unlocked.

Reply

gravatar

From Denise on June 03, 2025 :: 11:15 am


What keeps this from being a method for thieves to reset the phone and use it themselves?

Reply

gravatar

From Suzanne Kantra on June 03, 2025 :: 2:03 pm


Good question! You have to input the Apple ID and password before you can reset the device. As long as the device is signed into your account, it can’t be reset with a different one.

Reply

gravatar

From DeniseIsDumb on September 09, 2025 :: 8:53 am


The part where you must sign into icloud

Reply

Home | About | Meet the Team | Contact Us
Media Kit | Newsletter Sponsorships | Licensing & Permissions
Accessibility Statement
Terms of Use | Privacy & Cookie Policy

Techlicious participates in affiliate programs, including the Amazon Services LLC Associates Program, which provide a small commission from some, but not all, of the "click-thru to buy" links contained in our articles. These click-thru links are determined after the article has been written, based on price and product availability — the commissions do not impact our choice of recommended product, nor the price you pay. When you use these links, you help support our ongoing editorial mission to provide you with the best product recommendations.

© Techlicious LLC.