How to Change iPhone Screen Passcode if Forgotten | Step-by-Step Guide
Category: Unlock iPhone
4 mins read
Your iPhone is protected by various passcodes to keep your data secure, but sometimes you may forget them — whether it’s the lock screen passcode or your Apple ID password. This guide is designed to help you easily change the passcode on your iPhone if forgotten and learn how to unlock your iPhone when you forgot the password.
In this article:
- Part 1. How to Change iPhone Screen Password if Forgotten
- 1. Reset Forgotten iPhone Passcode by iMyFone LockWiper
- 2. Change iPhone Passcode from iCloud
- 3. Use Recovery Mode to Change iPhone Passcode
- 4. Remove and Reset iPhone Passcode via iTunes
- Part 2. How to Change Passcode on iPhone if Remember
- Part 3. How to Change Apple ID Password If Forgotten
- 1. Recover Apple ID Password with Two-Factor Authentication
- 2. Reset Apple ID Password by Two-step Verification
- Bonus Tip: Always Back Up Your iPhone to Avoid Data Loss
Part 1. How to Change iPhone Screen Password if Forgotten
If you’ve ever wondered how to unlock your iPhone when you forgot the password, this guide will show you all possible methods. Keep reading to learn!
1 Change Screen Password by iMyFone LockWiper
Many users search for ways to change iPhone passcode from iCloud, but iCloud only allows you to erase the device remotely, not directly change the screen passcode. If you want a faster and simpler solution, iMyFone LockWiper is your best choice to reset your iPhone screen password without iCloud or iTunes.

- Allows you to change passcode on iPhone even if you forgot it.
- Easily remove the passcode from a locked or disabled iPhone, even with a damaged screen.
- Support all sorts of screen locks including 4-digit/6-digit passcode, Touch ID, Face ID, etc.
- Unlock Apple ID / iCloud account devoid of password for iPhone, iPad, and iPod touch.
- Works with all iOS versions and iPhone models, including the iOS 26 and iPhone 17.
How to reset your iphone when you forgot your password with LockWiper
Step 1: Open LockWiper on your PC, click on the Unlock Screen Passcode mode.
Click Start to commence the operation and connect your iPhone to your computer with a reliable USB.
Step 2: Your device information will be loaded up automatically. If something is inaccurate, you can edit it manually. If it is correct, click Download.
Step 3: Click Unlock to commence the screen unlocking. Make sure your phone stays connected to your computer.
In a few minutes, the screen passcode would be removed from your iPhone.
Afterward, you can set a new passcode on your device.
The unlocking will update your iPhone to the latest iOS version.
2 Change iPhone Passcode from iCloud
Can you really change your iPhone passcode from iCloud? Technically, iCloud doesn’t let you directly modify the passcode. Instead, it allows you to erase the device remotely and then set up a new one. Here’s how it works:
Step 1: On your computer, visit iCloud.com/find and log in with your Apple ID credentials.
Step 2: Click on All Devices located at the top of the page.
Step 3: Select the relevant device that you wish to work on.
Step 4: Click Erase iPhone and confirm the operation.
After the process is complete, now you change iPhone password from iCloud and you will reboot as a brand new device. Could you set it up with a new passcode?
At the point in which you should restore from a backup, click Restore from iCloud Backup, and then choose the most recent backup.
3 Changing Passcode on iPhone Using Recovery Mode
Recovery mode is essential for fixing iOS software issues, and it can also be used in the context of changing forgotten iPhone passcodes.
Step 1: Attach your iPhone to a PC or Mac via a reliable lightning cable and run iTunes.
Step 2: Put your device into recovery mode following the instructions:
- On an iPhone X/iPhone 8 or later: Press and quickly release the Volume Up button. Press and quickly release the Volume Down button. Then, press and hold the Side button.
- On an iPhone 7/7 Plus: Press and hold both the Side and Volume Down buttons simultaneously.
- On an iPhone 6s and earlier: Press and hold both the Home and the Top (or Side) buttons at the same time.
Step 3: Once the recovery mode screen appears, release the held buttons.
Step 4: A notification will show up on iTunes. Choose the Restore option.
Your device will restart as a new one, you can set a new passcode on it to guard its security.
All data stored in your iPhone would be wiped out in this process, make sure you’ve backed up your important data previously, then you can restore them from iTunes or iCloud.
4 Change Forgotten Passcode with iTunes
If you have synced your phone with iTunes in the past and you have Find My turned on, then you have an extra option of changing your iPhone passcode via iTunes. Here is how to do this:
Step 1: Connect your iPhone to the computer you synced it. Keep your iPhone connected throughout this operation.
If your iPhone or computer asks for a passcode that you cannot remember, make sure you are using a computer you have previously synced with. If you are, you can put your iPhone into Recovery Mode to bypass the passcode.
Step 2: On your computer screen, located on the top left-hand side should be the icon of your device. Click this icon to bring up your device information.
Step 3: On the Summary tab, click Restore iPhone.
After the restore operation, your phone will be entirely blank. You can then set up the device and restore your data when you are prompted.
Part 2. How to Change Passcode on iPhone When You Remember It
If you remember your passcode, then changing it should be a breeze. Below are the simple steps to follow if you want to change a passcode that you remember.
Step 1: Go to passcode Settings.
- On iPhone X and later: Go to Settings > Face ID & Passcode.
- On earlier iPhone models: Go to Settings > Touch ID & Passcode.
- On devices without Touch ID: Go to Settings > Passcode.
Step 2: Input your current passcode to access settings.
Step 3: Scroll down to see Change Passcode and tap on it.
Step 4: Enter the old passcode to be able to change a new one.
Step 5: Enter a new passcode and then confirm it to complete the process.
Part 3. How to Change Apple ID Password If Forgotten
If it is the Apple ID password on your iPhone that you have forgotten, then there are three solutions for this situation as well, so read on.
1 Recover Apple ID Password with Two-Factor Authentication
If you remember the lock screen password and you are logged into iCloud at the same time, then you can follow the steps below:
Step 1: Open Settings and click on [Your Name].
Step 2: Click Change password and follow the steps on the screen.
If you are not logged into iCloud:
Step 1: Open Settings and sign in to your iPhone.
Step 2: Tap Don't have an Apple ID or forgot it.
2 Reset Apple ID Password by Two-step Verification
If you have enabled two-step verification on your device, then this method is also suitable for you.
Step 1: Visit appleid.app.com and select Forgot Apple ID or Password.
Step 2: Enter your account information, select Reset Password, click Continue.
Step 3: Provide the recovery key provided when enabling two-step verification, select a trusted device to receive the verification code.
After that you can create a new Apple ID password.
Bonus Tip: Always Back Up Your iPhone to Avoid Data Loss
It’s great that you now know how to change passcode on iPhone if forgotten. Now, equally as important are some things you should bear in mind about preventing this incident, minimizing data loss, and securing your phone.
Always Backup Your Device:
Back up your iPhone from time to time, so that if you ever have to wipe your phone, you will have a recent backup; hence, you will not lose much data if at all.
Always Update iOS:
Software updates are necessary for many reasons - fixing a bug, implementing additional features, improving efficiency, and so forth. Always try to use the latest iOS that is available for your device.
Always Use an Easy-to-Remember, b Passcode:
Your passcode should be complex. There are many useful guidelines for creating a b passcode, but ensure that this passcode is hard to forget.
Conclusion
Wondering how to change the passcode on your iPhone if forgotten? Among all the methods listed above, iMyFone LockWiper is highly recommended, as it makes resetting your iPhone passcode as easy as 1-2-3.
In addition, if you’re looking for a solution on how to unlock your iPhone when you forgot the password, LockWiper can help you not only bypass the screen passcode but also unlock your Apple ID and switch to another account. Download it now to regain full access to your iPhone and enjoy all its features.