How to change a WordPress password – No need for email address!

We all forget passwords every now and then; WordPress passwords are no different. There are various different methods of changing your WordPress password.

Let’s go through the easy and simple ones and if for some reason these are no longer viable (if the email address you used was invalid or no longer accessible) we’ll talk about how to change it through cPanel and MySQL.

Doing it yourself

So all of  a sudden you find yourself on the login page wondering what your username or password was. There’s only so much one can do but luckily WordPress allows some amazing methods of changing your password.

WordPress - Forgot password

Simply go to the login page for your website and click the “Lost your password?” button under the login box.

WordPress - Retrieve password

Fill in your username or the email address you used to sign up with.

WordPress - Choose new password

You should receive an email within a few seconds with instructions on how to change your password; simply select a new password and you’re done!

Get help from an admin!

As already discussed in our previous guide about “How to manage WordPress users“, admins have the power to change any users’ password.

WordPress - Add new user

Simply go to the dashboard, click the users button or the “All Users” button on the side menu that opens up.

WordPress user page

Hover over the user you want to edit and click “Edit”

WordPress - Change user password


Scroll down till you see the option to edit the user’s password. Give the new password to the user.

But what if YOU are the admin?

Well if you’re an admin and the following conditions are true, you’re going to have to go through a couple of complicated steps to change your password. These conditions are:

  1. You no longer remember your password.
  2. You don’t have access to the email address or you don’t remember it.
  3. You’re the super-admin on the website. There’s no user who can change your password.

If the answer’s yes to all of these then you’ll need access to your web server’s control panel, which you should have, considering you’re the admin. Simply go to your website’s control panel and look for cPanel, many hosting companies provide the standard cPanel to their users, do read our reviews on GoDaddy and Bluehost to see some of the other features these companies provide.

WordPress - phpMyAdmin database

After accessing the cPanel; look for phpMyAdmin to access your WordPress database. A typical WordPress database on MySQL looks something like this if you didn’t change any settings while installing.

WordPress - wp_users database table

Open the table “wp_users” assuming you did not change the table name during installation of the framework. The first thing you’ll notice is that the password is encrypted. It’s written in an MD5 Hash. Simply open an md5 Hash generator online, one can be found here.

WordPress - Password md5 generator

Type your password and copy the hash that’s generated underneath.

WordPress - phpMyAdmin edit password

Now go back to phpMyAdmin and click the edit button next to the row of the user you want to edit.

WordPress - phpMyAdmin change password

You’ll find yourself on this page, simply paste the key into the user_pass field and you’ve successfully changed your password to the corresponding text for that key.

Click the Go button and everything should be updated, you can also change the email address of the corresponding account from this page.

Changing your user_pass value to: 03bfc8d208d027f0160ea8d331fe6cae
Will change your password to: “My New Password” (without the quotation marks)

If you have knowledge of PHP and MySQL you should be able to edit the password without needing the phpMyAdmin at all. Making sure if your hosting service is providing you with phpMyAdmin or not is very important, do read some of our other reviews on JustHost and DreamHost to make sure you’re getting everything you require to manage your website. has 4,9/5 stars based upon 2513 For best hosting Reviews