WebsiteTrouble.com Logo

WebsiteTrouble Blog · Platforms: WordPress, Webflow, Shopify

Locked Out of WordPress: How To Get Back In

Forgotten password, dead email, security plugin lockout or lost two-factor. The routes back into your own WordPress site, and how to secure it after.

Being locked out of your own WordPress site is a special kind of panic. The business is running, the site is up, but you cannot get into the dashboard to change a price, fix a typo, or post anything. The good news is that lockouts are almost always solvable. WordPress has more than one door, and when the front door is shut, there are side doors. Here is how I get owners back in.

Start with the boring stuff

Before anything technical, rule out the simple causes. Caps lock on. The wrong site entirely, which happens more than people admit when they have a staging copy. A password manager filling in an old password. And the classic: you are typing the right password into the wrong username, because WordPress shows the username in your profile but you log in with an email on some setups. Two minutes here saves an hour later.

Forgotten password, dead email address

The password reset link only works if you can still read the email address on the account. Plenty of owners cannot. The account was set up years ago by a developer, a former employee, or an inbox that no longer exists. The reset email goes nowhere and the loop never ends. This is recoverable. Your hosting account controls the database, and the password can be reset from that side. It is careful work, not hard work, and it is one of the most common lockouts I see. If your site has bigger problems too, my post on the first fixes I reach for when a WordPress site breaks covers where I start.

Lockouts from security plugins

Security plugins protect your site by blocking repeated failed logins. The trouble is they do not know the difference between a bot and you, standing there typing the wrong password six times. The block might be by IP address, by username, or a temporary freeze that resets in an hour. Some plugins also rename the login page, and owners forget the new address and conclude the dashboard is gone. It is not gone. It moved. Knowing which plugin is installed tells us which lock you are looking at.

When two-factor is the problem

Two-factor authentication is good security right up until the phone with the authenticator app gets replaced, lost, or wiped. Then the correct password still does not get you in. Most two-factor plugins have a recovery path through the hosting account or the plugin files themselves, and there are also backup codes, if past you had the foresight to save them. Either way, this is fixable without rebuilding anything.

The side doors: hosting and database

When every normal route fails, the hosting account is the master key. From there you can reach the files and the database, reset the admin password directly, create a brand new admin account, or temporarily disable the plugin that is doing the locking. I walk owners through this live, and I explain each step before I take it, because it is your site and you should know which door we used. My full WordPress troubleshooting guide covers more of these recovery routes in detail.

Secure it once you are back in

Getting in is only half the job. Before we call it done:

  • Set a new, unique password you have never used anywhere else.
  • Fix the email address on the account so the next reset actually reaches you.
  • Turn two-factor back on, and save the backup codes this time.
  • Delete admin accounts nobody recognizes, and check the user list for surprises.
  • Confirm the site still loads and the contact form still works.

That last check matters. An unfamiliar admin account can mean the lockout was not an accident.

Lockouts are one of the fastest live sessions I run. You share your screen, we work through the doors in order, and most owners are back in their dashboard the same sitting, watching every step. It is $99 for the first hour, covered by a 30-day warranty. If you are shut out of your own site, here is how to book a repair session.

Rather have it fixed today?

This is the kind of problem I fix live on a screen share, while you watch. A standard fix is $99 for the first hour, same-day emergency help is $299 for the first hour, and every fix carries a 30-day warranty.