Question: how to change your iphone passcode when you forgot it?
Answer: If you can't remember your passcode, you'll need to erase your iPhone, which deletes your data and settings, including the passcode. If you backed up your iPhone, you can restore your data and settings after restoring your iPhone.