drfone logo
Dr.Fone App

Manage your phone, unlock screens, recover data, transfer files, and more.

How Can I Unlock My iPhone After Forgetting my PIN Code?


Jul 12, 2024 • Filed to: Remove Screen Lock • Proven solutions

Unlocking a phone using a passcode is a great way to keep your data safe. To secure your device, you can set a 4-digit, 6-digit, fingerprint, or Face ID. However, what will happen if you forgot iPhone PIN? You will not be able to unlock and use the services of your device.

Furthermore, you can't manage any vital task if you have scheduled it. In such cases, you need to unlock the lock through an efficient procedure. This article elaborates on such practical techniques for iPhone PIN code removal. We will also introduce the top tool available in the market.

All the solutions mentioned here are highly secure and work almost every time. So, if you are worried about the security of your device, we suggest you use Dr.Fone-Screen Unlock. It is the best tool in case of a forgotten iPhone PIN.

Part 1: 4 Simple Ways to Unlock iPhone without Pin

1. "Erase iPhone" option

The steps below work if your ‌iPhone‌ or ‌iPad‌ runs iOS 15.2 or later and is connected to the internet. Here's what you need to do when you forgot iPhone PIN:

  • Please enter your password a few times from your device's Lock Screen until it requests that you attempt another time. Then repeat this activity until you see the Erase ‌iPhone‌ choice in the corner of the screen.
  • Tap Erase iPhone, then click again to confirm your activity.

erase iphone

  • Enter your ‌Apple account details to sign out of your Apple ID on the phone.
  • Tap Erase iPhone back to erase all your user data and settings for all time.
  • At the point when the iOS device restarts, adhere to the on-screen directions. Set your phone once more, and restore your data and settings from a backup. Now set a new password for your device.

Instructions to Restore a Locked iPhone Running iOS 15.1 or Prior

  • To begin with, put your ‌iPhone‌ into DFU recovery mode.
  • Then, connect it to a PC or Macintosh through a Lightning link.
  • Select your ‌iPhone‌ in the Finder sidebar on Mac or iTunes on the PC.
  • Pick Restore when you see the choice to Restore. Let the download finish if the download takes over 15 minutes and your device leaves the recovery mode screen. Then, at that point, turn off your ‌iPhone‌ and start once more.

click restore

  • Disconnect your ‌iPhone‌, then, at that point, turn it on and set it up. That's all you need to do.

2. Use Find My iPhone in iCloud

Apple allows clients to erase iPhone data to safeguard it from others remotely. However, your lock screen can still protect your data if you don't erase the iPhone. No one can unlock the screen unless they enter the correct password. After too many wrong password attempts, your iPhone will be locked. So no one can then touch your user data.

If you have enabled the "Find My" option before forgotten iPhone PIN, there is a chance for you to remove the lock. That is to utilize iCloud.

To unlock iPhone through iCloud:

Step 1. Visit the iCloud.com web page and log in with your Apple ID and passcode.

Step 2. Click the "Find iPhone" option from the different choices available.

Step 3. Click "All Devices" and pick the device you need to unlock.

Step 4. Click the "Erase iPhone" button. Subsequently, set up the device and set another lock screen PIN. With iCloud, you can unlock your iDevice without even touching your device.

icloud unlock

3. Unlock it with iTunes

Suppose you use iTunes to restore the iPhone in recovery mode; it will install the latest iOS to your device. Doing so will erase all user data from the device, including the lock screen. So, this is also an excellent way to unlock your iPhone. However, you must keep a backup of your important files before doing so.

Utilizing iTunes will wipe out the iPhone. You can restore the data from there if you have a previous backup. If you have nothing, you will lose every data on the iPhone.

Additionally, ensure that you keep your iDevices' Apple ID details safe. Else, you will not have the option to use the iDevice again. Using iTunes will erase the screen's password but not the firmware. Considering that, you must keep the information in mind to set up and utilize the device.

To sidestep iPhone password with iTunes:

Step 1. Go to Recovery mode

On iPhone 8/8 Or more and Above: Hold the power/side button and press any of the volume buttons until a slider appears. Move the slider to turn off the device. Next, press and hold the power button and connect your device to the PC. Hold the button until the device shows the recovery mode screen.

On iPhone 7/7 Or Below: Press and hold the power button until you see the power off slider. Next, move the slider to turn off the iPhone. Then, press the Volume (-) button and connect the device to the PC. Continue to hold the button until you see the recovery mode screen.

Step 2. Restore your iPhone.

After you connect your iPhone to the PC, you will see a popup window in iTunes. It will warn about an issue with the "Your iPhone name" and ask you to restore it. In that window, select "Restore" to erase the iPhone. If iTunes doesn't run naturally, open iTunes by double tapping it.

Step 3. Set up iPhone.

Keep waiting until the restoration completes. Then, a short time later, go to your iPhone and follow the on-screen directions. That will allow you to set up and utilize your device.

itunes unlock

4. Dr.Fone-Screen Unlock

safe Downloadsafe & secure

What to do if you forgot iPhone PIN code? As a reference, you have to erase your device to remove the lock. Aside from iTunes, you can use an outsider iPhone unlocker like Dr.Fone-Screen Unlock to unlock your device without a code.

With such software, you don't have to master some professional skills. Instead, stick to the on-screen directions in Wondershare Dr.Fone-Screen Unlock. Then, you can reset your locked device without any problem. Dr.Fone will eliminate it for you, whether it's a four-digit code, six-digit code, Contact ID, or Face ID. Here's how:

Step 1. Get your Device Connected

Install and open the program on a computer, i.e., Mac or Windows. Then, tap the "Screen Unlock" option.

select screen unlock

Get your locked iPhone connected to the system utilizing a lightning USB connector. Following these steps, click the "Unlock iOS Screen" feature on the program.

unlock ios screen

Step 2. Boot the Recovery/DFU Mode on your Device

To unlock iPhone, you need to boot it in Recovery/DFU mode by following the guidelines on your screen. Therefore, the Recovery mode is a better choice for iPhone unlock. Yet, if you face problems while going for the Recovery mode, you may enact the DFU mode.

enter recovery mode

Step 3. Confirm Your Phone Model

After opening the recovery mode, you can see your Device Model and iOS version. You must select the correct data from the dropdown menu if the information is incorrect. After doing so, click download to download the suitable firmware package for your phone model.

select phone model

Step 4. Remove the Screen Lock Passcode

After getting the required firmware, click the "Unlock Now" button to begin the process.

unlock now

Simply in almost no time, your iPhone will be unlocked effectively. However, kindly note this unlocking system will likewise wipe all the files and settings on your device. Therefore, you must have a backup of your essential documents beforehand.

safe Downloadsafe & secure

Part 2: FAQs

How can I change my PIN on my iPhone?

  • Open your Settings app and peer down until you see the passcode menu. On iPhones with a home button, this will be named "Touch ID and Passcode." On new ones, it is "Face ID and Passcode."

passcode menu

  • Enter your existing code or create a new one.
  • Toggle on the "Turn Passcode Off" option.
  • Click again to agree, and you're good to go.

turn on off passcode

What to do after unlocking my iPhone?

There are certain things you must do after unlocking your iDevice. First, you must immediately set a new PIN for your iDevice. Apart from that, restore your previous data if you have a backup. Having done so, you are good to go.

Can I access my locked iPhone without data loss?

No, you cannot unlock a locked iDevice without losing your data. Apple has made some outstanding security features in their phones. Therefore, you must erase all its content and settings if you need to get your hands on an unlocked phone again.

The Bottom Line

Due to one reason or another, you may have forgotten iPhone PIN. However, it is not that big a deal. In this article, we have proposed some of the best ways you can employ to erase this issue. However, we strongly recommend you use Dr.Fone for a quick solution.

screen unlock

James Davis

staff Editor

iPhone Unlock

Access Locked iPhone
iPhone Lock Screen
Remove iCloud Lock
Unlock Apple ID
Remove SIM Lock
Unlock iPhone MDM
Unlock Screen Time Passcode
Unlock Apple Watch
Your Complete Mobile Solution
  • ● Manage/transfer/recover data
  • ● Unlock screen/activate/FRP lock
  • ● Fix most iOS and Android issues
Unlock Now Unlock Now Unlock Now
Home > How-to > Remove Screen Lock > How Can I Unlock My iPhone After Forgetting my PIN Code?