If you’ve forgotten your WordPress admin password, you can visit www.yourdomain.com/wp-login.php and click on “Lost your password?”.

If you no longer have access to your admin account’s email address, you won’t be able to receive the password reset email.

In this case, you’ll need access to your website hosting control panel to edit the WordPress database, and edit your admin password.

Your web hosting control panel is normally running either cPanel or Plesk. To login to these:

  • For cPanel, visit www.yourdomain.com/cpanel
  • For Plesk, visit www.yourdomain.com:8443 or www.yourdomain.com:8880
  • (replace www.yourdomain.com with your own domain name above)

Once logged into your web hosting control panel, you’ll need to access phpMyAdmin, which is the database interface software:

  • For cPanel, enter phpMyAdmin into the search field
  • For Plesk, click on ‘Domains‘.  This will display a list of all of the domains currently on the server.
    • Find the domain being worked on and click on it.  The section that will load is used to make setting and configuration changes specifically for the domain in question.
    • Within this domain-level section go ahead and click on ‘Databases’. This will display a list of all of the databases currently associated with the domain being worked on.
    • Within this section up toward the top there is a link for ‘Webadmin’. Clicking on this link will open phpMyAdmin for the database being workd on.
    • It is important to note that the Webadmin link will open up a pop-up window for phpMyAdmin.

Once phpMyAdmin has loaded, select your database on the left, select your wp_users database table (your table may have a different prefix to wp_), click on Browse at top, find your username in the wp_users table, and click Edit on the left.

Find the user_pass column, select MD5 in the function column, and then type in your password in the value column:

how to reset your WordPress password using phpMyAdmin

Click Save.

Now you should be able to login to your WordPress website with your new password.