Can't Log In to WordPress? Reasons You're Locked Out and Safe Ways Back In
If you cannot log in to WordPress, the cause is usually a wrong or reset password, a security plugin lockout, a plugin or theme conflict, a cookie or redirect loop, or in some cases a compromised website. Working out which one applies decides the safe fix.
Why WordPress login fails
| Symptom | Likely cause |
|---|---|
| “Incorrect password” despite a correct one | Password changed, browser autofill or a security plugin blocking the attempt |
| Login page just reloads | Cookie problem, redirect loop or a URL mismatch in the settings |
| “Too many failed attempts” | A security plugin or host has temporarily locked your address |
| Blank or error page at /wp-admin | A fatal plugin or theme error affecting the dashboard |
| Password reset email never arrives | WordPress cannot send email from your server |
| Unknown administrator accounts | Possible compromise of the website |
Start with the simple checks
- Try a private browser window and clear cookies for the site
- Confirm you are using the correct web address, including whether it includes www
- Use the Lost your password link and check spam folders
- Wait before trying again if you have been locked out by a security rule
- Check whether another administrator can log in
Not sure what is going on with your website?
Tell us what you are seeing and we will outline the next step before any chargeable work.
When it might be a security problem
If you notice administrator accounts you do not recognise, content you did not publish, or redirects to unfamiliar websites, treat the login problem as a possible security issue. Changing passwords alone does not remove an attacker who has already planted files. Read our guide to the signs of a hacked WordPress website, then get the site assessed.
Why the password reset sometimes fails
WordPress sends reset links by email through the server. If the server is not set up to send mail reliably, the message never arrives. Fixing that properly usually means configuring authenticated email sending rather than repeatedly retrying the reset.
Cookies, redirects and the URL mismatch problem
WordPress remembers you using cookies that are tied to the website address. If the address stored in Settings differs from the one in your browser, for example http versus https or www versus non-www, the login can succeed and then immediately bounce back to the login screen. The same thing happens when caching or security plugins interfere with cookies. Clearing cookies, using a private window and checking the site and home addresses are the first steps, and an experienced developer can correct mismatches directly in the database if the dashboard is unreachable.
Security plugins that lock you out
Login protection plugins and some hosts temporarily block an address after several failed attempts. That is a useful defence, but it can lock out the owner as easily as an attacker, particularly if a password manager auto-fills an old password. Waiting for the block to expire, using the plugin’s recovery method or asking the host to clear the block are the usual solutions. Avoid repeated attempts, which can extend the lock.
Keeping access safe in future
- Use a password manager and a unique password for WordPress
- Turn on two-factor authentication for administrators
- Keep a second trusted administrator account for emergencies, held securely
- Remove accounts for people who no longer work with you
- Keep the administrator email address current so resets arrive
What not to do when locked out
Avoid repeated login attempts, because many security setups lock an address for longer after each failure. Avoid installing random plugins to bypass the lock, which can introduce new risks. Avoid giving your password to anyone by email or message. And avoid editing the database or files unless you have a verified backup and know exactly what you are changing. A careful approach resolves the lockout without creating a second problem.
How access is restored professionally
With authorised hosting access, a developer can check whether a plugin is blocking the login, reset a password directly, correct a site address mismatch, review the list of users for unfamiliar accounts and confirm that the login page is not being redirected maliciously. Once you are in, the sensible follow-up is to review administrator accounts, remove the ones that are not needed, enable two-factor authentication and confirm that the administrator email address is correct. Our WordPress repair service handles lockouts safely, and our guide to the signs of a hacked site explains when a lockout may be more than a forgotten password.
Lockouts on stores and membership sites
When customers or members cannot log in, the problem is more urgent than an owner lockout. Causes include caching of login or account pages, conflicts between security plugins and membership tools, expired sessions or a misconfigured CDN. Test as a normal user on a fresh browser and different device, and check that login and account pages are excluded from caching. Remember that password reset emails depend on reliable email delivery, so a login complaint can really be an email problem. Treat reports from customers as evidence, record exactly what they saw and keep a calm, helpful line of communication open while you investigate.
How access is restored safely
With hosting access, a recovery point and the correct permissions, a developer can reset credentials, review users and check whether a plugin or theme is blocking login. Never email your passwords to anyone. WP Mate arranges a secure way to share access and only asks for the minimum needed. See WordPress repair or get in touch.
Want this looked after for you?
WP Mate maintenance plans cover managed updates, daily offsite backups, security scanning and 24/7 uptime monitoring.
Not sure what's wrong? Tell us and we'll outline the next step.
Services related to this guide
WordPress repair
Broken website? We investigate the cause and fix it safely.Get a Repair Quote →
Hacked website help
Assess the damage and plan a safe recovery.Get Security Help →
Talk to WP Mate
Not sure which service fits? Ask us and we will point you the right way.Contact us →
Related guides
Frequently asked questions
Can I reset my WordPress password without email?
Yes, with hosting or database access an administrator password can be changed directly. This should be done carefully and only by someone authorised.
Why does the WordPress login keep redirecting?
A mismatch between the site address settings, a caching or security plugin, or cookie handling usually causes the loop.
Does being locked out mean I was hacked?
Usually not, but unknown administrators or changed content are warning signs worth checking.
Ready to get your website sorted?
Based in Warrnambool, Victoria, helping Australian businesses online. Tell us what is happening.
Tell your mate what's going wrong.
Send us a few details and we’ll work out the next step. Please don’t include passwords or payment details.
- Australian support in plain English
- Clear scope and next steps before chargeable work
- Backup and recovery plan before live changes
