How do I reset my WordPress user password?

You might have forgotten your WordPress password, or you might want to change it for security reasons; either way, it’s common. There are a number of ways to reset your WordPress user password. The easiest way is from the WordPress login screen, but if you don’t have access to your account, you can also reset it from the dashboard, database or using hosting tools.

Method 1: Reset WordPress Password from Login Screen

The quickest way to reset your password is from the WordPress login page.

How to change your password

Click the link to your WordPress login page:

https://yourdomain.com/wp-login.php

Or

https://yourdomain.com/wp-admin

Click the Lost your password? link below the login form.

Type:

Click Here for New password

We will send you a link to reset your password to the email address you used when registering.

Please open the email and follow the link to reset.

Enter your new password and then click Save Changes.

You can now Sign in with your new password.

Method 2. How to Reset Your WordPress Password in the Admin Area

If you are already logged in to WordPress and want to change your password:

Methods:

Log in to your WordPress Dashboard.

See Also:

Users > Profile

Scroll to “Account Management.”

Click on Create New Password

Enter your new password.

Edit Profile

We’ll reset your password immediately.

Method 3: Resetting Your Password Through phpMyAdmin

If you are unable to access your email account or WordPress login page, you can manually reset your password in the database with the help of phpMyAdmin.

Significant

Always back up your database before making any changes to it.

Experiments

Select your WordPress database.

Open table name:

wp_users

Note: Your tables may not be the wp_ ones.

Locate your WordPress username and click Edit.

fieldname:

password_user

Drop current value.

Choose a new password.

From the Function drop down menu:

MD5 hashes

Click Go or Save.

Your WordPress password has been reset.

Method 4. Reset Password with WP-CLI

If your host has WP-CLI installed, you can reset your password via SSH access.

Command Example

wp user-update admin --user_pass="NewStrongPassword"

Note: Change:

This is fast and useful to developers/power users.

Generate Strong Password

A good password should include:

For example,

@x T7#vL9!pQ2

Do not use:

Debugging Password Reset Mail

If you don't get the password reset emails:

Make your email delivery more reliable with SMTP plugins like WP Mail SMTP.

Conclusions

Changing your WordPress password should normally be fast and easy. For most users, the easiest way is the built-in password reset. In case you lose access to your email or admin dashboard, you can also recover through phpMyAdmin and WP-CLI as alternate options.

One of the best things you can do for your WordPress website security and to prevent unauthorized users from accessing your account is to use a strong and unique password.