Change your WordPress password in the database

Normally, you can reset your WordPress password in WP Admin or request a new one via email. However, if you can't access your email or WP Admin, you can always change your password directly in the database.

Don't have a website yet? With WordPress, you can easily and quickly build the website of your dreams.

Add to cart


Step 1 - Access your database in PHPMyAdmin

Read our guide on how to access your database if you need help.


Step 2 - Open the users table

  1. Click the users table in the menu to the left. The table can have different prefixes, in this example it is www_.
  2. Locate the user for which you want to change the password and click Edit.

Screenshot of the www_users table in phpMyAdmin.


Step 3 - Enter new password

  1. Next to user_pass choose MD5 from the drop down menu under Function.
  2. Under Value replace the current encrypted password with the new password. You can type normal text, it will be encrypted after saving.
  3. Click Go to save changes.

Screenshot of the www_users table in phpMyAdmin.


Step 4 - That's it!

Your new password has been saved and encrypted. It can now be used to login to WordPress.

WordPress password changed


Related articles:

Was this article helpful?

Can’t find what you are looking for?

Start a chat

It's the quickest way to get in touch, every day of the year.

Give us a call

Available on weekdays from 10am to 2pm (UTC).