Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Forgot Password? How to Recover a Lost Password in WordPress

It’s easy to forget your WordPress password, especially if you manage multiple accounts or update them often.

Losing access can feel frustrating and might even make you worry about lost data or delayed tasks.

Fortunately, WordPress offers a quick and secure way to reset your password so you can get back into your site without too much hassle. While the process is generally smooth, there are a few steps to follow to make sure your account stays secure.

In this guide, we’ll walk you through how to safely recover your lost password in WordPress so you’re back up and running in no time.

How to recover lost password in WordPress

Here’s a quick overview of all the things we’ll cover in this article:

Ready? Let’s get started!

Recover a Lost Password in Wordpress, Step-by-Step

The first thing to do is go to your WordPress blog’s login screen. The login page of your WordPress blog is located at:

http://www.example.com/login/

Don’t forget to replace www.example.com with your website address.

Your WordPress login screen should have a ‘Lost your password?’ link below the login form, just like the screenshot below:

Lost password recovery

So, you’ll want to click on the ‘Lost your password?’ link.

On the next screen, go ahead and enter the username you use to log into your WordPress blog.

You can also provide the email address you used during the installation or registration.

Enter your username or email address to reset password

After entering the username or email address, simply click the ‘Get New Password’ button.

Next up, after verifying that you entered a valid username or email address, WordPress will send a recovery email to the address linked to your account.

It will also show you a ‘Check your e-mail for the confirmation link, then visit the login page’ notification.

Check email notification

So, you’ll want to check your email inbox, and there should be an email with the subject [Your Blog Title] Password Reset.

If you do not immediately see the email in your inbox, wait a few minutes. But if you still do not see an email, then you should check your ‘Spam’ or ‘Junk Mail’ folder.

When you get the email, it will have a message similar to the following:

Someone has requested a password reset for the following account:

Site Name: Your Site Title

Username: YourUserName

If this was a mistake, ignore this email and nothing will happen.

To reset your password, visit the following address:

https://www.example.com/wp-login.php?action=rp&key=tKU2jF3cf2U1XaJgrnhc&login=yourusername&wp_lang=en_US

This password reset request originated from the IP address 192.168.1.132.

Let’s click on the link to reset your password. This link will take you back to your website and will allow you to enter a new password for your WordPress account.

Generate new password

WordPress will automatically generate a strong password for you. You can change that to use your own strong password.

The strength indicator bar will also let you know the strength of your password. WordPress will let you set a weak password, but it is recommended that you choose a strong password.

A strong password is more than 8 characters long and contains both upper and lower case letters, with numbers and special characters, such as ! “? $ % ^ &.

Once you have entered a password, go ahead and press the ‘Reset password’ button. You will see a notification saying, ‘Your password has been reset. Log in’.

Your password has been reset

Congratulations, you have successfully reset your WordPress password!

Simply click on the ‘Log in’ link to sign in to your WordPress blog using the new password.

Expert Tip: Advanced-level WordPress users can also reset the WordPress password from phpMyAdmin.

Bonus #1: Ensure Deliverability of Password Reset Emails

Sometimes, WordPress may not send you an email even if you request a password reset. This happens when your WordPress hosting server is not properly configured to use the PHP mail() function.

Even if your hosting is configured to use it, many email service providers, like Gmail and others, keep emails sent through WordPress sites from reaching your inbox.

The easiest way to ensure WordPress emails are properly sent is by using an SMTP plugin for WordPress like WP Mail SMTP.

WP Mail SMTP

Note: You can also use a free version of WP Mail SMTP for this purpose.

Unlike the PHP mail() function, WP Mail SMTP uses proper authentication, which leads to high email deliverability.

For more details, check out our guide on how to fix WordPress not sending email issue.

Bonus #2: Create a Strong and Memorizable WordPress Password

When you reset your password, WordPress automatically generates a strong password that is not easy to guess. You’re supposed to store this strong password with a password manager.

Otherwise, you’ll eventually forget it and have to reset the password again the next time you log into your site. You might also need to use a weaker but memorizable password, which is not recommended for your WordPress website’s security.

IsItWP's password generator

This is why using IsItWP’s Free Strong Password Generator Tool is recommended. It helps you generate strong yet memorizable passwords. It’s a free online tool; no login or download is required.

Bonus #3: Keep WordPress From Forgetting ‘Remember Me’

Entering your password each time you log in to your WordPress blog can be bothersome.

However, if you always log in to your WordPress blog from your own devices using your home internet connection, then you can stop WordPress from forgetting you with the Always Remember Me plugin.

This plugin will check the ‘Remember Me’ box below your login screen. So, once you log in to your WordPress, you will remain logged in for a long time unless you clear your browser’s cookies.

Video Tutorial

If you prefer learning by watching, then feel free to see our video tutorial on how to recover a lost password in WordPress below.

Subscribe to WPBeginner

We hope this tutorial helped you learn more about resetting your WordPress password. You may also want to see our guide on how to force strong passwords in WordPress and our expert picks of the best WordPress login page plugins.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

40 CommentsLeave a Reply

  1. Kween Kleokatra

    Hi,

    This is not “recovering” a lost password, this is “resetting” a lost password. Yes? I still think this is a great site, though.

    • WPBeginner Support

      You are correct that it would be more resetting the password as having the ability to find the current password would cause a security risk but setting the password to what was believed to be the correct password would work the same as recovering it :)

      Admin

  2. Jiří Vaněk

    It is also good to mention that sometimes people in WordPress have an email that doesn’t work. Then there is another option, where the password can be replaced with a new one directly in the MySQL database. The user table, where either the original hash can be replaced with a new one or a new one can be generated. This is a kind of safety measure when everything else fails but at least the database credentials are available (which can be provided by the website provider).

  3. Bilal

    I am experiencing an issue on my WordPress website. The problem occurs when a regular user forgets their password and tries to reset it by clicking on the “Forgot Password” link.

    After entering their email address, the email they receive contains only a confirmation that the password was changed, without providing any link through which they can actually reset their password.

    • WPBeginner Support

      If you have not done so already, please check your active plugins to see if any of your plugins modify how the forgot password link works.

      Admin

  4. brian

    hello I have a problem, in the link that is sent to the email the https: // is repeated 2 times, I would like to know how can I solve this, please

    • WPBeginner Support

      For that, you would want to ensure your domain is set properly in your WordPress settings and you don’t have a plugin that modified that email for the most common reasons.

      Admin

  5. Magda

    Hi,

    I have a different problem – I click on the ‘Lost your password?’ link, but instead of displaying the Wordpress page where I can enter my email address, I get redirected to my actual website instead (where the users of my website can retrieve the passwords to their accounts). After entering my email address there I get a message ‘Invalid username or email.’
    Is there a different way to get to the screen which you show on the second image?

    Many thanks!

  6. Ivory Austin

    Good morning,

    wordpress is not sending me the password reset link

  7. Bryan

    I go through the process, get the email, select the link, go to the WP page with the suggested new password, however when I select the reset button, I get an error message that the passwords don’t match. There is only one place to provide the new password, so I don’t see how it can’t match anything.

  8. John Felageller

    Hi,

    I had received an invite link for wordpress which was sent by my blog admin. The link had expired, and so I went through the whole process you described above, however when I got the email with the link to reset, I can’t click on it. I can cut and paste it but that essentially takes me back to the same page. Any ideas on how I can access that page/function, or should I just notify my admin and let them handle it?

    Thanks!

    • WPBeginner Support

      Hi John,

      Please notify your blog admin and they can send you a new invitation link by deleting your old account and creating a new one.

      Admin

  9. Anita

    hi

    I’ve done this – and my email is accepted – however no email with a confirmation link ever arrives. I’ve hit enter a few times over the last few weeks – and still no email

    Thanks for your advice

  10. Felix Ongoma

    Thanks. Really helped. I had spent two days annoyed at WordPress for locking me out but it took few seconds after reading through your site.

  11. Sheraz Bukhari

    I have no Cpanel and no Email address to reset my password. anyone give me a solution.

    but i ihave /wp-includes/ folder

  12. Amar

    hi

    I am facing with below error when trying to recover my password.

    The email could not be sent.
    Possible reason: your host may have disabled the mail() function.

    • yessss

      also not received to my mail inbox

  13. Amar

    Hi ,

    I am trying to reset my password but it is saying your mail() is

    The email could not be sent.
    Possible reason: your host may have disabled the mail() function.

  14. jai

    I have get a email confirmation link. buy when I click on the password reset link it always takes me again to the username/email enter link. My password is not resetting and even I am not getting the problem solved by the wordpress confirmation links… Now what should I do??

  15. Fábio Tojal

    I am having a problem in the “lost password” link! When I click on the lost password link nothing happen, I just stay in same page of login!

    The lost password link is working which is

    but, I don’t know what to do to put it working on the wp-login.php page!

    Thanks for your time!

  16. Govind Kumar

    i want my wordpress site to reset user’s password using mobile number is there any way to do this ?
    waiting for you reply :)
    thanks

  17. John

    I clicked on the link lost password, but haven’t received any emails from . And it’s not in my junk folder.

  18. Hellena

    Hi, I forgot the password and the email that was used to register the website (the owner is unable to access it) How can I reset the password now that I cant use the email option? Its a company website and I really need to update it.

  19. Virginia

    I’m very sad :(
    I just did change the facebook sharing in wordpress. Somehow my blog did close and worpress asked for the pasword but i didn’t remember it because it always remember me.
    I used the option to get an e mail and get a new password. But it did not send the e mail, it said that they send me a SMS, but I never put my celphone numbre in it.
    I don’t understand the “PhpMyAdmin mode”. My blog is a free wordpress. Like “.wordpress.com”
    Please help me I’m devastated :(

  20. Raghu

    Hi Hello,

    I am recieving a mail for resetting the password when we clicked the forgot password, but that does not contain a link for resetting the password.

    Any one can help me in this please?

  21. Ravi Janardhan

    Somehow it’s not accepting my username & pAssword. On top of that I am not getting mall for ‘forgot password’. No clue, what to do, now?

      • Ravi Janardhan

        Thanks so much Noumaan for timely help!

        We are able to reset password with phpMyAdmin.

  22. piyush goyal

    today I just lost my password then your this article help me alot
    thanx a lot for this

  23. Gautam Doddamani

    pretty standard procedure but no doubt a helpful guide for many…thanks for sharing! :)

  24. Rod Salm

    I’ve done this method several times, but then get an error message “You don’t have permissions to perform this function.” which forced me to try the complicated myphp admin route. Anyone know why an install of Wordpress would offer up this error?

    ­Rod Salm

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.