Reset your WordPress admin password
Get back into your WordPress dashboard. Use the "Lost your password?" link, or set a new password in phpMyAdmin when the email does not arrive.
Last updated 2 min read
Locked out of your WordPress dashboard? Try the email link first. If the email never arrives, you can set a new password through phpMyAdmin in cPanel.
Use the "Lost your password?" link
Open your login page, normally yourdomain.com/wp-login.php.
Press Lost your password? below the form.
Enter your WordPress username or email address and press Get New Password.
Open the email from your site and follow the link to choose a new password.
Check the spam folder too. The email goes to the address saved in your WordPress user profile, which may be an old one.
Change the password in phpMyAdmin
Use this only when the email does not arrive. You change one field in one row; leave everything else as it is.
Log in to cPanel and open phpMyAdmin.
On the left, click the database of your WordPress site. Not sure which one? In File Manager, select
wp-config.phpin the WordPress folder and press View: the line withDB_NAMEnames the database, and the line with$table_prefixshows how the table names begin (normallywp_).Click the table whose name ends in
users, for examplewp_users.Find the row with your username in the
user_logincolumn and press Edit.In the
user_passrow, choose MD5 in the Function column and type your new password in the Value field, replacing the long text that is there.Press Go at the bottom.
Sign in on your login page with the new password.
Choosing MD5 matters: without it WordPress does not accept the password. After you sign in, WordPress stores the password again in its own, stronger format.
Afterwards
Open Users → Profile in WordPress and check that the email address is one you can read, so the email link works next time.
Use a long password that you use nowhere else.
If you cannot sign in although you never changed anything, someone else may have changed the password. Once you are back in, look under Users for accounts you do not know.
If it does not work
Several WordPress sites on one hosting account each have a database of their own. Make sure you changed the right one.
A security plugin may block the login page after many wrong tries. Wait a while, then try again.
Still locked out? Open a ticket in Support, department Technical, category WordPress. Never send a password in a ticket.