Yes, you can regain access to a locked iPhone using Apple’s reset and account-recovery options, as long as the device is yours.
Getting locked out of an iPhone feels brutal. You tap the screen, your passcode won’t work, and the phone may even say it’s unavailable.
If you searched for a way to get back into a locked iPhone, you’re in the right place.
This guide sticks to legit paths that Apple and carriers accept. You’ll see how to tell what kind of lock you’re facing, which route fits your situation, and what to avoid so you don’t lose money or hand your account to a scammer.
What Kind Of Lock Is On Your iPhone?
People use “locked” as one bucket, but iPhones can block access in a few different ways. Spotting the right one saves time and stress.
| What you see | What it means | Best next step |
|---|---|---|
| Passcode screen, Face ID fails, or “iPhone Unavailable” | Screen passcode lock | Reset the iPhone, then restore from a backup |
| Setup asks for an Apple Account that isn’t yours | Activation Lock is on | Have the owner remove the device from their account |
| No cellular service, or “SIM Not Supported” | Carrier restriction or SIM issue | Check “Carrier Lock” in Settings, then contact the carrier |
Screen passcode lock
This is the everyday lock screen. If you forgot the passcode, you can’t “guess” your way back in. Apple’s flow is a reset that wipes the device, then you sign in again and restore your stuff from a backup.
Activation Lock
Activation Lock shows up during setup after an erase, or after a restore on a computer. It ties the device to the prior owner’s Apple Account. If you bought a used iPhone and hit this screen, pause right there. You’ll need the owner to remove it from their account, or you’ll need proof of purchase that Apple accepts.
Carrier restriction
This isn’t about your passcode. It’s a cellular limitation tied to the carrier. You can still use Wi-Fi and apps, but calls and data may be blocked with certain SIMs.
Other locks that look similar
- Screen Time passcode — If you can open the phone but can’t change certain settings, you may be dealing with a Screen Time code.
- SIM PIN — If the phone asks for a PIN after a reboot, that’s a SIM security code, not the iPhone passcode.
- MDM work phone controls — If a work or school owns the phone, device management can limit what you can do, even after a reset.
Is There A Way To Get Into A Locked iPhone Safely
Here are the realistic routes, mapped to what you know right now. Pick the one that matches your situation, then stick with it.
- Use the passcode — If you can remember it, even after a few tries, stop and slow down. Too many wrong attempts can trigger a lockout screen.
- Use the on-screen reset option — On many iOS versions, a “Forgot Passcode?” style option appears after repeated failures. It resets the iPhone when you can sign in with the Apple Account tied to the device.
- Use iCloud Find Devices — If Find My was set up, you can erase the iPhone from another device or the web, then set it up again.
- Use a Mac or PC restore — Device restore mode lets you restore the iPhone with Finder or iTunes. This is the standard route when the phone is unavailable and the on-screen reset option isn’t there.
- Remove Activation Lock from the owner’s account — This is the only clean way when setup asks for someone else’s Apple Account.
- Ask the carrier to remove a carrier restriction — Carriers control this. Third-party “IMEI services” are a gamble and can get your money taken.
What you’ll lose and what you might save
A reset erases what’s stored on the iPhone at that moment. What comes back depends on backups and sync. Photos in iCloud Photos, contacts in iCloud, and app data that syncs to iCloud can return after you sign in. Stuff stored only on the device can be gone.
Reset A Forgotten Passcode Using Apple’s Official Steps
If you can’t enter the passcode, Apple’s path is a reset. Apple lays out the current process in its steps for a forgotten iPhone passcode. Below is the same flow, written in plain language with choice points so you don’t get stuck mid-way.
Try the on-screen reset option first
Many iPhones show a reset option after enough failed attempts. If you see it, it’s usually the smoothest route because you can do it without a computer.
- Wait for the option to appear — Stop entering random codes. Let the timer run, then watch for the reset link on the screen.
- Sign in with the Apple Account — Use the same Apple Account that’s already on the iPhone. If you don’t know the password, do the Apple Account password reset first.
- Complete the erase — The iPhone wipes itself, then returns to setup.
- Restore your backup — During setup, pick your iCloud backup or your computer backup, if you have one.
Erase the iPhone with iCloud Find Devices
If Find My was enabled, you can erase the iPhone from the web. Sign in at iCloud.com/find with the Apple Account tied to the phone, select the device, then choose the erase option.
- Sign in at iCloud.com — Use the Apple Account tied to the iPhone.
- Select the iPhone — Pick the correct device from your device list.
- Run the erase command — Confirm the erase, then wait for the device to come online and complete it.
- Set it up again — After it restarts, follow setup and sign in with the same Apple Account.
If the phone is lost or stolen, keep it linked to Find My after the erase. Removing it can make the device easier for a thief to reuse.
Restore the iPhone with a Mac or PC
This route works even when the iPhone screen is unavailable and Find My wasn’t set up. It takes longer, but it’s reliable.
- Get a computer and cable — Use a Mac with Finder or a Windows PC with iTunes.
- Enter device restore mode — The button combo depends on your model. Keep holding the buttons until the restore screen appears.
- Choose Restore — Pick Restore, not Update. Restore wipes and reinstalls iOS.
- Finish setup and sign in — You’ll still need the Apple Account password if Activation Lock is enabled.
- Restore your backup — Choose your backup during setup or in Finder/iTunes after setup.
If you forgot your Apple Account password too
You may get stuck at sign-in after the erase. Use Apple’s password reset flow, then try sign-in again. Do this from a device you still control, like a second phone, a tablet, or a trusted computer.
Get Past Activation Lock When Setup Asks For Another Account
Activation Lock is there to stop theft. If the iPhone isn’t tied to your Apple Account, there is no clean “trick” that keeps you safe and keeps the phone trustworthy.
If you bought the iPhone used
Start by reaching the seller. It’s the fastest way to fix this.
- Ask the seller to sign in and remove the device — They can remove it from their Apple Account on the web.
- Have them remove it from Find My — If the iPhone stays on their Find My list, setup will keep asking for their account.
- Restart setup — After removal, restart the iPhone and go through setup again.
If the seller refuses or “can’t,” treat it as a red flag. Many locked phones on marketplaces are lost, stolen, or tied to unpaid carrier plans.
If you’re the owner but can’t sign in
When it’s your own device, you still need access to the Apple Account. Password reset is the first stop. If you can’t reset, Apple may ask for proof that the device is yours.
- Use password reset first — Try resetting the Apple Account password, then sign in again during setup.
- Gather purchase details — A receipt that shows the serial number or IMEI can help prove ownership.
- Use Apple’s Activation Lock tools — Apple provides a dedicated Activation Lock portal that guides owners through the right steps.
Apple explains what Activation Lock is and why it appears in its article on Activation Lock for iPhone and iPad.
Fix Carrier Restrictions And SIM Issues
If your iPhone works on Wi-Fi but won’t connect to cellular with a new SIM or eSIM, you may be hitting a carrier restriction. This is separate from your lock screen passcode.
Check the carrier status in Settings
- Open Settings — Go to Settings, then General, then About.
- Find “Carrier Lock” — Newer iOS versions show a line for carrier status.
- Note what it says — “No SIM restrictions” means you’re clear. Any other message means the carrier still controls it.
Request removal from your carrier
Only the carrier can remove the restriction in its system. Plan for an eligibility check, then a wait while their systems update.
- Meet eligibility rules — Many carriers require the phone to be paid off and not reported lost.
- Ask for the change in their system — Some carriers do it through an online form, others through chat or phone.
- Restart and test — A restart can pull the new status to the phone.
When it’s a SIM PIN or PUK problem
If the iPhone asks for a SIM PIN, that code is tied to the SIM, not the phone. After too many wrong tries, you may need a PUK from your carrier.
- Stop guessing — A locked SIM won’t fix itself.
- Get the PUK from your carrier account — Many carriers show it in your online account dashboard.
- Set a PIN you’ll remember — After the SIM is active again, choose a PIN you can recall without notes.
Skip The Scams That Promise A “One Click” Fix
When you’re locked out, the sketchy offers look tempting. Most of them fail. Some work only by stealing your Apple Account, your money, or both.
Red flags that show a service is shady
- They ask for your Apple Account password — No legit repair shop needs your password to reset a device.
- They want payment before they verify ownership — Honest shops ask questions first and set clear limits.
- They claim they can remove Activation Lock without the owner — That’s a theft pipeline, not a repair.
- They push you to install a profile or “management” app — That can hand control of your phone to someone else.
Watch for fake “lost iPhone found” messages
Scammers send texts that claim your iPhone was found, then link you to a fake sign-in page. If you enter your Apple Account details, they can take over your account and try to reuse the phone. If you get a message like this, sign in only through the Find My app or by typing iCloud.com into your browser yourself.
What a legit repair shop can and can’t do
A reputable shop can help with hardware issues, batteries, screens, and port damage. For a forgotten passcode or Activation Lock, they’re still bound by Apple’s rules. They can help you run the reset and point you to password reset steps, but they can’t make an account vanish from setup.
Set Yourself Up So This Doesn’t Hurt Next Time
Once you’re back in, spend five minutes on prevention. It saves hours later.
Lock screen access that’s still safe
- Set Face ID or Touch ID again — Biometric sign-in cuts passcode mistakes.
- Update your passcode — Pick something you can type under stress, not a random string.
- Turn off lock screen access for risky toggles — Limit what someone can do without the passcode, like Control Center on the lock screen.
Backups and account reset readiness
- Turn on iCloud Backup — A nightly backup can save your photos, messages, and app data.
- Keep your Apple Account details current — Add a phone number for password reset and a backup email you still use.
- Store codes in a password manager — Keep your Apple Account password and carrier account login somewhere you can reach from a different device.
Before selling or giving away an iPhone
- Sign out of your Apple Account — This removes the device from your account on the phone.
- Erase all content and settings — Do it from Settings so the phone completes the right cleanup steps.
- Confirm Activation Lock is off — The next owner should not see your Apple Account during setup.
If you still can’t regain access after trying the matching section above, stop before paying a random site. Gather your purchase details, then use Apple’s own reset pages and carrier channels. It’s slower than a “magic” fix, but it keeps your account and your phone trustworthy.