December 31, 2017 Uncategorizedadmin

WordPress Tip: What To Do If You Forget Or Lose WordPress Passwords

Learn To Use WordPressHave you misplaced your WordPress password?

Finding yourself unable to access your admin area because you can’t remember your password or username can be very frustrating.

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

In this tutorial, we’ll show you how to retrieve a forgotten password or username and get back into your website or blog. We’ll go as far as we can without getting into complicated technical areas, and then, if the information still doesn’t help you, we’ll explain to you what your other options for password recovery are.

Let’s start at the beginning.

Incorrect Username/Password

Normally, if you get your username or password wrong when trying to login in WordPress, an error message like the one below will display …

Changing Login Passwords In WordPress

Your first clue, is that if you get the username correct but the password wrong, WordPress will let you know this …

What To Do If You Lose Your Password

Useful Tip

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

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

What To Do If You Lose Or Forget Your Password In WordPress

If you need to change your username, see this tutorial: How To Change Your WordPress Username From Admin


If you have forgotten or lost 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 WordPress Passwords

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

WordPress Password Retrieval

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

WordPress Password Retrieval

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

What To Do If You Forget Your WordPress Password


At this stage, there is no password “recovery” option, only password “reset”.

You will receive a system notification via email containing a link to reset your password.

What To Do If You Lose WordPress Passwords

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 …

Retrieving Your Login Password


Use a password generator tool to help you generate a strong password.

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

Free Online Password Generator

Or use a password management software like RoboForm, which not only lets you create strong passwords, but also store and manage all your passwords …

Roboform - Password Management Software

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

After resetting your password, log in as normal …

WordPress Password Retrieval

How To Change Your Password Inside Your WordPress Admin Area

To change your password inside WordPress, log into your admin 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 screen, 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 avoid using weak passwords and set up a strong password.

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

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

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

If You Don’t Know Your Username And Password

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

How can you log in if you can’t remember both your username and password?

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


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

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


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

In this example, we’ll be working with the cPanel management tool …

Changing Login Passwords In WordPress

cPanel management application

Log into your server control panel …

What To Do If You Lose WordPress Passwords

cPanel admin area

Find the “Databases” section and open phpMyAdmin

Changing Your Login Password


Open up your WordPress database.

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

What To Do If You Lose Or Forget Your WordPress Password

phpMyAdmin databases

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

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

What To Do If You Forget Passwords

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 …

WordPress Password Retrieval


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

Due to reasons of security, 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 replace 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 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, return to the login screen and request a new password …

What To Do If You Forget The Login Password

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


wpa call to action subscribe to us


Need help with WordPress? Feel free to post a comment below and share this article with your friends.

Disclaimer: This site is not associated with WordPress or any of the WP products written about on this site. We may derive a financial benefit from sales of products advertised, reviewed or linked to from this site. The product details on this page have been sourced from the plugin’s own website and/or from websites that provide Premium WP Services