WordPress ·

Locked Out of WordPress? How to Get Back Into Your Site

By Manu Mathew, Technical Lead Engineer · Published 4 December 2026 · Last updated 4 December 2026

You need to change a phone number on your website, but the password no longer works. The reset email doesn’t arrive. The developer who built the site has moved on, and nobody is sure who pays for the hosting.

Being locked out of WordPress is common, and it is usually fixable without losing anything. The order you work in matters, though, because the WordPress login, the hosting account and the domain are three separate doors.

Quick answer

If you are locked out of WordPress, start with the “Lost your password?” link on the login page. If the reset email never arrives, sign in to your hosting account, where the password can be reset from the database. If the hosting or domain is in someone else’s name, contact that provider with proof that the business owns the site.

Why do business owners get locked out of WordPress?

Usually for ordinary reasons: a forgotten password, an old email address on the account, or logins that only a former developer or staff member ever had.

The first step depends on which situation you are in.

SituationFirst step
Forgotten passwordUse “Lost your password?” on the login page
Reset email never arrivesCheck spam, then reset through the hosting account
Lost the phone used for two-factor sign-inUse your backup codes, or ask whoever manages the hosting
Can sign in but see no Plugins or Users menuYour account has a lower role; ask an Administrator to change it
Developer has left with the loginsAsk them in writing for every login and owner change
Hosting or domain not in your nameContact the provider with proof of ownership
Site may have been hackedTreat it as a security incident first

How do you reset a WordPress admin password?

Use the “Lost your password?” link on the login screen, which emails a reset link to the address on your account.

The login page is normally your web address followed by /wp-login.php. You can enter either your username or the email address on the account. WordPress’s guide to logging in and resetting passwords describes this as the simplest and safest method.

It only works if two things are true:

If the email never comes, the password can be reset from the hosting side instead. The same guide covers tools such as WP-CLI (a command-line tool for WordPress) and phpMyAdmin (a database screen most hosts provide). These change the database directly, so take a backup first.

If that sounds unfamiliar, it is a good point to ask your host’s support team or a developer.

What should you do if your developer left with the logins?

Ask them, politely and in writing, for every login and for the accounts to be moved into the business’s name. Most developers are happy to hand over.

There are usually three or four separate accounts, and you need all of them:

  1. WordPress Administrator – an account in your own name and email, with the Administrator role.
  2. Hosting – the account where the site’s files and database live, and where the bills go.
  3. Domain registrar – the company your web address is registered with. This one matters most.
  4. Email and extras – business email, any paid plugins or themes, and analytics or Search Console access.

Keep the message friendly and specific. A list like the one above makes it easy for a busy person to reply in one go.

If they can’t be reached, don’t panic. The providers below have recovery routes for the rightful owner.

How do you find out who owns your domain and hosting?

Look up the domain’s registrar, then check whose name the account and bills are in. The registered owner of the domain can usually recover it.

A domain lookup service shows which registrar your domain is with. Contact that registrar, explain the situation and ask what proof they need, such as a business registration or old invoices.

For hosting, search your email and bank statements for renewal payments. If the business has been paying, the host has a record of you. If someone else has been paying, ask them to move the account across or to add you as the owner.

What if you were locked out because the site was hacked?

Treat it as a security problem, not a password problem. An unknown admin account or a changed email address is a warning sign.

Change the passwords for hosting and email first, then work through the steps in my guide to a hacked WordPress site. Resetting the WordPress password alone won’t remove anything an attacker left behind.

How do you avoid getting locked out of WordPress again?

Keep every account in the business’s name, with more than one trusted person able to sign in, and write down where everything lives.

How do I help a client who is locked out?

I start by mapping what the client controls and what they don’t, and then recover access one account at a time, with a backup before anything changes.

My usual order of work is:

  1. List the accounts. Domain, hosting, WordPress and email, with what the client can and can’t sign in to.
  2. Secure the domain first. It is the hardest to replace and the one everything else depends on.
  3. Recover hosting, then WordPress. I take a full backup before resetting any passwords.
  4. Check for surprises. Unknown admin users, odd plugins or changed email settings.
  5. Hand over in writing. A short note of every account, who owns it and what changed.

I don’t ask clients to share their passwords with me. I’d rather have my own login that can be removed when the work ends, and that is what I suggest they ask of any developer.

Frequently asked questions

Will resetting my WordPress password delete any content?

No, resetting a password only changes the login for that one account. Your pages, posts, images, orders and settings stay exactly as they were. Taking a backup before a database-level reset is still sensible, because a mistake in the wrong table could cause problems that are harder to undo.

Can my hosting company reset my WordPress password?

Often, yes. Many hosts offer a WordPress tool in their control panel, and their support team can help once they confirm you own the account. If the hosting account isn’t in your name, the host will usually ask the account holder first, so sort out the hosting account before anything else.

What if I lost the phone I use for two-factor sign-in?

Use the backup codes you saved when you set it up. If you don’t have them, another Administrator can often reset it for your account. Failing that, someone with hosting access can temporarily switch off the two-factor plugin so you can sign in and set it up again.

Is it safe to give a developer my admin password?

It is better to create a separate account for them. Give the developer their own login with the role they need, and remove it or lower it when the work is done. That way you keep control, and you can see which account made each change.

My developer won’t hand over the logins. What can I do?

Ask once more in writing, listing exactly what you need. If that doesn’t work, contact the domain registrar and the host directly. They have recovery processes for the rightful owner, and invoices, bank records or business registration documents help show the site belongs to your business.

Need help getting back into your site?

If you’re locked out, or you’d like someone to check that every account is in your name, I’m happy to help. The WordPress websites page covers the work I take on, for businesses in Kozhikode, across Kerala, elsewhere in India and remote.

You can reach me through the contact section, email me at manu@manu.co.in or call +91 75589 09408. Tell me your web address and which logins you still have, and we’ll go from there.

Back to the blog