How to Unlock iPhone 18 Pro When You Forgot the Passcode

You restart your iPhone 18 Pro, Face ID asks for the passcode, and the number you picked last week simply is not there. A few wrong guesses later, the screen says iPhone Unavailable and the timer keeps growing. It is a frustrating spot, but it is also a very common one, and there is a clear way out.
BThis guide covers every realistic way to unlock an iPhone 18 Pro (and the iPhone 18 Pro Max) after you forget the passcode, ordered from the gentlest to the most involved. Start at Method 1 and stop as soon as one works.
Quick Answer
If your passcode has been changed within 72 hours, it is easy to reset it with the previous passcode (Method 1). If not, your iPhone 18 has to be erased: use Forgot Passcode? on the lock screen (Method 2), Find My from another device (Method 3), Recovery Mode with a computer (Method 4), or a passcode unlock tool such as Cocosenor iPhone Passcode Tuner (Method 5).
- Contents:
- What You Need Before You Start
- Method 1: Set a New Passcode via Your Previous Passcode
- Method 2: Use Forgot Passcode? on the Lock Screen
- Method 3: Unlock iPhone 18 Pro with Find My
- Method 4: Reset iPhone 18 Pro in Recovery Mode.
- Method 5: Use Cocosenor iPhone Passcode Tuner
- Troubleshooting iPhone 18 Pro Forgot Passcode Issues
- FAQs on Unlocking iPhone 18 Pro without Passcode
What You Need Before You Start
- Your Apple Account email and password. Methods 2, 3, and 4 all lean on them, and Activation Lock asks for them after the erase.
- A working internet connection on the iPhone for Methods 2 and 3 (Wi-Fi or cellular).
- A PC and the USB cable for Methods 4 and 5
- A recent backup, ideally in iCloud or on a computer, so you can restore your photos, messages, and apps once the phone is reset.
Method 1: Set a New Passcode via Your Previous Passcode
iOS lets you fall back on your old passcode for 72 hours after you set a new one. This is the only way to unlock iPhone 18 Pro without data loss. But if your previous passcode is expired, you cannot see this option on the iPhone unavailable screen. Move on to Method 2.
Step 1: On the iPhone unavailable screen, tap Forgot Passcode? option.
Step 2: Choose the option Enter Previous Passcode.
Step 3: Type the passcode you used before the change. Follow the prompts to create a new passcode, and write it down somewhere safe this time.

Method 2: Use Forgot Passcode? on the Lock Screen
Since iOS 15.2, the lockout screen itself can reset the phone without a computer. But you can only use this method for the iPhone 18 Pro which is connected to stable internet and linked to an Apple Account.
Step 1: Try the possible passcodes until you see the iPhone Unavailable screen.
Step 2: Tap Forgot Passcode? in the bottom corner.
Step 3: Select the option—Start iPhone Reset. Soon, it will ask you to input the Apple account passcode.
Step 4: Confirm the erase. The iPhone restarts and wipes itself.
Step 5: On the Hello screen, set up the phone, restore from your backup, and choose a new passcode.

Method 3: Unlock iPhone 18 Pro with Find My
If the Forgot Passcode? option is missing, Find My can help erase the locked iPhone 18 Pro when your iPhone is online and Find My iPhone is enabled.
Step 1: On a computer, tablet, or another phone, go to icloud.com/find and sign in with the Apple Account used on the locked iPhone.
Step 2: Open All Devices and select your iPhone 18 Pro.
Step 3: Click the Erase option and complete the confirmation prompts.
Step 4: Minutes later, your iPhone shows the Hello screen and you can set it up as a new iPhone.

Method 4: Reset iPhone 18 Pro in Recovery Mode.
Recovery Mode works even when the phone has no network. You will need a Mac or a Windows PC and a USB cable. For Windows users, get Apple Devices app or iTunes. For Mac users, Finder is recommended. Here, iTunes on Windows computer is set as an example.
Step 1: Power off the iPhone, press and hold the side button while you plug the cable into the computer. Keep holding until the Recovery Mode screen appears.
Step 2: Open iTunes on your computer. Soon, the prompt comes to tell you restore or update the iPhone. Click Restore and choose Restore and Update.
Step 3: Let iTunes download and install the package. Once it finishes, the iPhone 18 Pro screen lock is removed. You can set up your iPhone and restore the available backup.

Method 5: Use Cocosenor iPhone Passcode Tuner
A passcode tool does the same erase job as Recovery Mode, but wraps it in a step-by-step wizard. That helps if the button timing in Method 4 keeps failing, or if you simply prefer to be guided through the process on your computer.
Cocosenor iPhone Passcode Tuner is the reliable iPhone passcode unlocker which helps to remove the forgotten screen passcode, Apple ID passcode, screen time passcode and remote management passcode.
Step 1: Download and install Cocosenor iPhone Passcode Tuner on your computer from the official Cocosenor site, then open it.
Step 2: Choose the Unlock Lock Screen option on the main screen. Then click the Start button.

Step 3: Connect the iPhone 18 Pro with a USB cable. If the program cannot detect the phone, follow its on-screen instructions to put the phone in Recovery Mode. Afterwards, go back to the software and hit the Next button.

Step 4: In minutes, the iPhone details show on the software. Hit the Download button to download the firmware package it needs.

Step 5: Once the firmware is ready, click the Unlock button to start the reset process. You should keep the phone connected until the tool says it has finished. The iPhone restarts without a passcode.

Step 6: Set the phone up again, restore from your backup, and create a new passcode.
Troubleshooting iPhone 18 Pro Forgot Passcode Issues
| Problem | Likely Cause | What to Do |
|---|---|---|
| No Forgot Passcode? option on the lock screen | The lockout screen has not appeared yet, the phone is offline, or the iOS version is too old | Keep entering wrong passcodes until the lockout screen appears, connect to Wi-Fi, or use Method 3 or 4 |
| Recovery Mode keeps exiting | The software download took longer than 15 minutes | Check your connection, then repeat the Recovery Mode steps |
| The computer does not detect the iPhone | Faulty cable or port, or outdated software | Try another cable and USB port, then update Finder, the Apple Devices app, or iTunes |
| Find My shows the iPhone as offline | No Wi-Fi or cellular connection on the phone | Queue the erase and connect the phone to a network, or use Recovery Mode |
| Asked for an Apple Account after the erase | Activation Lock is working as intended | Sign in with the original Apple Account. If you forgot the password, recover it at iforgot.apple.com |
| No backup to restore from | Backups were never turned on | Set the phone up as new. Photos or messages synced to iCloud will re-download once you sign in |
FAQs on Unlocking iPhone 18 Pro without Passcode
Q1: Can I unlock an iPhone 18 Pro Max without losing data if I forgot the passcode?
In most cases, no. Apple designed the lock so that bypassing it is not possible without erasing the phone. The one exception is the previous-passcode reset: if you changed your passcode within the last 72 hours, you can use the old one to set a new one without erasing anything. Otherwise, your data comes back only from an iCloud or computer backup.
Q2: Do these steps work for the iPhone 18 Pro as well as the Pro Max?
Yes. The iPhone 18 Pro and iPhone 18 Pro Max handle a forgotten passcode in the same way, so every method in this guide applies to both models.
Q3: Why Does iPhone Require a Passcode Even With Face ID Enabled?
After a restart, a software update, or several failed Face ID attempts, iPhone requires the passcode before Face ID can work again. The passcode remains your primary security method; Face ID is only for easier access.
Conclusion:
Forgetting the passcode on an iPhone 18 Pro is stressful, but the fix is predictable. Check the 72-hour previous-passcode option first, then work down through Forgot Passcode?, Find My, Recovery Mode, and a passcode tool. Whichever one you use, the result is a clean phone, so the single most useful thing you can do is keep a current backup.

