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 …

How To Reset Your WordPress Password

How To Reset Your WordPress PasswordHave you lost or forgotten your WordPress password and can’t log back into your website?

Not being able to access your site’s admin area because you have forgotten your password or username can be very frustrating.

Fortunately, with WordPress, there is always a way to get back into your website or blog.

In this step-by-step tutorial, you will learn how to recover a lost or forgotten password and get back into your site. We’ll start with the simple way and if this information doesn’t help you get access to your admin area, we’ll explain to you what other options are available for recovering your login details.

Let’s start with some WordPress password basics.

Have You Entered The Wrong Details (Username/Password)?

Normally, if you get your username and/or password incorrect when trying to log into your WordPress site’s backend (i.e. admin) area,  an error message like the one shown below will display on your login page…

WordPress login error message - invalid username.
Have you forgotten or lost your password and can’t log into your site?

If you enter an incorrect username into your WordPress site’s login box, you will get this error message:

Incorrect username entered into WordPress login.
An incorrect username entered into WordPress login.

WordPress lets you know if you enter the correct username but the wrong password:

Error - the password you entered for username is incorrect.
This is the error message you will see if you enter a username with an incorrect password.

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

***

If you have lost or forgotten your password but you know your username (or the email address associated with your username), you can get a new password.

To get a new password, click on the “Lost your password?” link in the login box error message.

Lost password link
Click on this link to reset your password.

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

Link to WordPress password reset feature.
Or you can click on this link to reset your password too!

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

WordPress lost password URL

Type in your username or the email address associated with your username and click on the Get New Password button to receive a new password.

WordPress password reset box
Enter your username or email address to get a new password.

Info

There is no password “recovery” option. You will need to reset your password.

A notification email will be sent to your email address containing a password reset link. Click on this link to reset your password.

Password reset notification email.
Click on the email notification link to reset your password.

Enter a 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 reset screen.
Make sure your new password is strong and secure.

Tip

You can also use a password generator tool to help you come up with a new and secure password.

Password Generator Tools

You can use a free online password generator tool like PasswordsGenerator.net:

Free Online Password Generator
You can use a free password generator tool if you need help creating strong, secure passwords.

Or use a password management tool like RoboForm.

RoboForm is a powerful tool that lets you generate secure passwords and store and manage all of your online passwords and logins securely.

RoboForm - Online Password Management Tool
RoboForm – Online password management tool.

To learn more about password management software, see this tutorial:

After resetting your password, log in as you normally would using your new password.

Password reset screen
Your password has been reset.

How To Change Your Password Inside Your WordPress Admin Area

Tip

For security reasons, avoid setting up a WordPress site with the username “admin.”

Username “admin” is the default installation username for a site built using WordPress and it’s one of the first things hackers will look for when searching for vulnerabilities on WordPress sites.

Users screen
Avoid using ‘admin’ as your username – hackers love it and look for it!

Let’s assume you can log into your site and want to change your password (or the password of any user you’ve given access to).

To change your password inside your WordPress admin area, log into your backend admin section and select Edit My Profile from the “Howdy, User” dropdown menu near the top-right hand corner of your Dashboard.

Edit My Profile
Click on the ‘Edit My Profile’ link.

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

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

Note: Avoid choosing weak passwords. Use the built-in WordPress password strength meter to help you set up a strong and secure password or use a password management tool.

Your Profile screen
Avoid weak passwords.

Click Update Profile when done to update your password settings.

Your Profile screen
Click the ‘Update Profile’ button to save your new password.

If You Can’t Remember Your Username AND Password

So far, the steps we’ve covered work if you’ve lost or forgotten your password but still remember your username and/or email address.

Can you still log into your WordPress site if you don’t know both your username and password?

Yes, you can but this is where things can start to get a little technical. Either you or someone you know will need to have some technical skills and be able to access and change things inside your server.

Info

As this tutorial is aimed mostly at non-technical users, if the information in this tutorial 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, website support, or your web host) and ask them to help you change or reset your WordPress Password from phpMyAdmin.

You can also try using the method below, which will simply reveal your username and email address, allow you to at least reset your password, and log back into your site.

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!

Important

If you don’t feel confident or comfortable working in your web server or WordPress database, ask an experienced WordPress user or a professional for assistance with the method described below.

For this example, we’ll be working with the cPanel server/webhosting management application.

cPanel login box.
cPanel login box.

Note: For step-by-step video tutorials on how to use cPanel, go here: How To Use cPanel.

Log into your server admin control panel.

cPanel admin area screen.
cPanel admin area screen.

Scroll down to the “Databases” section and click on phpMyAdmin

Databases - phpMyAdmin
Databases – phpMyAdmin section.

Click on your WordPress database to open up and view all database tables.

Note: If you have multiple databases set up on your domain, make sure to select the right.

phpMyAdmin databases
Click on your database in the phpMyAdmin section.

Don’t worry if the information on your screen looks complicated.

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

phpMyAdmin databases - mySQL database tables - wp_users table.
phpMyAdmin databases – mySQL database tables – wp_users table.

This section contains a list of all your site’s users with their usernames and email addresses. 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.

User details in database table.
User details in database table.

Info

Note: The user password is also included in this section of your WordPress database (in the “user_pass” column”) but as you can see from the screenshot above, it is encrypted and displays only random-looking characters in the field.

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

To change this password you will 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 don’t know what you are doing in order to avoid causing errors.

After retrieving your username and email address, log out of your server, return to your WordPress login screen, and request a new password.

Get New Password
Enter your username and get a new password.

Congratulations! Now you know how to log back into your site if you forget or lose your login password.

***

"Learning WordPress has been a huge stumbling block for me. I've been looking for something that covers absolutely everything but doesn't cost an arm and a leg. Thank you so much ... you have just provided me with what I have been looking for! Truly appreciated!" - Tanya

We are not affiliated, associated, sponsored, or endorsed by WordPress or its parent company Automattic. This site contains affiliate links to products. We may receive a commission for purchases made through these links.