Forgot your WordPress admin password? Reset it from cPanel and fix login problems
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)
- Open
https://yourdomain/wp-login.phpin your browser. - Click Lost your password? below the login box.
- Enter your username or admin email address and click Get New Password.
- 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
- In cPanel, click WordPress Manager by Softaculous in the Software section.
- On the WordPress Management screen, find your site's row and click Manage Users.
- The window opens on the Change Password tab.
- 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.
- Type a new, strong password in Password, or generate one with the key icon. Show lets you check what you typed.
- Click Save.
- 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.
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.
- Open Softaculous Apps Installer in cPanel and click the box icon in the top menu to open the installation list.
- In Scripts Installations, click the pencil icon on your site's row.
- On Edit Installation Details, scroll down to the Admin Account section.
- Enter the WordPress username whose password you want to change in Admin Username.
- Enter the new password in Admin Password.
- Click Save Installation Details at the very bottom of the page.
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).
- In cPanel, click phpMyAdmin in the Databases section.
- Open your site's database in the left-hand list. If you're not sure which one it is, check the
DB_NAMEline in your site'swp-config.phpin File Manager. - Click the table whose name ends in
_users(for examplegp_usersorwp_users; the prefix depends on your site). - Click Edit on your admin user's row.
- On the edit screen, find the user_pass row.
- In this row's Function list, select MD5.
- Delete everything in the Value box and type your new password as plain text.
- Click Go at the bottom of the page.
- Log in with the new password. WordPress automatically converts it to its own secure format on first login.
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.
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
Thanks for your feedback!
