Knowledgebase article

Forgot your WordPress admin password? Three ways back in

Locked out of your own WordPress dashboard? Romeo has three keys for that door. Try them in order.

Key 1: "Lost your password?"

  1. Go to https://yourdomain.com/wp-login.php.
  2. Click Lost your password?
  3. Enter your WordPress username or admin email and click Get New Password.
  4. Open the email and follow the link to set a new password.

No email arriving? Check Spam. If your site can't send email, use Key 2.

Key 2: WordPress Manager by Softaculous (easiest)

  1. Log in to cPanel and click WordPress Manager by Softaculous.
  2. Find your site and click Login. You're in the dashboard without a password.
  3. Go to Users > Profile, scroll to Account Management, click Set New Password, then Update Profile.

Key 3: phpMyAdmin

  1. In cPanel, open Databases > phpMyAdmin.
  2. Click your WordPress database on the left (check DB_NAME in wp-config.php if unsure).
  3. Open the table ending in _users (for example wp_users).
  4. Click Edit on your admin user's row.
  5. In the user_pass row, choose MD5 in the Function column and type your new password in Value.
  6. Click Go.

Log in with the new password. WordPress automatically upgrades it to a stronger hash.

Keep the door locked from now on

  • Use a strong, unique password and an admin username other than admin.
  • Consider a two-factor login plugin.
  • Keep your admin email address up to date under Settings > General.
Was this answer helpful?

Related articles

Still stuck? Romeo's got you.
Our support team replies around the clock, real humans who know your server.