How do I unlock my iPhone using a known passcode after it was lost?

I got my lost phone now its showing that support.apple.com/passcode also showing i phone unavailable help me to unlock my phone i know my passcode


[Re-Titled by Moderator]

Original Title: I know my passcode

iPhone 14 Plus

Posted on Aug 29, 2026 9:44 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 30, 2026 2:47 AM

An iPhone will be disabled or indicate that it is unavailable if an incorrect Passcode is entered (either by you or someone else) too many times.


A forgotten or unknown iPhone passcode cannot be recovered - and neither can it be reset or modified from another device. If you see a waiting period you can wait and try again to input the correct Passcode; otherwise, the iPhone must be restored.


You may find this support page to be helpful:

If you see an iPhone or iPad unavailable message or Security Lockout screen - Apple Support



iOS 17 or later with a forgotten Passcode


If you have changed your passcode in iOS 17 and later - and have since forgotten the new Passcode - you may be able to recover access using your previous Passcode. Passcode Reset gives you 72 hours to use your old Passcode to access your device; when you access your device in this way, you must change your passcode again immediately:

Temporarily use your old passcode when you forget your new passcode on iPhone or iPad - Apple Support


If you cannot use the new Passcode Reset feature, you must use another method.



iOS 15.2 or later with a forgotten Passcode


Apple has introduced a procedure with which to reset an iPhone with a forgotten Passcode - allowing you to use your AppleID and associated Password to reset your device.

How to reset your iPhone, iPad, or iPod touch when you forgot your passcode - Apple Support


You will be able to restore data from a pre-existing iCloud backup without the use of a computer, but will require a PC/Mac to restore data from an iTunes backup.



iOS 15.1 and earlier - and all devices that are Disabled



If your iPhone indicates that it is disabled/unavailable/locked-out, or you have forgotten your iPad passcode, you have no alternative other than to follow this process:

If you’ve forgotten the passcode on your iPad, or your iPad is disabled – Apple Support


You’ll need access to either a Windows PC (with iTunes for Windows installed -or more recent Apple Device App) or a Mac computer (with iTunes or Finder - as appropriate for the installed version of macOS).

Download and use iTunes for Windows – Apple Support

Update to the latest version of iTunes – Apple Support


Apple Devices App (Windows PC):

https://apps.microsoft.com/detail/9np83lwlpz9k?hl=en-ms&gl=MS


Use of a PC or Mac is unavoidable. If you don’t have access to a suitable computer of your own, that of a helpful friend or family member will suffice. Alternatively, the technicians at the Genius Bar of your local Apple Store will be delighted to assist:

Genius Bar Reservation and Apple Support Options - Apple



Activation Lock


Here are the Apple support pages that outline the Activation Lock - and the only mechanisms by which it can be satisfied:

Activation Lock for iPhone, iPad, and iPod touch - Apple Support

Turn off Activation Lock – Apple Support


As you will discover, unless you are the owner of the Apple Account (previously known as an AppleID) that was last used to activate the device, you’ll not be able to defeat or bypass the Activation Lock. With documentary evidence that you are the original owner (such as sales receipt showing the serial number), Apple may be prepared to assist - otherwise they and nobody here will be able to help you.


If you have the necessary documentation, Apple have a portal though which you may be able to request release of an Activation Lock:

How to remove Activation Lock - Apple Support & start an Activation Lock support request.



Apple Account (AppleID)


You may also need your Apple Account (AppleID) and associated password. If these have also been forgotten, they can be recovered here:

https://iforgot.apple.com


To recover your credentials, you’ll need access to one of the following:

  • Your primary email address mailbox that corresponds with your AppleID
  • Any of the secondary/recovery email addresses that should be configured for your AppleID account
  • Any of the trusted telephone numbers (fixed line or Cellular/Mobile) that are associated with your AppleID


More information about recovery of your AppleID and associated Password:

If you forgot your Apple ID - Apple Support

If you forgot your Apple ID password - Apple Support



2 replies
Question marked as Top-ranking reply

Aug 30, 2026 2:47 AM in response to akash7896

An iPhone will be disabled or indicate that it is unavailable if an incorrect Passcode is entered (either by you or someone else) too many times.


A forgotten or unknown iPhone passcode cannot be recovered - and neither can it be reset or modified from another device. If you see a waiting period you can wait and try again to input the correct Passcode; otherwise, the iPhone must be restored.


You may find this support page to be helpful:

If you see an iPhone or iPad unavailable message or Security Lockout screen - Apple Support



iOS 17 or later with a forgotten Passcode


If you have changed your passcode in iOS 17 and later - and have since forgotten the new Passcode - you may be able to recover access using your previous Passcode. Passcode Reset gives you 72 hours to use your old Passcode to access your device; when you access your device in this way, you must change your passcode again immediately:

Temporarily use your old passcode when you forget your new passcode on iPhone or iPad - Apple Support


If you cannot use the new Passcode Reset feature, you must use another method.



iOS 15.2 or later with a forgotten Passcode


Apple has introduced a procedure with which to reset an iPhone with a forgotten Passcode - allowing you to use your AppleID and associated Password to reset your device.

How to reset your iPhone, iPad, or iPod touch when you forgot your passcode - Apple Support


You will be able to restore data from a pre-existing iCloud backup without the use of a computer, but will require a PC/Mac to restore data from an iTunes backup.



iOS 15.1 and earlier - and all devices that are Disabled



If your iPhone indicates that it is disabled/unavailable/locked-out, or you have forgotten your iPad passcode, you have no alternative other than to follow this process:

If you’ve forgotten the passcode on your iPad, or your iPad is disabled – Apple Support


You’ll need access to either a Windows PC (with iTunes for Windows installed -or more recent Apple Device App) or a Mac computer (with iTunes or Finder - as appropriate for the installed version of macOS).

Download and use iTunes for Windows – Apple Support

Update to the latest version of iTunes – Apple Support


Apple Devices App (Windows PC):

https://apps.microsoft.com/detail/9np83lwlpz9k?hl=en-ms&gl=MS


Use of a PC or Mac is unavoidable. If you don’t have access to a suitable computer of your own, that of a helpful friend or family member will suffice. Alternatively, the technicians at the Genius Bar of your local Apple Store will be delighted to assist:

Genius Bar Reservation and Apple Support Options - Apple



Activation Lock


Here are the Apple support pages that outline the Activation Lock - and the only mechanisms by which it can be satisfied:

Activation Lock for iPhone, iPad, and iPod touch - Apple Support

Turn off Activation Lock – Apple Support


As you will discover, unless you are the owner of the Apple Account (previously known as an AppleID) that was last used to activate the device, you’ll not be able to defeat or bypass the Activation Lock. With documentary evidence that you are the original owner (such as sales receipt showing the serial number), Apple may be prepared to assist - otherwise they and nobody here will be able to help you.


If you have the necessary documentation, Apple have a portal though which you may be able to request release of an Activation Lock:

How to remove Activation Lock - Apple Support & start an Activation Lock support request.



Apple Account (AppleID)


You may also need your Apple Account (AppleID) and associated password. If these have also been forgotten, they can be recovered here:

https://iforgot.apple.com


To recover your credentials, you’ll need access to one of the following:

  • Your primary email address mailbox that corresponds with your AppleID
  • Any of the secondary/recovery email addresses that should be configured for your AppleID account
  • Any of the trusted telephone numbers (fixed line or Cellular/Mobile) that are associated with your AppleID


More information about recovery of your AppleID and associated Password:

If you forgot your Apple ID - Apple Support

If you forgot your Apple ID password - Apple Support



Aug 29, 2026 9:49 PM in response to akash7896

Click here and follow the instructions. Restoring the iPhone requires plugging it into a computer with iTunes or Devices installed, or a Mac running Catalina or newer.


If there's an option to erase it, you can use that instead.


Knowing the passcode only matters if you previously backed the iPhone up. This mechanism is designed to stop people from accessing the data on someone else's unit.


(264780)

How do I unlock my iPhone using a known passcode after it was lost?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.