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.

Get Thrive Leads for WordPress

Learn To Use WPAre you locked out of your WordPress site because you’ve forgotten your password?

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

Fortunately, with WordPress, there is always a way to get back into your site.

In this step-by-step tutorial, you will learn the process of recovering a misplaced password or username and getting access to your blog or website. We’ll go as far as we can without getting into complicated technical areas, and then, if the information still doesn’t help you get back in, we’ll explain to you what other options are available for recovering your login details.

Let’s start at the beginning.

Entering An Incorrect Username Or Password

Normally, if you get your username and/or password incorrect when trying to access your WP dashboard, an error message like the one shown below will display on your login page …

What To Do If You Have Lost Your WordPress Password

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

What To Do If You Have Forgotten Your Password

Useful Tip

For security purposes, avoid installing WordPress sites with the username “admin”.

This is the default installation username for WordPress and one of the first things hackers will test with WordPress sites.

What To Do If You Forget Your WordPress Password

If you need to change your username, see this tutorial: Changing Your Admin Username

***

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 error message …

What To Do If You Have Forgotten Login Passwords In WordPress

You can also access the lost password function by clicking on the link found below the login box …

Changing WordPress Passwords

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

How To Reset The Login Password

Enter your username or email address and click the Get New Password button …

What To Do If You Forget A Password In WordPress

Important

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

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

How To Reset Login Passwords In WordPress

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 Recovery

Tip

Use a password generator tool to help you come up with strong passwords.

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

Free Online Password Generator

Or use a password management program like RoboForm, which is not only great for creating strong passwords, but also for storing and managing all your passwords …

RoboForm - Password Generator

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

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

redarrow Password Management Software

After resetting your password, log in as normal …

WordPress Password Retrieval

Changing Your Password Inside WordPress

To change your password inside your administration, log into your backend admin section and select Edit My Profile from the “Howdy, User” dropdown menu at the top-right hand corner of your screen …

WordPress Password Recovery

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

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

Note: Use the WordPress password strength meter to help you come up with a strong password.

Recovering Your Login Password

Click the Update Profile button when you’re done to update your password settings.

WordPress Password Retrieval

What If I Don’t Know My Username And Password?

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

What do you do if you’ve lost both your username and password?

You can still access your WordPress site, but a little technical intervention is required.

Important

As this tutorial is really designed for non-technical WordPress users, we recommend 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 support (i.e. your webmaster, web support person or your webhost) and let them know that you need to change your WordPress Password from phpMyAdmin, or you can try using the method below, which will simply reveal your username and email address, so you can at least get your password reset and log back in.

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

Warning

If you are worried about working inside your web server or database, then please ask a web services professional to help you.

For this example, the server uses the cPanel management tool …

What To Do If You Have Forgotten Passwords In WordPress

cPanel management software

Important

Note: We provide a complete set of video tutorials on how to use cPanel inside the WPTrainMe PRO member’s area.

Log into your server administration area …

WordPress Password Retrieval

cPanel admin area

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

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

phpMyAdmin

Open up your WP database.

Note: If you have a number of databases set up on your domain, make sure you select the correct one …

Recovering Passwords In WordPress

phpMyAdmin databases

Don’t be concerned about the complicated-looking information on your screen screen.

Click on wp_users

WordPress Password Retrieval

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 site 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 Lose Or Forget Passwords

Important

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.

Due to security purposes, WordPress stores all passwords as a cryptographic hash function (MD5 Hash) instead of plain text. This prevents even the site administrator from knowing a user’s password.

To change this password requires using 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 help from a professional if you don’t know what you are doing, and want to avoid causing errors.

Now that you have retrieved your username and email address, log out of your server, go back to your login screen and request a new password …

WordPress Password Retrieval

We hope that you have found this tutorial useful and can now resume working.

***

"Your training is the best in the world! It is simple, yet detailed, direct, understandable, memorable, and complete." Andrea Adams, FinancialJourney.org

Disclaimer: We are not associated with WordPress or any of the WordPress products discussed on this website. We may derive affiliate commissions from sales of products advertised, reviewed or linked from our site. All product images are the copyright of their respective owners and are being used solely for illustrative or training purposes.

Get Thrive Leads for WordPress

***

Did you enjoy this post? Please feel free to share this information with others who could benefit from WordPress using the links below.

Author: Martin Aranovitch

WPCompendium.org provides hundreds of FREE WordPress tutorials for beginners. Our detailed step-by-step tutorials will save you money and teach you how to start, manage, and grow a website or blog using WordPress that puts you in complete control and delivers results with no coding skills required!

Originally published as How To Reset Your WordPress Password.