How to unlock iPhone? The answer depends on which type of lock you are dealing with. An iPhone can be locked in four different ways. Each type has its own fix, and using the wrong method wastes time.
This guide helps you identify your lock type and walk through the right solution.
1. Which Type of iPhone Lock Do You Have?
Before you start learning how to unlock iPhone, find the description below that matches what you are seeing on your device.
| What You Are Experiencing | Lock Type | Skip To |
| iPhone works, but you cannot use a new SIM card | Carrier lock | Method 1 |
| You forgot your passcode, or your iPhone displays the message “iPhone Unavailable.” | Passcode lock | Method 2 |
| iPhone asks for the previous owner’s Apple ID at setup | Activation Lock | Method 3 |
| SIM card is locked and requires a PUK code | SIM PIN lock | Method 4 |
All four lock types are different problems with different solutions. Following the wrong method wastes time.

2. Method 1: How to Carrier Unlock an iPhone
A carrier-locked iPhone only works with one network. How to unlock iPhone in this case? You’ll need your current carrier to release the lock before you can use a different SIM card or activate a new plan.
Step 1: Check your current lock status
Go to Settings -> General -> About and scroll to the Carrier Lock field. If it says “No SIM restrictions,” your iPhone is already unlocked, and no further action is needed.
Step 2: Find your IMEI number
Open the Phone app, go to the keypad, and dial *#06#. Your IMEI number will appear on screen. Your carrier will ask for this number when you submit the unlock request.
Step 3: Contact your carrier
Call your carrier, visit a store, or submit a request through their app or website. Most US carriers process unlock requests within a few business days.
Step 4: Complete the activation after confirmation
Once your carrier confirms the unlock:
- If switching to a physical SIM, remove the current SIM and insert the new one
- If no new SIM is available: back up the iPhone, erase it, then restore from backup to complete the unlock
3. Method 2: How Can You Reset an iPhone That is Locked? (Forgot Passcode)
If you’re searching for how to unlock iPhone because you forgot your passcode or your iPhone displays a message “iPhone Unavailable,” you need to erase the device to regain access. There are two ways to do this, depending on your iOS version.
Option A: iPhone with iOS 15.2 or later (no computer needed)
On the lock screen, tap Forgot Passcode or Erase iPhone (available on iOS 16 and later) and follow the on-screen steps. You will need your Apple ID password to complete the process. Alternatively, go to iCloud.com, sign in, open Find My, and select Erase iPhone.
Option B: Recovery Mode (older iOS, or if you do not know your Apple ID)
First, enter Recovery Mode using the button sequence for your model:
| iPhone Model | Button Sequence |
| iPhone 8 and newer (Face ID) | Quickly press Volume Up, quickly press Volume Down, then press and hold the Side button until the Recovery Mode screen appears. |
| iPhone 7 and iPhone 7 Plus | Hold Vol Down and Side buttons together |
| iPhone 6s and earlier, iPhone SE 1st gen | Hold the Home button |
Once your iPhone enters Recovery Mode and appears in your computer’s software:
- On Mac: open Finder, select your iPhone, then click Restore
- On Windows: open the Apple Devices app if installed. On older systems, you may still use iTunes to restore the device. Select your iPhone and click Restore
Note: Restoring through Recovery Mode erases all data on the iPhone. Back up first if you can access the device at all.
>>> Read more: How to Erase an iPhone: Complete Reset Guide for 2026
4. Method 3: How to Remove Activation Lock
Activation Lock appears at setup when an iPhone is still linked to a previous owner’s Apple ID.
If this is your case when searching how to unlock iPhone, for your information, you cannot use the phone until the lock is removed. There are several paths depending on your situation.
If you know the Apple ID and password:
Enter the credentials directly on the Activation Lock screen. If you forgot the password, go to iforgot.apple.com to reset it, then return to the setup screen and sign in.
If you are on iOS 15.2 or later and know the device passcode:
In some cases, iOS may offer an “Unlock with Passcode” option if the device was previously associated with your Apple ID. This removes the lock without needing the Apple ID password. However, this option is not available for all Activation Lock situations.
If you bought a used iPhone and the previous owner is reachable:
Ask the previous owner to sign into iCloud.com, go to Find My, select the device, and choose Remove from Account. Once they complete this step, restart the iPhone and proceed through setup normally.
If the previous owner is unreachable:
Contact Apple Support and submit an Activation Lock support request. Apple will verify ownership using proof of purchase before approving the request. Have your receipt or order confirmation ready.
5. Method 4: How to Unlock a SIM PIN or PUK Lock
In case you’re looking for how to unlock your iPhone because your SIM is locked, here’s a head start: a SIM PIN lock is different from your iPhone passcode.
Your SIM card itself has a separate PIN. If you enter the wrong SIM PIN too many times, the card locks, and your phone asks for a PUK code before it will work again.
A PUK (Personal Unblocking Key) is an 8-digit security code that is unique to your SIM card. It is not the same as your phone passcode or your carrier account password. Its only purpose is to unlock a blocked SIM card.
How to find your PUK code:
- Check the original plastic packaging your SIM card came in – the PUK is usually printed on it
- If you no longer have the packaging, call your carrier’s customer service line
- Most carriers can also provide the PUK through their app or online account portal
How to enter the PUK code:
When prompted on screen, type the 8-digit PUK code. Your iPhone will then ask you to create a new SIM PIN. Choose a PIN you will remember and confirm it. That’s how to unlock iPhone if it asks for a PUK code.
Critical warning: Entering the wrong PUK code 10 times permanently deactivates the SIM card. There is no recovery after that point – you will need a replacement SIM from your carrier. Do not guess. Contact your carrier first if you are unsure.
>>> Read more: Free Government Phone SIM Card: Unlock Zero-cost Services!
6. FAQ
Q1. Can you unlock an iPhone yourself?
It depends on the lock type. You can reset a forgotten passcode and remove Activation Lock yourself using Apple’s built-in tools. Carrier unlocking, however, requires your current carrier to release the lock. Apple cannot do it on your behalf.
Q2. How do you check if an iPhone is already carrier unlocked?
Go to Settings -> General -> About and look at the Carrier Lock field. If it says “No SIM restrictions,” the iPhone is already unlocked and works with any compatible carrier.
Q3. Does resetting an iPhone remove all data?
Yes. All methods for bypassing a forgotten passcode, including Recovery Mode, the lock screen Erase option, and iCloud remote erase, delete all data on the device. Restore from a backup afterward to recover your content.
Q4. How to unlock a locked iPhone device?
Apple can assist with Activation Lock issues when valid proof of ownership is provided. Carrier locks must be removed by the carrier, and forgotten passcodes require erasing the device.
Final Words
Now you know how to unlock an iPhone, which starts with identifying the correct lock type. A carrier lock, passcode lock, Activation Lock, and SIM PIN lock each require a different approach. Using the wrong method wastes time and can make things harder.



