Techie BullTECHIE BULLlet the bull fix it.
iPhone

How to Unlock an iPhone (Passcode, Carrier, Apple Watch)

Mkpoikana Otu
Mkpoikana Otu
November 12, 2026 · 12 min read

How to unlock an iPhone depends on which lock you're actually stuck behind, and there are three of them. There's the passcode on the Lock Screen. There's the carrier lock, which stops the phone working with another network's SIM. And there's the everyday unlock that Face ID suddenly can't manage because you're wearing a mask or sunglasses.

Each one has its own fix, and mixing them up wastes time. A carrier lock has nothing to do with your passcode, and no amount of passcode resetting will make a new SIM work. So figure out which lock you've got first, then jump to the matching section.

Quick answer: Forgot your passcode? Enter it wrong until the iPhone Unavailable screen appears, tap Forgot Passcode?, and choose Enter Previous Passcode if you changed it in the last 72 hours (iOS 17 or later). Otherwise tap Start iPhone Reset to erase the phone, or restore it in recovery mode on a Mac or PC. Want to use another carrier? Go to Settings > General > About and look for "No SIM restrictions" next to Carrier Lock. If it's not there, only your current carrier can unlock it.

Key takeaways:

  • On iOS 17 or later, your old passcode keeps working for 72 hours after a change through Passcode Reset, with nothing erased.
  • Every other official way past a forgotten passcode erases the iPhone, so your backup is what saves your data.
  • After an erase, Activation Lock asks for the Apple Account that was on the phone. Have that password ready.
  • A carrier lock can only be removed by the carrier. Apple can't do it, and neither can any setting on the phone.
  • Unlock with Apple Watch only helps when Face ID can't see your face because of a mask or sunglasses. It won't get you past a forgotten passcode.

Prefer an interactive walkthrough? Try our iPhone Unlock Troubleshooter →

Related reading: How to Block Spam Calls on iPhone (iOS 26 Guide) · How to Sync iPhone and iPad (Photos, Messages, Calls)

Which Kind of iPhone Lock Do You Have?

Three cards comparing an iPhone passcode lock, a carrier lock, and Face ID with a mask, each with its fix

What you're seeing Lock type Fix Erases the phone?
"iPhone Unavailable" or you can't remember the code Passcode Previous passcode, Forgot Passcode?, or recovery mode Only the previous-passcode route keeps your data
"SIM not supported" with another carrier's SIM Carrier lock Ask your carrier to unlock it No, unless you have no other SIM to activate with
Face ID fails with a mask or sunglasses Not really a lock Unlock with Apple Watch, or type the passcode No
Setup asks for someone else's Apple Account Activation Lock The original owner removes it Already erased

That last row matters if you bought the phone second-hand. Activation Lock isn't something you can unlock yourself. The person whose Apple Account is on it has to remove the device, so go back to the seller.

Before You Start: Three Things Worth Checking

Your Apple Account password. You'll need it for Forgot Passcode? and again during setup after any erase. If you've lost it, reset it from another device before you touch the iPhone. Doing it afterwards, with a wiped phone that won't activate, is much more stressful.

Whether there's a backup. Check iCloud from another Apple device or on icloud.com. If you used to back up to a Mac or PC, that backup is still sitting on the computer. Anything that wasn't backed up or syncing to iCloud won't survive an erase.

A connection. The Lock Screen options need Wi-Fi or cellular data and Find My turned on. If the iPhone has no signal and no Wi-Fi it already knows, skip straight to the computer method.

How to Unlock an iPhone When You Forgot the Passcode

Apple's own order here is sensible, so I follow it: the previous passcode first, then the reset on the phone itself, then the computer. Each step down costs more time, and only the first one keeps your data.

Method 1: Use Your Previous Passcode (iOS 17 or Later)

iPhone Unavailable screen with the Forgot Passcode? button, then the Security Lockout screen with Enter Previous Passcode and Start iPhone Reset

Apple calls this Passcode Reset. When you change your passcode on iOS 17 or later, the old one keeps working for 72 hours. It exists for exactly the situation where you set a new code last night and your brain didn't save it.

  1. Enter the wrong passcode five times. The iPhone Unavailable screen appears.
  2. Tap Forgot Passcode? in the bottom corner.
  3. Tap Enter Previous Passcode.
  4. Type your old passcode, then follow the prompts to set a new one straight away.

If you don't see Enter Previous Passcode, the 72 hours have passed or the phone is on an older iOS. Move on to Method 2.

Method 2: Erase From the Lock Screen With Forgot Passcode?

This is a reset you start from the locked iPhone itself, no computer needed. Apple lists four requirements: iOS 15.2 or later, Find My turned on before you got locked out, a Wi-Fi or cellular connection, and your Apple Account password.

  1. Keep entering the passcode until the iPhone Unavailable screen appears.
  2. Tap Forgot Passcode?. The button only shows up when the phone is connected and Find My is on.
  3. On the Security Lockout screen, tap Start iPhone Reset.
  4. Enter your Apple Account password to sign out.
  5. Tap Erase iPhone. If you use an eSIM on iOS 17 or later, you can choose to keep it or delete it along with your data.
  6. When the phone restarts, set it up, restore from your backup, and choose a new passcode.

On iOS 15.2 and iOS 16 the screen looks a little different: an Erase iPhone option appears on the lockout screen instead. And if you're on iOS 16 or earlier with an eSIM, Apple says to get a QR code from your carrier first, so you can set the eSIM up again afterwards.

Method 3: Restore in Recovery Mode on a Mac or PC

Recovery mode button for each iPhone model next to a Finder window showing the Restore and Update choice

This one works on any iPhone, connected or not. It's also the slowest. Apple says to set aside up to 60 minutes, and you'll need a Mac or Windows PC, a cable that can charge the phone, and an internet connection.

Step 1: Turn the iPhone off. On a Face ID iPhone, hold the side button and Volume down until the power off slider appears. On a model with a Home button, hold the top or side button. Drag the slider.

Step 2: Hold the right button while you connect it. Plug the cable into the computer, then into the iPhone, while holding:

iPhone model Button to hold
Face ID models, iPhone 8, 8 Plus, SE (2nd and 3rd generation) Side button
iPhone 7 and 7 Plus Volume down
iPhone 6s and earlier, SE (1st generation) Home button

Don't let go when the Apple logo shows up. Keep holding until you see the recovery screen with a computer and a cable. This is the step people get wrong. They release at the logo, the phone boots normally, and they're back at the passcode screen.

Step 3: Find the iPhone on the computer. On a Mac, open a Finder window and select the iPhone in the sidebar under Locations. On Windows, open the Apple Devices app and select the iPhone.

Step 4: Choose Restore. When you're offered Restore or Update, pick Restore. The computer downloads the software and erases the phone.

Step 5: Wait. Apple notes the download can take more than 15 minutes. If the iPhone drops out of recovery mode before it finishes, turn it off and go back to Step 2. When it reaches the Hello screen, set it up and restore your backup.

For a fuller walkthrough of the three erase options, including erasing remotely from iCloud.com, see our guide on how to factory reset a locked iPhone.

After an Erase: Activation Lock

Every erase method ends at the same screen. During setup, the iPhone asks for the Apple Account and password it was signed in with. That's Activation Lock, and it's switched on automatically whenever Find My is on.

It's the reason a thief can't wipe your phone and sell it, and it's why all of the above only helps the real owner. Sign in, then pick Restore from iCloud Backup or from your Mac or PC when setup offers it.

How to Unlock an iPhone From Your Carrier

iPhone Settings, General, About screen with Carrier Lock showing No SIM restrictions highlighted

If a SIM from another network gets a "SIM not supported" message, your iPhone is carrier locked. This is the one lock where Apple can't help directly. Apple's support page is plain about it: only your carrier can unlock the iPhone.

Step 1: Check Whether It's Already Unlocked

Open Settings, tap General, then tap About. Scroll to Carrier Lock. If it says "No SIM restrictions," the phone is already unlocked and the SIM problem is something else, like an inactive line.

Step 2: Ask Your Carrier

If Carrier Lock shows anything else, contact the carrier the phone is locked to and ask for an unlock. Each carrier sets its own rules, and it's common for them to want the phone fully paid off first. Apple warns the request might take the carrier a few days.

Step 3: Finish the Unlock

Once the carrier confirms it's done:

  • New carrier uses eSIM: set up the new eSIM, and the phone activates.
  • New carrier gave you a SIM card: take out the old SIM, put in the new one, and the iPhone activates on its own.
  • You have no other SIM yet: back up the iPhone, erase it, then restore from that backup. That's Apple's route for finishing the unlock without a second SIM.

Then go back to Settings > General > About and confirm Carrier Lock now reads "No SIM restrictions."

How to Unlock an iPhone With Apple Watch

Sometimes "unlock" just means getting into your own phone faster. Face ID struggles when your mouth and nose are covered or you're in sunglasses or ski goggles. If you wear an Apple Watch, it can step in.

Apple's requirements: an iPhone with Face ID on iOS 14.5 or later, an Apple Watch Series 3 or later on watchOS 7.4 or later, the watch paired with the phone, Wi-Fi and Bluetooth on for both, and a passcode plus wrist detection on the watch. The watch needs to be on your wrist and unlocked.

To turn it on:

  1. Open Settings on the iPhone.
  2. Tap Face ID & Passcode and type your passcode.
  3. Scroll to Unlock with Nearby Devices and turn on the switch next to your watch's name.

Now wake the iPhone, glance at it, and swipe up. If you didn't mean to unlock it, tap Lock iPhone on the watch, and the next unlock will need the passcode.

Two limits worth knowing. It doesn't approve Apple Pay, saved passwords, or apps that ask for Face ID. And on iPhone 12 or later with iOS 15.4 or later, Apple has a separate Face ID with a Mask option that might suit you better.

A Note on Stolen Device Protection

If you've turned on Stolen Device Protection (iOS 17.3 or later), some security changes need Face ID or Touch ID when you're away from familiar places like home or work, and a few, such as changing your passcode, add a one-hour Security Delay. Apple's page doesn't say it blocks the Forgot Passcode? flow, but if a setting change keeps asking you to wait, this feature is why. Try again from home.

Still Not Working?

If you're stuck at Activation Lock, can't get the computer to see the phone, or the Lock Screen options never appear, contact Apple Support or visit an Apple Store or Apple Authorized Service Provider. Apple's own guides cover the same steps: if you forgot your iPhone passcode and how to unlock your iPhone for use with a different carrier. For an Apple Account password you can't recover, start at Apple's account recovery page from another device. For a carrier lock, your carrier's support line is the only place that can actually remove it.

Frequently Asked Questions

Can I unlock an iPhone without losing data?

Yes, if you changed the passcode in the last 72 hours and the phone is on iOS 17 or later. Tap Forgot Passcode? and choose Enter Previous Passcode. Otherwise, every official route erases the phone, and your data comes back only from a backup.

Can I unlock an iPhone without a computer?

Usually. On iOS 15.2 or later with Find My on and a connection, Forgot Passcode? lets you erase it from the Lock Screen. You'll need your Apple Account password.

How many wrong passcode attempts before the iPhone locks?

The iPhone Unavailable screen and the Forgot Passcode? option appear after five wrong attempts. Keep going and the waiting times get longer.

How do I know if my iPhone is carrier unlocked?

Go to Settings > General > About and look at Carrier Lock. "No SIM restrictions" means it's unlocked.

Can Apple unlock my iPhone from a carrier?

No. Apple's support page says only the carrier can do it. Contact the carrier the phone is locked to.

Does unlocking with Apple Watch work if I forgot my passcode?

No. After a restart, the iPhone needs the passcode before Face ID or the watch can unlock it, so the watch can't replace a forgotten code.

Can I unlock a used iPhone that's locked to someone else's account?

Not yourself. Activation Lock needs the original owner's Apple Account. Ask the seller to remove the iPhone from their account.

Quick Summary

Work out which lock you have first. For a forgotten passcode, tap Forgot Passcode? after five wrong tries and use Enter Previous Passcode if you changed it in the last 72 hours. If not, tap Start iPhone Reset to erase it, or restore it in recovery mode on a Mac or PC, then sign back in and restore your backup. For a carrier lock, check Settings > General > About for "No SIM restrictions" and ask your carrier if it's missing. And if Face ID just can't see you through a mask, turn on Unlock with Nearby Devices under Face ID & Passcode and let your Apple Watch handle it.

Related Articles

How to Block Spam Calls on iPhone (iOS 26 Guide) thumbnail
iPhone

How to Block Spam Calls on iPhone (iOS 26 Guide)

How to block spam calls on iPhone: screen or silence unknown callers, turn on Call Filtering, block single numbers, and add your carrier's free spam blocker.

November 16, 202611 min read