If you’ve forgotten your iCloud password you can use Apple’s My Apple ID service to recover it. Follow these steps:
Open Safari and enter appleid.apple.com.
Click Forgot ID or password?
Enter your Apple ID and click Next.
There are three ways you can confirm your identity to Apple. Although you will most likely only see two: Email Authentication and Answer Security Questions.
It’s easiest to start with Email Authentication. Select it and click Next. Apple will then send an email to the backup account it has on file. It doesn’t tell you which email account this is (it won’t be the same email address as you use to sign in). So you’ll have to go check your mail accounts and see if the email has come through.
You will get an email from Apple with the message How To Reset Your Apple ID Password. Click the Reset Now link in the email and follow the instructions.
Apple normally sends the How to Reset Your Apple ID Password email quickly, but you should give it an hour to come through in case there is a problem. If you haven’t received the email by then, it may have been sent to an email address you are no longer using. Click Return To My Apple ID.
Click Reset My Password and enter your Apple ID again and click Next. This time choose Answer Security Questions and click Next.
Enter your Birth Date using the Month, Day and Year options.
Enter the answers to the two security questions. These vary but are based on information you entered when you set up the account, such as your dream job and the name of the city in which your parents met. Click Next.
Fill out the New Password and Confirm Password fields. You should use the same password in each field.
Click Reset passwor