How to Unlock an iPhone Passcode Without a Computer

Updated by Brian Davis on Aug 5, 2026 • Category: Unlock iOS
16 mins read

Forgot your iPhone passcode but do not have access to a Mac or Windows PC? Depending on your iOS version and device settings, you may be able to regain access directly from the lock screen or erase the locked iPhone from another phone. This guide explains three practical ways to unlock an iPhone passcode without a computer, what each method requires, and when data will be erased.

how to unlock iphone passcode without computer

Quick Answer: Can You Unlock an iPhone Without a Computer?

Yes. There are three main ways to unlock or reset an iPhone without a computer:

  • 1. Use your previous passcode within 72 hours if you recently changed it. This method does not erase your data.
  • 2. Use the Forgot Passcode? or Erase iPhone option on the lock screen. This method erases the iPhone.
  • 3. Use Find My on another phone or tablet to erase the locked iPhone remotely.

The second and third methods require your Apple Account password, formerly called an Apple ID password. They also require Find My to have been enabled before the iPhone was locked. If none of these options is available, you will need to use a Mac or Windows PC, borrow a computer, or visit an Apple Store or Apple Authorized Service Provider.

Which Method Should You Use?

Your situationRecommended methodData lossMain requirements
You changed the passcode within the last 72 hoursUse the previous passcodeNoiOS 17 or later, old passcode
You see Forgot Passcode? on the lock screenReset the iPhone from the lock screenYesiOS 17 or later, internet, Find My, Apple Account password
You see Erase iPhone on the lock screenErase the iPhone directlyYesiOS 15.2 ~ iOS 16, internet, Find My, Apple Account password
You have access to another phone or tabletUse Find MyYesFind My enabled, Apple Account access
No reset option appears and the iPhone cannot connect to the internetUse a computer or get serviceUsually yesMac, Windows PC, or Apple service

Can You Really Unlock an iPhone Passcode Without Erasing It?

You can unlock an iPhone without erasing it only when you changed the passcode in the past 72 hours and still remember the previous one.

On iOS 17 or later, Apple provides a Passcode Reset feature. After changing your passcode, you have a 72-hour period during which the previous passcode can be used once to regain access and create another passcode. If the 72-hour period has expired, you do not remember the previous passcode, or the feature was manually disabled, Apple does not provide an official way to remove the screen passcode while keeping the data currently stored on the iPhone.

In that situation, you must erase the device and then:

  • Restore an available iCloud backup;
  • Restore a Finder, Apple Devices, or iTunes backup;
  • Set up the iPhone as a new device;
  • Download information that was already synced with iCloud.

Removing the screen passcode also does not automatically remove Activation Lock. If Find My was enabled, you may still need the Apple Account previously linked to the iPhone when setting it up again.


How to Unlock iPhone Passcode without Computer

Forgot your iPhone passcode and don’t have a computer? Depending on your iOS version and settings, you may still reset or unlock the device from the lock screen or another phone. You can start with the easiest method.

Method 1. Unlock iPhone with the Previous Passcode Within 72 Hours

prosWhat You Should Know:
  • Best for: Users who recently changed their iPhone passcode
  • Data loss: No
  • Supported system: iOS 17 or later

If you changed your iPhone passcode and then forgot the new one, try the previous passcode before erasing the device. Apple allows the old passcode to be used temporarily for up to 72 hours after a passcode change. This is the first method you should try because it can restore access without deleting your photos, apps, messages, or settings.

Requirements

  • The iPhone is running iOS 17 or later;
  • You changed the passcode within the last 72 hours;
  • You still remember the previous passcode;
  • The iPhone is connected to Wi-Fi or cellular data;
  • The iPhone is signed in to an Apple Account;
  • Find My was enabled before the device became locked;
  • You did not manually expire the previous passcode.

How to Unlock the iPhone with the Previous Passcode

  • Step 1. Enter an incorrect passcode on the lock screen until the iPhone Unavailable screen appears.
  • Step 2. Tap Forgot Passcode? in the bottom-right corner.
  • Step 3. Tap Enter Previous Passcode. Enter the passcode you used before changing it.
  • Step 4. Follow the onscreen instructions to create and confirm a new iPhone passcode.
  • ios 17 enter previous passcode

After setting the new passcode, you can unlock the iPhone normally. Your existing data will remain on the device.

Why Is the Enter Previous Passcode Option Missing?

The previous-passcode option may not appear for the following reasons:

  • More than 72 hours have passed since you changed the passcode;
  • The iPhone is running iOS 16 or an earlier version;
  • The iPhone is not connected to Wi-Fi or cellular data;
  • Find My was not enabled;
  • The device is not signed in to an Apple Account;
  • You selected Expire Previous Passcode Now in Settings;
  • You do not reach the required iPhone Unavailable screen.

Make sure the iPhone has an active internet connection, then wait until Forgot Passcode? becomes available. If you still cannot use the previous passcode, continue with a lock-screen reset or Find My. Both alternatives erase the device.

Method 2. Reset the iPhone Directly from the Lock Screen

prosWhat You Should Know:
  • Best for: Users who see Forgot Passcode? or Erase iPhone on the locked screen
  • Data loss: Yes
  • Supported system: iOS 15.2 or later

If you cannot use your previous passcode, you may be able to reset the iPhone directly from its lock screen. This method does not require a Mac, Windows PC, Finder, iTunes, or the Apple Devices app.

However, resetting the iPhone removes the forgotten screen passcode by permanently erasing the data and settings stored on the device. Afterward, you can restore an available backup or set up the iPhone as new.

Requirements

Before trying this method, make sure that:

  • The iPhone is running iOS 15.2 or later;
  • Find My was enabled before the iPhone became locked;
  • The iPhone has an active Wi-Fi or cellular connection;
  • The iPhone is signed in to an Apple Account;
  • You know the password for that Apple Account.

The option shown on the lock screen depends on the iOS version:

  • iOS 17 or later: Look for Forgot Passcode?
  • iOS 15.2 or iOS 16: Look for Erase iPhone

If neither option appears, check the network connection first. You may also need to enter an incorrect passcode several times before the reset option becomes available.

How to Reset an iPhone on iOS 17 or Later

  • Step 1. Enter an incorrect passcode until the iPhone Unavailable screen appears.
  • Step 2. Tap Forgot Passcode? in the bottom-right corner.
  • Step 3. On the Security Lockout screen, tap Start iPhone Reset.
  • iphone unavailable forgot passcode
  • Step 4. Enter your Apple Account password to sign out of the account on the locked iPhone.
  • Step 5. Tap Erase iPhone to confirm that you want to delete the device data and settings. If the iPhone uses an eSIM, choose whether to keep the eSIM or delete it.
  • Step 6. Wait for the iPhone to erase and restart. Follow the onscreen instructions to activate it, create a new passcode, and restore a backup if one is available.

The time required depends on the device, network connection, and the amount of information being restored.

How to Reset an iPhone on iOS 15.2 or iOS 16

On earlier supported versions, the wording and screens may be slightly different.

  • Step 1. Continue entering an incorrect passcode until the Security Lockout or iPhone Unavailable screen appears.
  • Step 2. Tap Erase iPhone at the bottom of the screen
  • erase iphone ios 15 2
  • Step 3. Tap Erase iPhone again to confirm that the device data will be deleted.
  • Step 4. Enter the password for the Apple Account signed in on the iPhone. Wait for the erase process to finish.
  • Step 5. Set up the iPhone again, create a new screen passcode, and restore an iCloud or computer backup if available.

Do not interrupt the erase process by turning off the iPhone. Keep the device connected to power when possible.

Important eSIM Information

If you use an, check your iOS version before erasing the iPhone. On iOS 17 or later, the lock-screen reset process may let you do the following things:

  • Keep the eSIM while erasing the device data; or
  • Delete both the device data and the eSIM.

keep delete esim and erase data

Keeping the eSIM is generally more convenient when you plan to continue using the same phone number and carrier after the iPhone reset.

If the iPhone runs iOS 16 or earlier, contact your carrier before resetting the device. You may need a new QR code or other carrier-provided information to activate the eSIM again.

Deleting an eSIM from the iPhone does not necessarily cancel the cellular plan. Contact the carrier separately if you also want to cancel the service.

Why Is Forgot Passcode or Erase iPhone Not Showing?

linkView Also: What to Do If iPhone Unavailable No Forgot Passcode Option

The reset option may be missing when:

  • The iPhone is running iOS 15.1 or earlier;
  • The iPhone is not connected to Wi-Fi or cellular data;
  • Find My was not enabled before the device was locked;
  • The iPhone is not signed in to an Apple Account;
  • The device cannot reach Apple’s activation services;
  • You have not entered an incorrect passcode enough times;
  • A temporary network or system problem prevents the option from loading.

Try moving the iPhone to a location with a stable cellular or previously used Wi-Fi connection. Wait a few minutes and check the lock screen again. If the option still does not appear, use Find My from another device. When Find My is also unavailable, a computer-based reset may be required.

Method 3. Erase the Locked iPhone with Find My

prosWhat You Should Know:
  • Best for: Users who have another phone or tablet and enabled Find My in advance
  • Data loss: Yes
  • Supported system: Any supported iPhone that was added to Find My

Find My provides another way to reset a locked iPhone without connecting it to a computer. You can send a remote erase command through the Find My app on another Apple device or Find Devices on iCloud.com using a mobile browser. This method is especially useful when the Forgot Passcode or Erase iPhone option does not appear on the locked device.

Requirements

To erase the locked iPhone through Find My:

  • Find My must have been enabled before the iPhone became locked;
  • The locked iPhone must appear in your list of devices;
  • You must have access to the associated Apple Account;
  • The locked iPhone must connect to Wi-Fi or cellular data before the erase can begin.

If the iPhone is offline, you can still submit the erase request. The request remains pending and starts automatically the next time the iPhone connects to the internet.

Option 1. Erase the iPhone with the Find My App

Use this option when you have another iPhone or iPad signed in to the same Apple Account.

  • Step 1. Open the Find My app on the available Apple device.
  • Step 2. Tap Devices at the bottom of the screen. Select the locked iPhone from the device list.
  • Step 3. Scroll down and tap Erase. Tap Continue and review the warning about permanent data deletion.
  • find my app erase ipad
  • Step 4. Follow the onscreen instructions. Enter your Apple Account password when requested. Confirm the erase request.

If the locked iPhone is online, the erase process should begin after the request is confirmed. If it is offline, Find My displays Erase Pending until the device reconnects.

Option 2. Erase the iPhone Through iCloud.com

You can also use a browser on an Android phone, another iPhone, an iPad, or another internet-connected device.

  • Step 1. Open a browser and access Find My on iCloud.com.
  • Step 2. Sign in with the Apple Account associated with the locked iPhone.
  • Step 3. Open the device list and select the locked iPhone.
  • Step 4. Choose Erase. Follow the onscreen prompts and enter the Apple Account password if requested. Confirm that you want to erase the device.
  • iphone icloud com

After the iPhone receives the command, it deletes its local data and restarts. You can then set your iPhone up again with a new screen passcode.

What If You Cannot Receive the Verification Code?

When accessing Find Devices on iCloud.com, you may be able to open the Find My service without entering a two-factor authentication code. This is useful when the locked iPhone is your only trusted device and you cannot view the verification code sent to it.

Make sure you are using Apple’s official iCloud service and do not enter your Apple Account credentials on an unfamiliar unlocking website.


What to Do If No Computer-Free Method Works

The three methods above may not work if:

  • The Forgot Passcode or Erase iPhone option does not appear;
  • The locked iPhone cannot connect to the internet;
  • Find My was not enabled before the device became locked;
  • The iPhone does not appear in your Find My device list;
  • You do not have access to the associated Apple Account;
  • The iPhone runs an older version of iOS;
  • The device has a damaged screen or unresponsive buttons.

When no computer-free option is available, you will need to reset the iPhone with a Mac or Windows PC. If you cannot borrow a computer, Apple recommends visiting an Apple Store or Apple Authorized Service Provider. Resetting a forgotten screen passcode through recovery mode erases the data currently stored on the iPhone.

You can use one of the following computer-based options:

  • Finder on a Mac;
  • Apple Devices on a Windows PC;
  • iTunes on an older Mac or Windows PC;
  • A guided unlocking tool such as TunesKit iPhone Unlocker.

Because this article focuses on unlocking an iPhone without a computer, the computer-based method is included only as a fallback here.

Bonus: Unlock iPhone with TunesKit iPhone Unlocker

prosWhat You Should Know:
  • Best for: Users whose no-computer options are unavailable
  • Computer required: Yes
  • Data loss: Yes when removing the screen passcode

TunesKit iPhone Unlocker provides a guided way to remove a forgotten screen passcode from an iPhone using a Windows PC or Mac. It supports common screen locks, including 4-digit and 6-digit passcodes, custom numeric or alphanumeric codes, Touch ID, and Face ID.

This option may be useful when:

  • Forgot Passcode does not appear;
  • The iPhone is disabled or unavailable;
  • Face ID or Touch ID does not work;
  • The screen is damaged or unresponsive;
  • Find My cannot be used;
  • Finder, iTunes, or Apple Devices feels difficult to operate.

Key Features of TunesKit iPhone Unlocker

Forgotten your passcode or locked out of your device? Connect, click, and reset to regain full access to your iPhone in just minutes.

Try It Free safe 600,000+ Downloads

Use TunesKit only on an iPhone that you own or are authorized to manage. Here is the guide to use it.

  • Step 1. Install and open TunesKit iPhone Unlocker on a Windows PC or Mac. Connect the locked iPhone with a compatible USB cable. Choose Unlock iOS Screen, and then click Start.
  • Step 2. Follow the onscreen instructions to put it into Recovery Mode or DFU Mode. The required button combination depends on the iPhone model.
  • Step 3. Check the detected device model and available iOS firmware version. Make sure the information matches the connected iPhone, and then click Download to obtain the firmware package.
  • Step 4. Do not disconnect the iPhone while the firmware is downloading or being verified.
  • Step 5. After the firmware package is ready, click Unlock. Keep the iPhone connected until the process finishes. The device will restart without the previous screen passcode, and you can create a new passcode during setup.
  • unlocked iphone
Try It Free Try It Free

FAQs About Unlocking an iPhone Without a Computer

  • Can the Previous Passcode Be Used More Than Once?

    The previous passcode is intended as a temporary recovery option. After you use it to access the iPhone, you must immediately create a new passcode. It is not a permanent second passcode and cannot be used indefinitely after the 72-hour recovery period ends.

  • Can You Extend the 72-Hour Passcode Reset Period?

    No. The 72-hour window cannot be extended. If it expires before you reset the passcode, you will need to erase the iPhone using other methods.

    You can also disable the recovery period before it expires by going to:

    Settings > Face ID & Passcode or Touch ID & Passcode > Expire Previous Passcode Now

    expire previous passcode now

    Once the previous passcode has been expired manually, it can no longer be used to regain access.

  • Can Siri or the Emergency Call screen unlock an iPhone?

    No current official method uses Siri or the Emergency Call screen to bypass a forgotten iPhone passcode. Instructions claiming to unlock modern iPhones through Siri, Calculator, Camera, Control Center, or an emergency-call trick are generally outdated, device-specific, or misleading.

  • Can I unlock the iPhone without my Apple Account password?

    The 72-hour previous-passcode method does not require you to erase the iPhone.

    However, the lock-screen reset and Find My methods require access to the Apple Account associated with the device. After the iPhone is erased, Activation Lock may also request the linked Apple Account before setup can continue. If you forgot the account password, reset it through Apple’s official account-recovery process before erasing the device.

  • Can I reset a locked iPhone if it is offline?

    You cannot complete a lock-screen reset while the iPhone is offline because the device must communicate with Apple’s services. You can submit an erase request through Find My, but the request will remain pending until the iPhone reconnects to Wi-Fi or cellular data.


Conclusion

If you forgot your iPhone passcode and do not have a computer, start with the previous-passcode option. It is the only method in this guide that may regain access without erasing your data. If that option is unavailable, use Forgot Passcode or Erase iPhone on the lock screen. You can also erase the device through Find My on another phone or tablet.

When the iPhone is offline, Find My was disabled, or no reset option appears, a computer-based solution is required. You can use Finder, Apple Devices, iTunes, or TunesKit iPhone Unlocker to reset the device and create a new screen passcode. Regardless of the method, remember that removing the screen passcode does not necessarily remove Activation Lock. Keep your Apple Account information updated and enable regular backups to avoid permanent data loss.

Try It Free Buy Now

Add a review

home Home > Unlock iOS > How to Unlock iPhone Passcode Without Computer [3 Ways]