Updated on Dec 6, 2022
It can be very frustrating if you have ever lost or forgotten your password to access the WordPress dashboard. WordPress offers several options for resetting or changing your WordPress password.
If you can't log in after two attempts, wait at least 15-30 minutes before trying again. Otherwise, you risk temporarily blocking access to your WordPress site.
To change your WordPress password directly from your WordPress dashboard, go through the following steps:
If you can’t access your WordPress dashboard, try the next methods.
If you have forgotten your WordPress admin password, you can reset it via email by going to the WordPress dashboard login page and following the steps below:
If you forget your WordPress password, you can change it directly in the database using phpMyAdmin. This method should only be used if you are familiar with working with databases in this manner. It is also recommended that you always backup your database in cPanel before making any direct database changes:
If you don't have access to your WordPress database, you can use FTP or the cPanel File Manager to reset your password. In this case, we'll use the File Manager:
wp_set_password(‘password’,’admin’);
In this example, we’re setting the password to password and updating it for the user admin; if your admin user has a different username, you’ll want to be sure to use that.
You’ll also want to make sure that you’re using a secure WordPress password. Now you can save changes, and your password should be as you chose it to be in the line above.
If none of the other options worked, you might want to try the Emergency Password Reset Script. It is a PHP script rather than a plugin.
Those are all the methods to reset your WordPress password. Congrats, you’ve done well!