Sometimes it is necessary to reset the login password-for example, if you have forgotten the login password and cannot use the password hint to remember it here is the process to reset Macbook Password . If you have associated your user account with an Apple ID, you can use your Apple ID to reset your login password. Choose Apple menu > Restart on your Mac or press the power button on your computer and then click Restart.
Click User Accounts, click the question mark in the password field, then click the arrow next to "Reset using Apple ID" Enter your Apple ID and password and click Next. Follow the instructions to reset your login password.