Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Troubleshooting

WordPress Reset Password Not Working: Causes and How to Fix It

WordPress Reset Password Not Working: Causes and How to Fix It

Short answer

A WordPress password reset usually fails because the email never arrives, the link expired or was replaced by a newer request, or cookies, caching or a security plugin break the reset page. Request one fresh link and use it straight away, fix email with SMTP, or reset the password with WP-CLI or phpMyAdmin.

Key takeaways

  • Only the newest reset link works, because WordPress stores one key per user.
  • Reset keys expire after one day by default.
  • Missing emails usually mean poor mail delivery, which SMTP fixes.
  • Login and reset pages should never be cached.
  • WP-CLI, phpMyAdmin or your host's dashboard can reset a password without email.

Why is the WordPress reset password not working?

WordPress password resets usually fail because the email never arrives, the reset link expired or was replaced by a newer one, or cookies, caching or a security plugin break the reset page.

The standard reset flow is simple. You click Lost your password? on the login screen, WordPress emails a link with a one-time key, and that link opens a form to set a new password. Each step can fail for a different reason.

Start by working out where it breaks. That tells you which fix to try.

What happensLikely causeFix to try first
No email arrivesSite email not deliveredCheck spam, set up SMTP
Link says it is invalid or expiredOld link, used link or expired keyRequest one fresh link and use it right away
Link opens the login page againCaching or a custom login URL pluginExclude login pages from cache
New password is not acceptedStrength rules or a security pluginUse a stronger password, check plugin rules
Form submits but login still failsWrong username or email, or blocked accountConfirm the account details

Is the password reset email not arriving?

If no reset email arrives, check spam and the exact address on the account, then fix the site's email delivery, because many hosts send WordPress mail poorly.

WordPress sends mail through PHP by default. Many mail providers treat those messages as suspicious, and some hosts block PHP mail entirely. The result is a reset email that never shows up.

Quick checks:

  • Look in spam, junk and promotions folders
  • Make sure you typed the email or username that is actually on the account
  • Wait a few minutes, since some servers queue mail
  • Request only one link, then wait

For a lasting fix, send WordPress email through an SMTP service. Our guide on how to set up SMTP in WordPress shows the steps.

If email is the only problem you have, our dedicated guide to a password reset email not received goes deeper.

The link fails if it is older than the expiry window, if you requested a newer link after it, or if something changed the link on its way to you.

WordPress stores only one reset key per user. When you request a second reset, the first email's link stops working. People often click Lost your password? several times, then open the first email and get the invalid key error.

Reset keys also expire. By default the window is one day, and developers can change it with the password_reset_expiration filter. If the email sat in your inbox too long, request a fresh one.

The safest pattern is:

  1. Request one reset link
  2. Open the newest email only
  3. Click the link within a few minutes
  4. Set the new password on the same device and browser

Yes, some email apps and security scanners rewrite, wrap or pre-open links, and a long reset link can also break across lines in plain-text emails.

Corporate mail filters often replace links with their own tracking or safety-check links. Usually that is fine. Occasionally the rewritten link drops part of the key, which makes WordPress reject it.

Try these:

  • Copy the full link from the email and paste it into the browser address bar
  • Check that the copied link includes the key and the login parts at the end
  • Try opening the email in a different mail app or webmail
  • Send the reset to a personal address if a work filter keeps breaking it

Are cookies or browser settings blocking the reset?

The reset page relies on a cookie to carry the key between steps, so blocked cookies or strict privacy extensions can make a valid link fail.

When you click the reset link, WordPress sets a short-lived cookie and then shows the new password form. If cookies are blocked for your site, the form may report the key as invalid.

Fix it by:

  • Allowing cookies for your domain
  • Opening the link in a private window with extensions turned off
  • Trying a different browser
  • Making sure you use the same domain version, with or without www, as the site address

A mismatch between http and https, or between the www and non-www versions, can also cause cookie problems. Your Site Address and WordPress Address in Settings > General should match the URL you actually use.

Is caching interfering with the login and reset pages?

Page caching on login and reset screens can serve stale forms or redirect you in circles, so those pages should always be excluded from cache.

Most cache plugins skip the login page by default. Problems start when a CDN, a server cache or a custom rule caches it anyway. You might see an old form, a redirect loop or a reset form that never submits.

Check your cache plugin, host cache and CDN rules. Exclude the login page and anything with the action=rp or action=resetpass query string. Then clear all caches with our guide on how to clear cache in WordPress.

If the login page keeps reloading itself, our guide to the login page refreshing and redirecting covers more causes.

Is a security or login plugin changing the reset flow?

Security plugins, custom login URL plugins and membership plugins can replace or restrict the reset process, so the default link may no longer lead to a working form.

Plugins that hide the login page often move the reset page too. A link generated before the change, or by another plugin, may point to a page that no longer exists.

Security plugins may also:

  • Block reset requests after too many attempts
  • Require a stronger password than you typed
  • Lock accounts after failed logins
  • Block your IP address or country

Check the plugin's logs or settings if you can still reach the dashboard with another account. If you cannot log in at all, rename the plugin's folder over FTP or your host's file manager to turn it off. Our guide on how to deactivate all plugins without admin access explains how.

If the reset email will not work, change the password directly through your hosting tools, phpMyAdmin or WP-CLI instead.

You have three common options.

WP-CLI: if your host offers SSH, this is the cleanest route. The wp user update command can set a new password:

wp user update admin --user_pass="a-long-new-password"

phpMyAdmin: open your database, find the users table, edit your user row and set a new value in the password field using the MD5 function. WordPress accepts the old MD5 format at login and upgrades it to a stronger hash. The official guide to resetting your password describes this method.

Hosting dashboard: many managed hosts let you change a WordPress admin password or log in with one click from their control panel. Check your host's dashboard.

Back up the database before editing it by hand. Our guide on how to back up a WordPress database shows how.

Why is the new password not accepted?

WordPress may reject a password the reset form considers too weak, and some plugins enforce extra rules on length or reuse.

The reset form shows a strength meter. You can usually confirm a weak password with a checkbox, but security plugins may remove that choice. Use a long password from a password manager and the problem disappears.

If the form accepts the password but you still cannot log in, double-check the username. You may have reset a different account, such as an old admin user that shares your email address.

What if the site itself has an error?

If the reset page shows a critical error, a blank screen or a database error, fix that error first, because the reset flow cannot run on a broken site.

A blank white page or a message about a critical error points to a PHP problem, often from a plugin. Turn on debugging to see the cause, as described in our guide on how to enable debug mode in WordPress.

A database connection error means WordPress cannot reach its data at all, including user accounts. Fix the connection details first.

How can you avoid reset problems in the future?

Set up reliable email, keep a second admin account with a different address, and store passwords in a password manager.

A few habits prevent most lockouts:

  • Use SMTP so reset and notification emails always arrive
  • Keep at least two admin accounts with different email addresses
  • Store your WordPress password in a password manager
  • Note how to reach your host's file manager and database tools
  • Keep regular backups you have tested

If you are fully locked out and none of this works, our guide on fixing being locked out of wp-admin brings all the recovery options together.

Frequently asked questions

How long is a WordPress password reset link valid?

By default a reset key lasts one day. Developers can shorten or lengthen this with a filter. Requesting a new reset link also makes any older link for that user stop working.

Why does WordPress say my password reset link appears to be invalid?

The link is probably expired, already replaced by a newer request, or damaged by an email filter. Request one new link, open only the latest email, and copy the full link into your browser if clicking fails.

Can I reset a WordPress password without email?

Yes. You can use the WP-CLI user update command over SSH, edit the user password in phpMyAdmin with the MD5 function, or use your host's dashboard tools if they offer admin password changes.

Is it safe to change a password in phpMyAdmin?

It is safe if you are careful. Back up the database first, edit only the password field of the right user, and choose MD5 as the function. WordPress upgrades the stored hash after your next login.

Why do I keep getting sent back to the login page after resetting?

This is usually caching, a cookie problem or a mismatch between http, https, www and non-www addresses. Exclude login pages from cache and make sure your site address settings match the URL you use.

Sources

  1. Reset Your Password WordPress.org Documentation
  2. password_reset_expiration hook WordPress Developer Resources
  3. wp user update WP-CLI Command Reference
  4. Using cookies MDN Web Docs
  5. Use Strong Passwords Cybersecurity and Infrastructure Security Agency

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.