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 For BeginnersCan’t log back into your WordPress site?

Not being able to access your admin 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 your site.

In this tutorial for non-technical users, you will learn how to retrieve a lost 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 recovering your login details are.

Let’s start at the beginning.

Typing In The Wrong Username Or Password

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

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

Your first clue, is that if you get the login username correct but the password wrong, WordPress will actually tell you this …

WordPress Password Retrieval


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

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

What To Do If You Have Forgotten Or Lost WordPress Passwords

If you want to learn how to change your username, see this tutorial:


If you have forgotten or lost your password, but you know your username or email address, then click on the “Lost your password?” link in the error message …

WordPress Password Retrieval

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

WordPress Password Retrieval

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

What To Do If You Lose Or Forget Passwords

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

What To Do If You Have Lost Your Password


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

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

Changing Your Password In WordPress

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 …

What To Do If You Have Lost Your WordPress Password


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

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 generate strong passwords, but also store and manage all of your passwords …

Roboform - Password Management Software

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

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

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

WordPress Password Recovery

How To Change Your Password

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

WordPress Password Retrieval

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

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

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

How To Reset Passwords

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

What To Do If You Lose Or Forget Your WordPress Password

What If I’ve Lost 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 can you do if you don’t know both your username and password?

You can still log into your WordPress site, but this is where you will need to have some technical knowledge and be able to access your server.


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 site, 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 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’ll just be taking a look!


If you are concerned about taking a look inside your server or WordPress database, then please ask a knowledgeable WordPress user to help you.

In the example below, the server uses the cPanel management application …

What To Do If You Have Forgotten Passwords

cPanel management application


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

Log into your server administration area …

WordPress Password Retrieval

cPanel administration area

Scroll down to the “Databases” section and open phpMyAdmin

What To Do If You Forget Your Login Password


Click on your WP database.

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

What To Do If You Lose Your WordPress Password

phpMyAdmin databases

Don’t worry about the complicated screen.

Click on wp_users in the left-hand column …

Changing Your WordPress Password

mySQL database tables

This section contains a list of all your site’s users with their usernames and 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 A Password In WordPress


Note: The user password is also included in this section of the WP 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) rather than 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 really don’t know what you are doing, and want to avoid causing errors.

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

Retrieving Passwords

Hopefully, this tutorial has helped you get back into your site and you can now resume working.


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

Recommended Video Courses For WordPress Users

How To Install, Set Up & Use WordPress MultisiteHow To Install, Set Up & Use WordPress Multisite

Learn how to quickly and securely set up an online community of websites or blogs using the powerful WordPress Multisite feature.

More info: WordPress Multisite

Recommended Video Courses For WordPress Users

How To Use Amazon S3How To Use Amazon S3

Learn how to set up and use Amazon S3 to upload, store, manage, and protect your site’s images, large media files, downloadable files, stream videos and more.

More info: How To Use Amazon S3

Recommended Video Courses For WordPress Users

Using Password ManagersUsing Password Managers

Password Managers provide an easy and secure way to keep track of all your passwords. This video course shows you how to use two FREE powerful password management tools.

More info: Using Password Managers

Recommended Video Courses For WordPress Users

WordPress SecurityWordPress Security

Learn how to keep your WordPress site or blog secure and protected from malware, hackers and brute-force attacks.

More info: WordPress Security

Recommended Video Courses For WordPress Users

How To Back Up & Restore WordPress SitesHow To Back Up & Restore WordPress Sites

Learn how to safely and automatically backup your WordPress files and database and how to easily restore your WordPress site if something were to happen.

More info: How To Back Up & Restore WordPress Sites

Recommended Video Courses For WordPress Users

How To Use FTPHow To Use FTP

This video course shows you how to use FTP (File Transfer Protocol) to transfer and upload files between your hard drive and your server using a free FTP program called Filezilla.

More info: How To Use FTP

Recommended Video Courses For WordPress Users

How To Set Up A Forum On WordPressHow To Set Up A Forum On WordPress

Learn how to set up a forum for your visitors, prospects, customers, members, or affiliates using WordPress.

More info: How To Set Up A Forum On WordPress

Recommended Video Courses For WordPress Users

How To Optimize WordPressHow To Optimize WordPress

Learn how to optimize your WordPress site and improve your page loading speed.

More info: How To Optimize WordPress

Recommended Video Courses For WordPress Users

How To Set Up WordPress On LocalhostHow To Set Up WordPress On Localhost

Learn how to install, set up, and locally host a fully functioning WordPress site on your computer.

More info: How To Set Up WordPress On Localhost

Recommended Video Courses For WordPress Users

How To Use cPanelHow To Use cPanel

cPanel is a powerful and simple-to-use web hosting management software application that gives website owners the ability to quickly and easily manage their servers and websites using a simple and intuitive dashboard.

This video course will teach you how to use the main features of cPanel to manage your web hosting.

More info: How To Use cPanel

Author: Martin Aranovitch

Martin Aranovitch is the owner of and the author of The WordPress User Manual. 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.