If you forget your Apple ID password
Your Apple ID is your username for the App Store, iTunes Store, Apple Books, iCloud and other Apple services. It’s also used to manage your Apple ID settings on your Mac.
If you forget your Apple ID password, you can reset it using Apple ID settings on your Mac.
On your Mac, choose Apple menu > System Settings, then click “Sign in with your Apple ID” at the top of the sidebar.
Click Forgot Password, enter your Apple ID (or a Reachable At email address or phone number that you added in Apple ID settings), click Continue, then follow the on-screen instructions.
For more information, see the Apple Support articles If you forgot your Apple ID email address or phone number or If you forgot your Apple ID password.
You can also go to the Apple ID account website to help you find your Apple ID.
Go to the Apple ID account website, click Sign In, click “Forgot Apple ID or password?” then follow the on-screen instructions.