Change/Reset WordPress Password [Step By Step Guide]

Change Or Reset WordPress Password

This is a step by step guide to change or reset the password of your WordPress Site. Guide for both (Self-Hosted) &

Self-Hosted WordPress ( is empowering more than 35% of the websites that are currently live on the Internet, and in counting, this number is in millions. But I wonder, most of the people using WordPress actually don’t know how they can reset or change their dashboard or admin panel password. So, I’ve written this tutorial for all those people who want to change their password for some reason now.

When people say about WordPress, then they either might be referencing to the self-hosted WordPress, which is simply a software that requires a web hosting service to run or the hosting blog service. Guides for changing the password for both of the WordPress platforms is provided here.

Steps To Change Password For Self-Hosted WordPress

There are two methods for changing the password of a self-hosted WordPress website or blog.

Method 1. Reset Password Via Email

The steps to reset the password of your WordPress site via your email are given below.

  1. Go to the WordPress Dashboard’s Login page.

WordPress Dashboard Login Page

Did you know that there are several ways to open the WordPress Login page? Check out here.

  1. Under the Login Box, you’ll find a link labeled as Lost your password?. Click on this link. Login Page Lost Your Password Link

  1. Enter the email address of the registered user for which you want to reset the password and click on the Get New Password button.

Self Hosted WordPress Password Reset Via Email

  1. You’ll now receive the link in your email to change the password. Click on the confirmation link provided in the email.

Password Reset Link

  1. After clicking on the link, you’ll be redirected to the page where you’ve to choose a new password for the mentioned username. A new password will be there in the field.

Enter New Password Field

  1. Enter the desired new password and click on the Reset Password button. You’ll get the reset confirmation immediately, and now you’ll be able to login to your WordPress dashboard using the new password.

Password Reset Successful

Method 2. Change Password from Database

There are chances that the first method may not work for you. One of the most common reasons behind it is that your SMTP settings are not properly configured, and your email sending system in WordPress could not work. Anyways, whatsoever may be the reason, there is one way to change the password from your database.

The steps to change the WordPress password from MySQL database using the phpMyAdmin interface are given below.

  1. Login to your phpMyAdmin interface.

Most cPanel based web hosting services provide quick and easy access to the phpMyAdmin interface to managing the MySQL Database. The screenshot for finding the phpMyAdmin option in cPanel is given below.

PhpMyAdmin In CPanel

Sometimes, you also need not enter your username or password for the database manually, and cPanel automatically logs into the database interface. But if required, a login page will open as shown in the screenshot given below in which you’ve to enter the username & password for the same user, which is being used by your WordPress website.

PhpMyAdmin Login Page

You can find this username & password in the wp-config.php file located in the root folder of your WordPress installation directory. Here’s a tutorial for the same by You can use the cPanel built-in file Manager of any FTP client to access the wp-config.php file. We had recently published a list of some of the best FTP client software for different operating systems, which you can check out at the following link.

  1. Once successfully logged into your phpMyAdmin interface, go to the wp_users table of your database. The name of this table may vary depending on the custom database prefixes, but it must have the word users in the ending.

Wp Users Table WordPress Database

  1. This table contains all of the users of the WordPress website and their passwords. The passwords are not stored as plain text but in the MD5 hash format. Click on the Edit link corresponding to the user row for which you want to change the password.

Edit User Row In PhpMyAdmin

  1. The row will now be available for editing. Here you can change the password in four simple steps. In the user_pass field, choose the MD5 option from the selection list for the Function column and then enter the new password in the corresponding field for the Value column.

Change Password Steps

  1. Click on the Go button to make the changes, and this way, your password will be changed to the new password.

You can also enter your new password in the Value field directly in the MD5 hash format, in that case, do not choose an option from the Function column list. Also, you can use our MD5 Generator tool to generate MD5 hashes for your plain text quickly.

Steps To Change Password For Hosted WordPress

For, you can change the password using the only single way, i.e., using the email reset method, which is similar to the first-mentioned method as for self-hosted WordPress.

  1. Go to the login page and click on the Lost Your Password? Link. Password Reset

  1. The Lost Password page will open. Enter your WordPress account username or email address and then click on the Get New password button. Lost Password Recovery

  1. Now, you will receive a password reset code either on your registered email address or if you might have added and verified your phone number with your account, then most probably, you’ll receive the code on your mobile number in an SMS. In this case, I received the code by SMS, and I also received the confirmation link via email.

Enter the received SMS code in the provided field or simply click on the Reset Password button or confirmation link in the received email and proceed to the next step.

SMS & Email Confirmation

  1. Now, a new page will open, and here you have to enter your new password in a field. There’s also a button provided to generate a password automatically. Enter your new password and click on the Reset Password button.

Choose New Password

  1. This way, you’ll be able to reset your account password successfully, and now you should be able to log into your account using the new password.

Login New Password

You’d also like to read the following linked articles.

Subscribe To WTMatter!

Receive updates of our latest articles via email. Enter your email address below to get started.

Leave a Reply

Your email address will not be published. Required fields are marked *