1. Overview
  2. Start simple
  3. Steps (1 of 2)
  4. Steps (2 of 2)
  5. If a plugin is the cause
  6. Questions
  7. More questions
  8. Next
Help / WordPress

Locked out of WordPress? Get back in.

Most lockouts come from a forgotten password or a plugin that misbehaves. Both can be fixed from cPanel.

Open notebook with a fountain pen under a brass desk lamp
Start simple

The reset link first.

On the WordPress login page, select Lost your password and enter your username or email address. WordPress emails a reset link. If the email never arrives, the address on the account may be wrong, or mail from your site is being filtered. Check spam, then try the database method below. Before editing the database, make your own copy: in phpMyAdmin, select the database, choose Export, and save the file to your computer.

Steps (1 of 2)

Resetting it in the database, step by step.

  1. Log in to cPanel and open phpMyAdmin from the Databases section.
  2. In the left list, select your WordPress database. Use the name stored in wp-config.php if you are not sure.
  3. Open the table ending in _users. The default name is wp_users.
  4. Select Edit next to your administrator row.
Steps (2 of 2)

Step by step, continued.

  1. Find the user_pass field. In the Function column, choose MD5, then type a new long password into the Value box.
  2. Select Go to save.
  3. Sign in at yourdomain.com/wp-admin with the new password. WordPress upgrades the stored password on login. Then change it again under Users, Profile.
Brass padlock on dark metal
If a plugin is the cause

Turn off all plugins.

In File Manager, open public_html, then wp-content. Rename the folder plugins to plugins-off. All plugins switch off, and the login page often works again. Sign in, rename the folder back to plugins, then reactivate plugins one at a time to find the culprit. A login-protection plugin that blocks your own address is a common cause.

FAQ (1 of 2)

Common questions.

How do I reset my WordPress password without email?

Use phpMyAdmin in cPanel. Open the _users table of your WordPress database, edit your administrator row, set the user_pass field using the MD5 function with a new password, and save. Then sign in at /wp-admin.

Why can I not log in to WordPress even with the right password?

A plugin may be blocking the login, or a saved copy in your browser may be stale. Rename the plugins folder inside wp-content to turn all plugins off, then try again in a private browser window.

FAQ (2 of 2)

More questions.

Where is the WordPress login page?

Add /wp-admin to the end of your domain, for example yourdomain.com/wp-admin. Some sites change this address with a plugin. If yours does, turn the plugin off using the plugins folder method above.

Next step

Still locked out? Open a ticket or call (828) 770-9428.