How do I in my phone after I locked my self out of it

I am locked out of my iPhone I forgot my passcode and now it says iPhone unavailable how do I factory reset the phone or bypass the passcode




[Edited by Moderator]

iPhone 15 Pro

Posted on Jul 5, 2026 2:36 PM

Reply
Question marked as Top-ranking reply
3 replies

Jul 6, 2026 5:33 AM in response to Ashbeelove420

When your iPhone shows "iPhone Unavailable" after too many wrong passcode attempts, you cannot bypass the passcode — you must erase the device and restore it. Here’s how:


Option 1 — Recovery Mode (via Mac or PC):

1. Connect your iPhone to a Mac (Finder) or PC (iTunes/Apple Devices app)

2. Enter Recovery Mode:

- Quickly press and release Volume Up

- Quickly press and release Volume Down

- Press and hold the Side button until the recovery mode screen appears (cable + laptop icon)

3. In Finder or iTunes, click Restore iPhone

4. This erases the device and installs the latest iOS

5. After restore, set up as new or restore from an iCloud/iTunes backup


Option 2 — iCloud Remote Erase (if Find My was enabled):

1. Sign in to icloud.com on another device

2. Go to Find My > All Devices

3. Select your iPhone

4. Click Erase iPhone

5. This remotely wipes the device

6. Set it up again from backup


Important: There is no way to bypass the passcode without erasing the device. All data on the device will be lost unless you have a recent iCloud or iTunes backup.


Hope this helps you get back into your phone!

Jul 6, 2026 12:59 AM in response to Ashbeelove420

Your data is not lost if you have a backup either on iCloud or iTunes.



If you see an iPhone or iPad unavailable message or a "Security Lockout" screen


If you forgot your passcode, you can use your Apple ID and password to erase and reset your device without a computer.


Learn what to do if you see "[Device] unavailable" or "Security Lockout" on your iPhone or iPad.)



iPhone is disabled.


Following this process is the only way out if your iPhone is disabled. The steps given in this link will help you reset the passcode -> If you forgot the passcode for your iPhone, iPad, or iPod touch, or your ...



Regarding your data…

  1. If you have an iCloud or iTunes latest backup, then there is nothing to worry about. If not read more...
  2. You have synced your data to iCloud, then what you will get back is what you have synced to iCloud and uploaded to iCloud Drive; the information that is synced and stored in iCloud are, Contacts, Calendars, Bookmarks, Mail, Notes, Voice Memosshared photosiCloud Photos*, Health data, call history, and files you store in iCloud Drive. (*-If you have turned on iCloud Photos, your content is automatically stored in iCloud.)
  3. You have imported your Photos and videos to Mac/PC then they are safely residing there on Mac/PC
  4. You have uploaded some of it to Cloud Drives using the Files app (iCloud Drive, Google Drive, OneDrive, DropBox, Flickr, box, AmazonDrive, Adobe Creative Cloud, etc). The data remains there.
  5. If you have not backed up or do not have the latest backup, nor imported nor you have synced or uploaded your data to cloud drives prior to the situation that you are in, then I am sorry, all your data is lost.


How do I in my phone after I locked my self out of it

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