If you've forgotten your iPhone's passcode, don't worry, there are some ways to regain access to it. Here's how you can do it.
1. Using iCloud and Find My iPhone
If Find My iPhone is enabled, you can use iCloud to erase your device and reset it.
- Open any web browser and go to [iCloud.com](http://iCloud.com).
- Log in using your Apple ID.
- Tap **Find iPhone.
- Choose your iPhone from the device list.
- Tap **Erase iPhone to reset it.
It
will restart your iPhone without the passcode, but you will need to go
through the process once again with your Apple ID credentials to set it
up again.
2. Use iTunes or Finder
If you've ever synced the
device before then this method should work on both Mac and PC. If this
is not an option, using Recovery Mode will.
For macOS Catalina or later:
- Connect your iPhone to your Mac using a USB cable.
- Open Finder and select your iPhone.
- Click **Restore iPhone under the General tab.
For macOS Mojave or earlier/Windows:
- Connect your iPhone to your computer.
- Open iTunes and select your device.
- Click **Restore iPhone.
This will delete all data on the phone, including the passcode, so you can re-set up your phone.
3. Using Recovery Mode
If iCloud and iTunes don't work, Recovery Mode is pretty sure to work. Steps vary with the model of your iPhone:
iPhone X, 8, 8 Plus:
1. Press and immediately release the **Volume Up** button.
2. Press, then release the **Volume Down** button immediately.
3. Press and hold the **Side Button** until the recovery mode screen appears.
iPhone 7, 7 Plus:
1. Press and hold the **Volume Down** and **Sleep/Wake** buttons simultaneously.
2. Release when the recovery mode screen appears.
iPhone 6s and earlier:
1. Press and hold the **Home** and **Sleep/Wake** buttons together.
2. Let go when the recovery mode screen appears.
Once in Recovery Mode:
- Connect your iPhone to a computer.
-
Open iTunes or Finder. - Then, click **Restore** to reset your device.
Older iPhone Tips Older models are similar; you may simply need to have a
30-pin connector or Lightning-to-USB cable to hook up to the computer.
Conversely, boot your device into Recovery Mode using appropriate
combinations of the buttons with respect to your device hardware.
Things to Remember
- These methods erase all data on your device. Backups are essential to avoid losing information. After erasing your iPhone, you will need to use your Apple ID and password to activate it.
- If none of
the above options work, then contact Apple Support for further
assistance. These steps will restore your iPhone and start afresh.