Home > Resources > How to wipe iPhone without passcode

Locked out: How to wipe an iPhone without a passcode

You can't always remember a passcode you haven't used in months. If you're locked out of your iPhone, here are a few ways to wipe your iPhone clean without screen lock code.

face
Alex Griffith Updated on Aug 28, 2026 6:31 PM

We have all been there. You change your iPhone passcode on a whim to secure your device, only to realize a few hours later that your muscle memory has completely wiped the new combination from your brain. Or perhaps you dug an old iPad out of a drawer, or your toddler tapped away at the lock screen until the display gave you an ominous, ticking countdown.

Your phone hold our lives—photos, bank accounts, emails, and conversations, but now you don't have the passcode to unlock it. Now What?

Because Apple builds its mobile devices around end-to-end security, there is no back door to bypass a passcode while leaving your data intact. If you forget your code, the only way to regain access is to completely wipe the iPhone back to factory settings and restore your data from a backup.

The good news is Apple and third-party developers offer several pathways to wipe your iPhone if you forget the passcode. Below are the five most reliable methods you can follow to wipe an iPhone without a passcode, ranging from quick on-device resets to specialized desktop tools like Appgeeker iPhone Unlocker, a reputable suite for handling different of screen locks.

Wipe Your Device Directly via the Lock Screen (iOS 15.2 or Later)

If your iPhone is running iOS 15.2 or higher and remains connected to a Wi-Fi or cellular network, you don't even need a computer to wipe your iPhone when locked. Apple introduced an on-device reset feature that lets you wipe the device directly from the lock screen after multiple failed passcode attempts.

How it works

When you enter an incorrect passcode too many times, iOS temporarily locks you out. After several failed entries, an option appears at the bottom of the screen allowing you to wipe the phone using your Apple ID (Apple Account) credentials.

Steps to wipe iPhone without passcode

1. Enter an incorrect passcode on your lock screen until it says iPhone Unavailable or Security Lockout error.

2. Look at the bottom corner of the screen for the "Erase iPhone" (or "Forgot Passcode?" on iOS 17 and later) option.

3. Tap it and confirm your choice by selecting "Start iPhone Reset."

4. Enter your Apple ID password to sign out of your Apple Account and turn off Find My / Activation Lock.

5. Tap Erase iPhone one final time to initiate the wipe process.

This method requires an active internet connection. If your phone is in Airplane Mode or cannot connect to Wi-Fi/cellular data, the lock screen reset option will not appear, and you will need to use a computer-based method below.

Wipe an iPhone without passcode via iPhone Unlocker (Fastest Desktop Solution)

If your device is running an older iOS version, lacks an active network connection, or if the built-in lock screen reset option fails to appear, a dedicated desktop utility provides the most seamless alternative. Among third-party iOS repair suites, Appgeeker iPhone Unlocker stands out for its ability to wipe iPhone passcode if you forget it without requiring iTunes or complex button-press sequences.

Download Now!

for Windows | for macOS

Why choose Appgeeker iPhone Unlocker

While Apple's native tools (like Recovery Mode via Finder or iTunes) can be sensitive to driver conflicts, outdated operating systems, or unexpected error codes (like Error 4013 or 3194), Appgeeker iPhone Unlocker automates the firmware detection and device recovery process. It works across all iOS versions and hardware generations, removing 4-digit/6-digit passcodes, Touch ID, Face ID, and custom alphanumeric codes in a few clicks.

It also comes with a set of tools to remove inactive Apple ID, bypass remote management lock, unlock Screen Time passcode, and deal with other types of locks.

Steps to wipe iPhone without passcode using Appgeeker iPhone Unlocker

Step 1: Click the download link above to download the software on your Windows or macOS machine, and open it once it's done. Meanwhile, connect your iPhone into your computer.

Step 2: You will see several options on the screen, select the "Unlock iOS Screen" mode.

Related: Apple ID not valid or supported

Step 3: If the software doesn't detect your device automatically, follow the clear, on-screen visual guide to put your specific iPhone model into restore mode.

Step 4: Check your iOS model and click "Start Now" button to continue.

The software will automatically detect your iPhone model and download the latest compatible iOS firmware package.

Step 5: Once the firmware finishes downloading, click "Start Remove." When a warning dialog box appears, reading the messages carefully and then click the "OK" button to confirm.

The software will extract the package, wipe your iPhone, and strip away the passcode. Keep your device connected throughout the entire process.

Once complete, your iPhone will reboot to the initial Hello setup screen, allowing you to reconfigure the phone or restore an iCloud/PC backup.

Related: How to transfer pictures from laptop to iPhone

Wipe Your iPhone Remotely via iCloud Find My

If you don't have immediate physical access to a computer with iTunes, but you have access to another mobile device or web browser, you can wipe your iPhone without passcode remotely using Apple's Find My service.

To use this method, your locked iPhone must meet three criteria:

  • Find My iPhone must have been enabled on the device prior to being locked out.
  • The device must be currently online (connected to Wi-Fi or cellular data).
  • You must know your Apple ID credentials.

If you have forgotten your passcode, follow these steps to wipe the iPhone:

1. Open your favorite browser on your phone, tablet, or computer and navigate to iCloud.com.

2. Sign in with the Apple ID and password linked to the locked iPhone.

3. Select "All Devices" at the top or center of the screen, then choose your locked iPhone from the list.

4. In the device control card, click "Erase This Device."

5. Confirm your selection and enter your Apple ID password when prompted.

As soon as the iPhone connects to the internet, the command will execute, wiping all personal data and resetting the passcode lock.

When remote wipe is finished, you can set it up and create a new passcode for it. Also, you're able to restore all content to your iPhone from the backup file you've made in iCloud or iTunes, so you don't necessarily lost data.

Related: iPad Security Lockout

Wipe iPhone passcode via Finder / iTunes (Recovery Mode)

In addition to using Apple's iCloud, for users who prefer native desktop solutions, putting your iPhone into Recovery Mode and restoring it via your computer is Apple's official fallback procedure.

Understanding Recovery Mode

Recovery Mode forces your iPhone to interface directly with host computer software (macOS Finder, the Apple Devices app on Windows 10/11, or legacy iTunes) without loading the corrupted or locked iOS user interface.

How to wipe passcode you forgot on iPhone via Recovery mode:

1. The first step is to power off your iPhone

2. Plug your iPhone into your PC or Mac while holding the designated hardware button for your specific model until the Recovery Mode screen (a computer icon with a cable) appears.

iPhone 8, iPhone SE (2nd/3rd gen), or later: Press and quickly release Volume Up, press and quickly release Volume Down, then press and hold the Side button. Keep holding until the Recovery Mode screen appears.

3. Open Finder, Apple Devices, or iTunes on your computer.

4.A pop-up window will appear stating, "There is a problem with the iPhone that requires it to be updated or restored."

5. Click "Restore." Do not click Update, as updating attempts to preserve data and will not remove the passcode).

Wiping an iPhone Without Passcode in iTunes

Your computer will download the latest iOS software for your device and restore it to factory defaults. The process will wipe the iPhone passcode, too.

Wipe Your iPhone via Apple's Devices Page (iOS 17+ Apple Account Web Management)

If you are running the latest iOS versions and want to manage or wipe a device associated with your Apple Account without navigating full web maps, you can initiate a device wipe through Apple's centralized account management portal.

1. To wipe your iPhone without recalling passcode, first of all, navigate to account.apple.com on any web browser and sign in with your Apple ID.

2. Go to the "Devices" section in the side menu or dashboard.

3. Select your locked iPhone from the list of registered hardware.

4. Scroll down and click "Remove from Account" or select the option to trigger a remote wipe if prompted under security settings.

This action detaches the device from your active hardware roster and sends a wipe instruction to the phone the next time it checks into Apple servers.

Once your iPhone is wiped and reaches the setup screen, it will prompt you for the original Apple ID and password previously linked to the device. This ensures that stolen phones cannot simply be wiped and reused by unauthorized parties. Be sure to have your Apple ID credentials handy when setting up your clean device.

Related: How to recover deleted files from iPhone without backup

How to recover your data from an iCloud or iTunes backup after wiping your iPhone

Depending on where your backup is stored, you can restore directly over Wi-Fi via iCloud or locally via a computer using Finder, the Apple Devices app, or iTunes.

1. Turn on your freshly wiped iPhone. Swipe up or press the Home button on the Hello screen, select your language and region, and proceed through the initial setup steps.

2. When you reach the Transfer Your Apps & Data screen (or Apps & Data on older iOS versions), select your preferred backup source:

  • To restore from iCloud: Tap From iCloud Backup.
  • To restore from a computer: Tap From Mac or PC.

If restoring via iCloud:

  • Connect your iPhone to a strong Wi-Fi network, and sign in with your Apple ID (Apple Account) and password.
  • Choose the most relevant backup from the list based on the date and file size.
  • If prompted, sign into additional Apple IDs if your purchased apps or media span multiple accounts.

If restoring from computer:

  • Plug your iPhone into your computer using an MFi-certified USB cable.
  • Open Finder (macOS Catalina or later), Apple Devices (Windows 10/11), or iTunes (Windows/older macOS).
  • Select your iPhone when it appears in the sidebar or toolbar.
  • Click Restore Backup..., select the backup file you wish to apply, and click Restore.
  • If the backup was encrypted, enter the password you created when you set up the encrypted backup.

While restoring your data, keep your device connected to Wi-Fi and power until the primary setup progress bar completes.

If you previously had iCloud Photos toggled ON, your photos are stored in iCloud separately from device backups. They will begin re-syncing automatically once you sign into your Apple ID on the restored phone.

Highlight
By clicking "Agree" you allow cookies that improve your experience on our site, help us analyze site performance and usage. See Cookies policy.Agree