Skip to content
0850 554 5439 [email protected]

What do you need help with?

Search the guides and tutorials, or browse the categories.

Forgot your WordPress admin password? Reset it from cPanel and fix login problems

Shared Hosting 22 views Step-by-step guide Last verified: Markdown
What you will learnFour ways to reset your password when you can't log in to the WordPress dashboard (wp-admin): by email, from WordPress Manager by Softaculous, from the Softaculous installation settings and, as a last resort, from phpMyAdmin. We also fix the most common login errors.
Time7 minutes

1. Which method should I use?

Situation Easiest method
You can read the admin email inbox Section 2: WordPress's "Lost your password?" link
The site was installed with Softaculous Section 3: WordPress Manager by Softaculous → Manage Users
The site is in Softaculous but section 3 didn't work Section 4: Softaculous Edit Installation Details
The site was installed by hand or isn't in Softaculous Section 5: phpMyAdmin

None of these shows your old password; WordPress stores passwords in a form that can't be reversed. You can only set a new one.

2. Reset by email (fastest)

  1. Open https://yourdomain/wp-login.php in your browser.
  2. Click Lost your password? below the login box.
  3. Enter your username or admin email address and click Get New Password.
  4. Set a new password with the link in the email you receive.

If nothing arrives within a few minutes, check your spam folder. If it still doesn't come, the admin email may be old or wrong; use the next method.

3. Change the password in WordPress Manager by Softaculous

  1. In cPanel, click WordPress Manager by Softaculous in the Software section.
  2. On the WordPress Management screen, find your site's row and click Manage Users.
In WordPress Manager by Softaculous, click Manage Users on your site's row.
  1. The window opens on the Change Password tab.
  2. Pick your admin user in the Username list. The list shows each username with its email address, so it also tells you which user you log in with.
  3. Type a new, strong password in Password, or generate one with the key icon. Show lets you check what you typed.
  4. Click Save.
On the Change Password tab, select the user, enter the new password and click Save.
  1. Log in at https://yourdomain/wp-admin/ with the new password. In an emergency, the Login button on the same screen opens the dashboard without a password; once inside, change your password under Users → Profile.
Info

The Add User tab in the same window creates a new administrator. If someone on your team needs access, use this instead of sharing your own password.

4. Change the password in the Softaculous installation settings

Use this when the window in section 3 doesn't open or the user list is empty.

  1. Open Softaculous Apps Installer in cPanel and click the box icon in the top menu to open the installation list.
  2. In Scripts Installations, click the pencil icon on your site's row.
Alternative: open Edit Installation Details with the pencil icon on the site's row in the installation list.
  1. On Edit Installation Details, scroll down to the Admin Account section.
  2. Enter the WordPress username whose password you want to change in Admin Username.
  3. Enter the new password in Admin Password.
  4. Click Save Installation Details at the very bottom of the page.
In Admin Account, enter the username and the new password, then click Save Installation Details at the bottom.
Warning

Don't touch Database Name, Database User or Database Password on this page. They keep Softaculous connected to the site; wrong values break backups and updates.

5. Change the password in phpMyAdmin (last resort)

If the site wasn't installed with Softaculous, or the methods above didn't work, you can change the password in the database. Back up the database first (B36).

  1. In cPanel, click phpMyAdmin in the Databases section.
If you can't use Softaculous, open phpMyAdmin in the cPanel Databases section.
  1. Open your site's database in the left-hand list. If you're not sure which one it is, check the DB_NAME line in your site's wp-config.php in File Manager.
  2. Click the table whose name ends in _users (for example gp_users or wp_users; the prefix depends on your site).
  3. Click Edit on your admin user's row.
Open the table ending in _users in the site's database and click Edit on the admin user's row.
  1. On the edit screen, find the user_pass row.
  2. In this row's Function list, select MD5.
  3. Delete everything in the Value box and type your new password as plain text.
  4. Click Go at the bottom of the page.
On the user_pass row choose MD5 in Function, type the new password in Value and click Go at the bottom.
  1. Log in with the new password. WordPress automatically converts it to its own secure format on first login.
Warning

Don't change other fields in the table and don't delete the row. If you forget to select MD5 under Function, the password is saved as plain text and login fails; repeat the steps with MD5 selected.

6. The password is right but I still can't log in

Symptom Cause Fix
"Too many failed attempts" or a temporary block A login-limiting plugin (e.g. Loginizer) locked you out for a while Wait for the stated time. If it happens often, paste your password from a password manager.
You're sent back to the login page after logging in Browser cookies or cache Clear your cookies or try a private window.
The login page redirects to another address The site address (siteurl/home) still points to an old domain Correct siteurl and home in the _options table in phpMyAdmin, or open a support ticket (A08).
Submitting the login form returns 403 The firewall blocked the request by mistake Follow guide B09.
wp-admin shows a white page or "critical error" A broken plugin or theme, or an incompatible PHP version Disable your most recent plugin under Manage Plugins in WordPress Manager; for PHP see B34.
The reset email never arrives Wrong admin email or mail delivery failing Use section 3 or 4, then fix the admin email under Settings → General.

7. FAQ

Can I see my old password?

No. WordPress stores passwords in a form that can't be reversed; neither you nor our team can see the old one. You can only set a new password.

I've also forgotten my admin username. How do I find it?

The Manage Users window in WordPress Manager by Softaculous lists usernames with their email addresses. The user_login column of the _users table in phpMyAdmin shows the same.

Does resetting the password affect my content?

No. Only that user's password changes; posts, pages and settings stay as they are.

Can the Gyro team reset my password?

You can do every method in this guide yourself from cPanel. If you get stuck, open a support ticket and tell us which step you were on and what you saw; never put your password in the ticket.

What else should I do for security?

Use a password of at least 12 characters that you share with no one, avoid the admin username, and keep plugins and themes updated. If you suspect your site has been compromised, see B40.

Did you know?

On Gyro hosting plans, WordPress sites installed with Softaculous can be backed up, cloned and staged from the same screen. See guides B36 and B37.

Next step

  • B40: My WordPress site was hacked: clean-up steps
  • B31: Installing WordPress in cPanel
  • B36: Backing up a database with phpMyAdmin
Was this helpful?

Thanks for your feedback!

Still Need Help?

The support team is here around the clock for anything you can't find in the knowledge base.