Locked Out of Your WordPress Website?
Locked Out of WordPress? Here’s the Simplest Way to Get Back In
Getting locked out of your WordPress website is stressful, especially when your business depends on it. Maybe the password reset email isn’t arriving, a plugin broke your login page, or you’re just not sure which email address is on the admin account anymore. The good news is that in most cases, you can regain access without losing your website.
This guide will walk you through simple steps you can follow, even if you’re not a developer, including how to use phpMyAdmin to update your email address so you can reset your password and log back in.
Step 1: Try the Basic Password Reset First
Before touching the database, try the normal reset process from the WordPress login page. Go to /wp-login.php or /wp-admin/ on your site and click the “Lost your password?” link.
- Enter the username or email you think is on your admin account.
- Check your inbox, spam, and promotions folders for the reset email.
- If nothing arrives after a few minutes, the email on the account may be wrong, or your site may not be able to send emails.
If the reset email never shows up, that’s when updating your admin email directly in the database becomes the fastest solution.
Step 2: Log In to Your Hosting and Open phpMyAdmin
To change the email on your WordPress admin user, you’ll use a tool called phpMyAdmin. This is usually available inside your hosting control panel (cPanel, Plesk, DirectAdmin, or a custom dashboard from your host).
- Log in to your web hosting account.
- Look for a section called Databases or Advanced.
- Click on phpMyAdmin.
- On the left side, select the database your WordPress site uses. (If you’re not sure which one, open your site’s
wp-config.phpfile and look forDB_NAME.)
Once your database is selected, you’re ready to update your user information.
Step 3: Update Your Admin Email in the Database
Now you’ll change the email address connected to your WordPress admin account so you can receive a fresh password reset link.
- In phpMyAdmin, click the table that ends with
_options. - Find your admin email in the list.
- Click Edit next to that row.
- Replace the current email with an address you can access right now.
- Scroll down and click Save or Go.
That’s it—your WordPress admin account is now tied to your new email address. You haven’t changed the password yet, just the email that WordPress will send the reset link to.
Step 4: Use “Lost Your Password?” Again with the New Email
Now go back to your WordPress login page and repeat the reset process:
- Visit
/wp-login.phpor/wp-admin/. - Click “Lost your password?”.
- Enter the email address you just saved in phpMyAdmin.
- Check that inbox for the reset link, then follow the instructions to create a new password.
In most cases, this is enough to get you back into your WordPress dashboard without touching anything else.
Step 5: If You Still Can’t Log In, Check for Plugin Issues
If the password is correct but you’re still blocked from the dashboard, a broken or misconfigured plugin may be causing the issue—especially security, redirect, or login plugins.
You can safely disable plugins without logging into WordPress by using your hosting file manager or FTP:
- Log in to your hosting control panel and open the File Manager.
- Navigate to
wp-content/plugins/. - Temporarily rename the folder of any plugin you suspect (for example, change
wordfencetowordfence-old). - Refresh your login page and try again.
- If you still can’t tell which plugin is causing it, you can rename the entire
pluginsfolder toplugins-oldto turn everything off at once.
If the login suddenly starts working with plugins disabled, you’ve confirmed that a plugin was blocking access. You can then re-enable them one by one inside the dashboard to find the problem plugin.
Step 6: When the Problem Might Be Bigger
If updating your email, resetting your password, and disabling plugins still doesn’t fix the problem, there may be deeper issues:
- Your site could be partially hacked or infected with malware.
- Your hosting environment might have changed (PHP version, security rules, or file permissions).
- Your admin user may have been deleted or changed.
At this point, it’s usually faster—and safer—to get professional help instead of guessing. The goal is to regain access without making the problem worse or accidentally deleting important data.
Need Help Getting Back Into Your WordPress Website?
If you’re locked out of your WordPress website and not sure what to do next, you can describe what you’re seeing below. Mention any error messages, recent plugin changes, or hosting changes, and the AI will help walk you through the best next steps to regain access safely.





