How to Unlock iPhone 12 Without Passcode (Official Ways)
In this article
If you're locked out of your iPhone 12 and don't remember the passcode, you can still regain access — but only through official Apple methods. There is no backdoor or third-party trick that works reliably. Your options are: use a computer to erase the phone (which removes the passcode), use iCloud to erase it if Find My is on, or use recovery mode if the phone is disabled. All of these erase your data, so a backup is essential if you have one.
What You'll Need
- A computer (Mac or Windows PC) with the latest version of iTunes (Windows) or Finder (macOS Catalina or later).
- The original USB cable that came with your iPhone 12 (or a certified MFi cable).
- Your Apple ID and password if you plan to use iCloud to erase the device.
- If you have a backup (iCloud or computer), you'll need it to restore your data after the erase.
Step-by-Step
Method 1: Use a Computer (Finder or iTunes) to Erase and Restore
- On your computer, open Finder (macOS Catalina or later) or iTunes (Windows or older macOS). Make sure it's updated to the latest version.
- Connect your iPhone 12 to the computer using the USB cable.
- If your phone asks “Trust This Computer?”, tap “Trust” — but if you can't unlock the phone, you won't see this prompt. That's okay; proceed to the next step.
- In Finder or iTunes, select your iPhone when it appears (usually in the sidebar or top-left corner).
- Click “Restore iPhone…” in the Summary panel. If you get a prompt asking to turn off Find My, confirm that you want to proceed (you may need to enter your Apple ID password).
- Follow the on-screen instructions. The computer will download the latest iOS software and erase your phone, removing the passcode.
- After the restore finishes, set up your iPhone as new or restore from a backup.
Method 2: Use iCloud (Find My) to Erase Remotely
- Go to iCloud.com/find from any web browser on a computer or another device.
- Sign in with the Apple ID that is linked to your locked iPhone 12.
- Click “All Devices” at the top, then select your iPhone 12 from the list.
- Click “Erase iPhone”. This will remotely wipe the device, removing the passcode.
- After the erase completes, you can set up the phone again. If you have a backup, you can restore it during setup.
Method 3: Recovery Mode (If the Phone is Disabled or Won't Connect)
- On your computer, open Finder or iTunes.
- Connect your iPhone 12 to the computer, but don't launch anything yet.
- Force restart your iPhone: press and quickly release the Volume Up button, then press and quickly release the Volume Down button, then press and hold the Side button (on the right edge) until you see the recovery mode screen (a computer icon and a cable). Keep holding the Side button even after the Apple logo appears — release only when you see the recovery screen.
- On your computer, you'll see a popup saying “There is a problem with the iPhone that requires it to be updated or restored.” Click “Restore”.
- Confirm that you want to restore. The computer will download the iOS software and erase the phone. This can take several minutes.
- Once done, set up your iPhone as new or restore from a backup.
Common Mistakes
- Using the wrong cable: A non-Apple cable may not connect properly, causing the computer to not recognize the phone.
- Skipping the “Trust” prompt: If you can't unlock the phone, you can't trust the computer — but that doesn't block recovery mode. Don't wait for the prompt; go straight to recovery mode if needed.
- Forgetting to turn off Find My before restoring: If Find My is on, the computer will ask for your Apple ID password. If you don't know it, you'll need to use iCloud erase instead.
- Interrupting the restore: Unplugging the cable or restarting the computer during the restore can brick the phone temporarily. Let it finish.
Tips
- Always keep a backup (iCloud or computer) so you can recover your photos, contacts, and apps after an erase.
- If you have an iCloud backup, you can restore it during setup after the erase — just sign in with your Apple ID.
- If you don't have a backup, you'll lose all data on the phone. There is no way to unlock without erasing.
- If you bought a used iPhone 12 that is locked to someone else's Apple ID, you'll need that person to remove the device from their account. Apple cannot help unless you have proof of purchase.
Troubleshooting
If the computer doesn't recognize your iPhone: Try a different USB port, restart the computer, and make sure you have the latest iTunes/Finder. If it still doesn't work, put the phone into recovery mode manually (Method 3).
If you get an error during restore (e.g., error 4013 or 9): Check your internet connection, try a different cable, and restart both devices. If the error persists, contact Apple Support.
If iCloud erase doesn't work: Make sure the phone is connected to Wi-Fi or cellular. If it's offline, the erase will happen when it next connects. Also verify that Find My was enabled on the phone before it was locked.
If you forgot your Apple ID password: You can reset it at iforgot.apple.com. You'll need access to the email or phone number associated with the account.
Frequently Asked Questions
Can I unlock my iPhone 12 without a computer?
Yes, if Find My is enabled, you can erase it remotely from iCloud.com/find on any device with a web browser. If Find My is off, you'll need a computer.
Will unlocking erase my photos and contacts?
Yes, all official methods erase the phone. If you have a backup, you can restore your data after the erase.
Is there any way to keep my data without a backup?
No. Apple does not provide a way to unlock a passcode-locked iPhone without erasing it. The only exception is if you previously synced data to iCloud or a computer.
What if the phone is disabled and says “iPhone is disabled, try again in 15 minutes”?
You can still use recovery mode (Method 3) to erase it. The disabled message doesn't prevent recovery mode.
Can a third-party tool unlock my iPhone 12 without erasing?
No reliable third-party tool exists. Most are scams or require you to jailbreak, which is not recommended and voids your warranty. Stick to Apple's official methods.
What if I bought a used iPhone 12 and it's locked to the previous owner's Apple ID?
You need the original owner to remove the device from their iCloud account. If you can't contact them, Apple may help if you have proof of purchase, but it's not guaranteed.