Forgot the Passcode of your iPhone? 5 Easy Steps to Reset Passcode
If you have forgotten the passcode of your iPhone, you can reset it using the following steps: Connect your iPhone to your computer and open iTunes (or Finder on macOS Big Sur or later). Put your iPhone into recovery mode: If you have an iPhone 8 or later: Press and quickly release the "Volume Up" button, then press and quickly release the "Volume Down" button. Finally, press and hold the "Side" button until you see the recovery mode screen. If you have an iPhone 7 or 7 Plus: Press and hold the "Side" and "Volume Down" buttons until you see the recovery mode screen. If you have an iPhone 6s or earlier: Press and hold the "Home" and "Top" (or "Side") buttons until you see the recovery mode screen. When you see the "Connect to iTunes" or "Finder" screen, release the buttons. In iTunes (or Finder), you will see a message saying that your iPhone is in recovery mode and needs to be restored