Forgetting your phone’s screen lock password, PIN, or pattern is a common problem. Many people panic because they think all their photos, chats, and files will be erased. In reality, the options depend on your phone brand, Android or iOS version, and whether you previously linked a Google or Apple account.
This guide covers the real, currently working methods for both Android and iPhone. Some methods allow you to keep your data. Others require a factory reset. We will clearly mention when data will be lost so you can decide carefully.
Important Things to Know Before You Start
Modern phones have become much more secure. The old method where you simply tapped “Forgot Pattern” and logged in with your Google account on the lock screen was removed many years ago on most Android devices. On iPhones, Apple has also strengthened security over time.
Always try the least destructive methods first. If nothing works, a factory reset is usually the last option.
Also read: WhatsApp to Introduce Channel Update Viewers Feature on Web Client (2025)
How to Reset Screen Lock on Android
Method 1: Use Previous Password (Samsung and Some Brands)
Some Samsung phones and a few other brands still offer a “previous password” recovery option.
- Enter the wrong PIN, pattern, or password several times (usually 5 or more).
- Look for a “Forgot PIN”, “Forgot Password”, or “Forgot Pattern” option.
- Select it and choose the option to verify with the previous lock.
- Enter the older password, PIN, or pattern if you remember it.
- Set a new screen lock.
This method works only if the phone still remembers your previous lock and the feature is enabled by the manufacturer.
Method 2: Google Find My Device
If your Android phone is connected to a Google account and has internet access, you can try this:
- Open a browser on another phone or computer.
- Go to google.com/android/find and sign in with the same Google account.
- Select your locked phone from the list.
- Choose the “Lock” option and set a temporary password.
- Unlock the phone using that temporary password, then change the screen lock from Settings.
If the phone is offline or the Google account is not signed in, this method will not work. In that case, the only remaining option is usually a factory reset.
Method 3: Samsung Find My Mobile
Samsung users have an extra advantage.
- Go to findmymobile.samsung.com on another device.
- Sign in with your Samsung account.
- Select your phone and choose the Unlock option.
- Follow the on-screen instructions.
This can remove the screen lock without wiping data if the phone is online and linked to your Samsung account.
Method 4: Factory Reset via Recovery Mode (Data Will Be Lost)
If none of the above methods work, you will need to perform a factory reset.
- Force restart your phone by holding the Power and Volume Down buttons (the combination may differ by brand).
- When the phone restarts, quickly press and hold Power + Volume Up (or the combination for your brand) to enter Recovery Mode.
- Use the volume buttons to highlight “Wipe data/factory reset” and press the Power button to select it.
- Confirm the reset.
- After the process finishes, select “Reboot system now”.
Your phone will start as new. You will need to set it up again and sign in with your Google account. Any data that was not backed up will be gone.
How to Reset Screen Lock on iPhone
Apple provides clearer recovery options on recent iOS versions.
Method 1: Use Previous Passcode (Within 72 Hours)
On iOS 17 and later, Apple allows you to use the previous passcode for a limited time after changing it.
- Enter the wrong passcode several times until the “iPhone Unavailable” or “Security Lockout” screen appears.
- Tap “Forgot Passcode?”.
- Select “Enter Previous Passcode” if the option is available.
- Enter the old passcode and set a new one.
This works only if you changed the passcode recently (within about 72 hours).
Method 2: Reset from the Lock Screen
- Keep entering the wrong passcode until the lockout screen appears.
- Tap “Forgot Passcode?”.
- Choose “Start iPhone Reset” or “Erase iPhone”.
- Enter your Apple ID password to confirm.
- The phone will erase all content and settings.
- After restart, set up the iPhone as new or restore from a backup.
Method 3: Recovery Mode with Computer
If the on-screen options do not appear or the phone is offline:
- Connect the iPhone to a computer with a USB cable.
- Put the iPhone into Recovery Mode (the exact button combination depends on the model).
- Open Finder (Mac) or Apple Devices/iTunes (Windows).
- Choose the option to Restore the iPhone.
- Wait for the process to finish. This will erase the device.
You can then restore from an iCloud or computer backup if you have one.
Method 4: Find My iPhone (Remote Erase)
- Go to iCloud.com or use the Find My app on another Apple device.
- Sign in with the same Apple ID.
- Select your locked iPhone.
- Choose “Erase iPhone”.
- After the erase is complete, you can set up the phone again.
Tips to Avoid This Problem in the Future
- Write down your screen lock in a secure place or use a password manager.
- Enable Smart Lock or Face Unlock / Fingerprint as secondary options.
- Keep automatic backups turned on (Google Backup on Android, iCloud on iPhone).
- Add a recovery email and phone number to your Google or Apple account.
- On Android, consider enabling “Find My Device”. On iPhone, keep “Find My iPhone” turned on.
What Not to Do
Avoid random third-party “unlock” apps or websites that promise to remove the lock without data loss. Many of these are scams or can put your personal information at risk. Stick to official methods provided by Google, Apple, Samsung, or other manufacturers.
Final Advice
If your phone contains important data and you have no recent backup, try every non-destructive method first. Only move to a factory reset when you are sure there is no other way. After resetting, take a few minutes to set up proper backups so you never face the same stress again.
Forgetting a screen lock is frustrating, but in most cases there is a clear path forward. Follow the steps carefully according to your phone type, and you should be able to regain access.
Also read: iQOO Neo 10R: Will it be the best gaming phone under ₹30,000?






















