We get this question asked a lot here at Kinsta, and that is exactly how to reset WordPress admin password. Typically this occurs when someone has forgotten their password, they don’t have access to their email for a standard password reset, or their WordPress site isn’t sending emails correctly. Today we will walk you through a few quick and easy steps on how to reset WordPress admin password for all the different types of scenarios you might encounter.reset wordpress admin password

How to Reset WordPress Admin Password

1. Reset WordPress Admin Password (with access to your email)

The first way to reset WordPress admin password is via the standard login page. This assumes you have access to your email.

Step 1

Browse to your WordPress login page, typically this is located at /wp-admin, such as: https://domain.com/wp-admin. Then click on the “Lost your password?” link at the bottom.

lost password wordpress admin

Lost your password? link

Step 2

On the next screen, enter your username or email address of your WordPress administrator account. Click on “Get New Password” and you will receive a link to create a new password via email.

wordpress get new password

Get new password

2. Reset WordPress Admin Password (with no access to email)

The second way to reset WordPress admin password is directly in the database via phpMyAdmin. If you don’t have access to your email or your WordPress site isn’t sending emails correctly, this might be the only solution you have. You might also have to use this method if you are on a local development install. If you are a Kinsta customer you can always reach out to us for assistance if you don’t feel comfortable doing this.

Important! Editing and manipulating tables directly from phpMyAdmin could break your site if not done correctly. If you are not comfortable doing this, please check with a developer first.

Step 1

You’ll first want to login to phpMyAdmin. If you are a Kinsta customer you can access phpMyAdmin directly from your MyKinsta dashboard. You can find the login credentials there as well. If your web host is using cPanel, the link to phpMyAdmin is typically found under the database section.

kinsta phpmyadmin

phpMyAdmin login

Step 2

On the left-hand side, click on your database. Then scroll down and click on the wp_users table. wp_users is the standard table used on fresh WordPress installations. However, some sites might have a prefix added for security purposes. In this case, it might be named slightly different, such as wp56_users.

select database

wp_users table

Step 3

On the row next to your admin username, click on “Edit.” If you have multiple users on your WordPress site, double check to ensure you are editing the right one.

edit wordpress user database

edit user_login

Step 4

In the column user_pass, you can enter a new value for your password. Ensure that you select MD5 from the function column. Then click on “Go” at the bottom.

new md5 password phpmyadmin

new user_pass value

And that’s it! You have now reset your WordPress admin password. You can return to your WordPress login screen and use your updated admin credentials to access your site.

Another way to reset your password via phpMyAdmin is using a SQL statement. Simply run the following from the SQL tab. Make sure to update the new_password and admin_username values with your own.

UPDATE `wp_users` SET `user_pass` = MD5( 'new_password' ) WHERE `wp_users`.`user_login` = "admin_username";

If you enjoyed this tutorial, then you'll love our support. All Kinsta's hosting plans include 24/7 support from our veteran WordPress developers and engineers. Chat with the same team that backs our Fortune 500 clients. Check out our plans