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.

Learn How To Use WPHave you forgotten your WordPress password?

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

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

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

Let’s start with the basics.

Typing In The Wrong Username Or Password

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

What To Do If You Forget Or Lose Your WordPress Password

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

What To Do If You Lose Or Forget WordPress Passwords


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

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

Changing The Login Password

If you want to learn how 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 error message …

Retrieving Your Password

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

Recovering WordPress Passwords

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

WordPress Password Retrieval

Type in your username or email and click on the Get New Password button …

Changing Your Password


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

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

WordPress Password Recovery

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 …

Recovering WordPress Passwords


Use a password generator tool if you need help generating secure passwords.

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

Free Online Password Generator

Or use a password management program like RoboForm, which lets you store and manage all of your passwords …

RoboForm - Password Generator

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

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

After resetting your password, log in as normal …

Changing Your WordPress Password

How To Change Your Password

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

WordPress Password Recovery

You can also access your “Profile” area 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: Avoid choosing weak passwords. Use the built-in WordPress password strength meter to help you set up a strong password.

What To Do If You Forget Passwords

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

What To Do If You Have Lost Login Passwords In WordPress

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

The above steps work if you’ve lost your password but you still know your username or email address.

What can you do if you don’t know both your username and password?

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


As this tutorial is mostly designed for non-technical WordPress users, we suggest 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 support (i.e. your webmaster, website 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 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!


If you are not confident about working inside your server or database, then please ask a web services professional for assistance.

For the example below, we’ll be working with the cPanel management software …

What To Do If You Lose Your WordPress Password



Note: For a complete set of step-by-step tutorials on using cPanel, go here: How To Use cPanel.

Log into your server control panel …

WordPress Password Retrieval

cPanel admin area

Navigate to the “Databases” section and open up phpMyAdmin

Retrieving WordPress Passwords


Click on your WordPress database.

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

How To Change A Password In WordPress

phpMyAdmin databases

Don’t worry about the complicated-looking screen.

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

What To Do If You Forget Or Lose Your Password

mySQL database tables

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 …

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.

For 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 replace 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 professional help if you don’t know what you are doing, as you could end up causing errors.

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

WordPress Password Recovery

Hopefully, this information has helped you log back into your site and you can now resume working on your website or blog.


"I have used the tutorials to teach all of my clients and it has probably never been so easy for everyone to learn WordPress ... Now I don't need to buy all these very expensive video courses that often don't deliver what they promise." - Stefan Wendt, Internet Marketing Success Group


Recommended Video Courses For WordPress Users

WordPress Traffic & User EngagementWordPress Traffic & User Engagement

Learn how to drive more targeted traffic to your website and discover ways to improve user engagement with your business online.

More info: WordPress Traffic & User Engagement

Recommended Video Courses For WordPress Users

Keyword Research ToolsKeyword Research Tools

This video course shows you how to do keyword research using tools like the Google Keyword Planner.

More info: Keyword Research Tools

Recommended Video Courses For WordPress Users

WordPress 101: How To Use WordPressWordPress 101: How To Use WordPress

Learn how to unlock the power of the WordPress content management system (CMS) using the many powerful features inside your WordPress administration area.

More info: WordPress 101: How To Use WordPress

Recommended Video Courses For WordPress Users

Google ToolsGoogle Tools

This video course will help you learn the basics of using Google Tools like Google Analytics and Gmail.

More info: Google Tools

Recommended Video Courses For WordPress Users

Build A WordPress Site ... Fast!Build A WordPress Site ... Fast!

Need a new website or blog in a hurry?

This video course shows you how to quickly install and configure a WordPress website or blog on your own domain name and be up and running in no time!

More info: Build A WordPress Site ... Fast!

Recommended Video Courses For WordPress Users

Why Your Business Needs WordPressWhy Your Business Needs WordPress

Learn about the unique features, benefits, and advantages of using WordPress to start or grow your business online.

More info: Why Your Business Needs WordPress

Author: Martin Aranovitch

Martin Aranovitch is the founder of and the author of The Small Business Digital Manager. provides hundreds of FREE tutorials that show you how to use WordPress to grow your business online with no coding skills required! Get our FREE "101+ WordPress Tips, Tricks & Hacks For Non-Techies" e-course with loads of useful WordPress tips!

Originally published as How To Reset Your WordPress Password.