How To Reset Your WordPress Password

Learn how to retrieve a lost, misplaced or forgotten password or username in order to regain access to your website or blog …

WordPress TutorialHave you lost your WordPress password or can’t get back in?

Not being able to access your site’s administration area because you can’t remember your password or username can be really frustrating.

Fortunately, if you are a WordPress user, there is always a way to get back into the backend of your website or blog.

In this troubleshooting tutorial, you will learn the process of retrieving a lost or forgotten password or username and getting back into your website or blog. We’ll go as far as we can without getting into complicated technical areas, and then, if this still doesn’t help you get back in, we’ll explain to you what other options are available for password recovery.

Let’s start with the basics.

Entering The Wrong WordPress Login Information

If you get your username or password wrong when you try to access your WordPress dashboard, you will see an error message like the one below …

What To Do If You Have Forgotten Your Password In WordPress

Here’s a clue: If you get the username correct but the password wrong, WordPress will actually tell you this …

Changing WordPress Passwords

Tip

For security reasons, you should never set up the username “admin”.

This is the default installation username for WordPress and one of the leading causes of brute force attacks on WordPress sites.

How To Change Your Password In WordPress

If you need to change your username, see this tutorial:

***

If you have lost or forgotten your password, but you do know your username or the email address you have registered with, then click on the “Lost your password?” link in the login box …

Retrieving Login Passwords In WordPress

You can also access the lost password area by clicking on the link at the bottom of the login box …

WordPress Password Recovery

Alternatively, just type the following URL into your browser (where “domain” is your domain address and “tld” is the domain extension, eg. “com”, “net”, “biz”, etc.) …

What To Do If You Lose Passwords In WordPress

Enter your username or registered email address and click the button to get a new password …

Retrieving Your Login Password

Info

At this stage, there is no password “recovery” option. You will need to reset your password.

You will receive an email with a password reset link. Click on the link to reset your password.

What To Do If You Have Forgotten Or Lost Passwords

Enter your new password into the “Password reset” field. Make sure to choose a strong password containing upper and lower case letters, numbers and symbols, like “@, $, %, &, ^” etc …

WordPress Password Retrieval

Tip

Use a password generator tool if you need help creating a secure password.

You can use a free password generator tool like PasswordsGenerator.net (shown below) …

Free Online Password Generator

Or a password management software like RoboForm, which is not only great for creating secure passwords, but also for storing and managing all of your online passwords …

Roboform - Password Management Software

Use A Password Generator Tool If You Need Help Creating A Secure Password

To learn more about password management software, see the tutorial below:

After your password has been reset, log in using your new password …

What To Do If You Have Forgotten Or Lost Your WordPress Password

Changing Your Password Inside The Admin Area

To change your password inside your WordPress administration area, log into your site and select Edit My Profile from the “Howdy, User” dropdown menu near the top-right hand corner of your screen …

How To Reset Your Password In WordPress

You can also access your “Profile” area by selecting Users > Your Profile from your main admin menu.

Towards the bottom part of the page, you will see the “change password” fields. Enter a new password and confirm this password here.

Note: Use the built-in WordPress password strength meter to help you avoid using weak passwords and set up a strong password.

WordPress Password Retrieval

Click the Update Profile button after you have entered your new details to update your password settings.

WordPress Password Recovery

What If I Can’t Remember My Username And Password?

So far, the above steps work if you’ve lost your password but you remember your username or email address.

How can you log in if you’ve lost both your username and password?

You can still log into your WordPress site, but here is where things start to get a little technical.

Info

As this tutorial is mostly intended for non-technical WordPress users, we suggest that if the information above hasn’t helped you get back into your WordPress admin area, then either contact someone who can provide you with technical assistance (i.e. your webmaster, web support person or your webhost) and let them know that you need to reset your WordPress Password from phpMyAdmin, or you can try using the method below, which will simply reveal your username and email address, so you at least you can get your password reset and log back in.

All you need is admin access to your server’s control panel. Don’t worry, you won’t be changing anything inside your server … you’re just taking a look!

Warning

If you feel uncomfortable about taking a look inside your web server or WordPress database, then please ask a web services professional to assist you.

For the example below, the server uses cPanel …

WordPress Password Recovery

cPanel management software

Important Info

Note: For a complete set of video tutorials on how to use cPanel, go here: How To Use cPanel.

Log into your server control panel …

What To Do If You Forget Or Lose Login Passwords In WordPress

cPanel admin area

Scroll down to the “Databases” section and open up phpMyAdmin

What To Do If You Forget Or Lose Your Password

phpMyAdmin

Click on your WordPress database.

Note: If you have multiple databases set up on your domain, make sure that you select the correct one …

What To Do If You Have Lost Or Misplaced Login Passwords In WordPress

phpMyAdmin databases

Don’t panic when you see the complicated-looking information on your screen screen.

Click on wp_users in the “Table” column on the left-hand side …

WordPress Password Recovery

phpMyAdmin databases

You will see a list of all your site’s users with their usernames and registered emails. Typically, the first line is assigned to the administrator, but if you have more users and need to locate their username or email, then scroll down the list until you find the details you are looking for …

What To Do If You Forget Or Lose Passwords

Info

Note: The user password is also included in this section of the WordPress database (in the “user_pass” column”), but as you can see from the screenshot above, it is encrypted.

For reasons of security, WordPress stores all passwords as a cryptographic hash function (MD5 Hash) rather than plain text. This prevents even the site administrator from knowing a user’s password.

To change this password you would need an encryption tool that lets you generate an MD5 hash, which you would then copy and paste into the password field. You can search for “free MD5 generators online” if you want to change the password yourself, but as suggested earlier, ask for assistance from a professional if you really don’t know what you are doing, and want to avoid causing errors.

Once you know the username and email address, log out of your server, go back to the login screen and request a new password …

WordPress Password Recovery

Hopefully, you have found this tutorial useful and can now resume working on your website.

***

"I am beyond impressed with what you have put together. I can tell that you put a ton of hard work into building what you have. You have the absolute best content on WordPress I have ever seen!" - Robert T. Jillie

Originally published as How To Reset Your WordPress Password.