VPS Tutorials
Forgot your WordPress admin password? Reset it when the email never arrives (2026)
Recover access to a self-hosted WordPress site using email, another administrator, hosting tools or phpMyAdmin. Identify the right database and user, apply the manual reset correctly, and separate password problems from login errors.

Start with “Lost your password?” on your site's login page. If the email never arrives, check whether another administrator or your hosting tools can help. Use a database reset only when you have the correct access and can identify your account. A reinstall is usually unnecessary.
This guide covers self-hosted WordPress on a VPS or other hosting. For a WordPress.com-hosted account, follow its official account recovery process instead of these database steps.
| Situation | What to try |
|---|---|
| You can use the email address attached to your user account | Request a reset link from your site's login page |
| Another trusted administrator can still sign in | Ask them to verify your account and set a new password |
| You can access the hosting account | Check existing-site management tools or contact support |
| You have access to the correct database | Back up, then reset the specific user in phpMyAdmin |
| The login page returns 404, 403 or redirects repeatedly | Investigate the login URL or access problem |
| The password works but two-factor authentication blocks entry | Use the second factor's recovery process |
Your hosting, database and WordPress passwords are separate credentials.
For a default installation at the domain root, the login page is usually https://example.com/wp-login.php. A subdirectory installation or customized login URL requires its actual address.
- Open your own site's login page and choose “Lost your password?”.
- Enter the username or email recorded for that user account.
- Check the matching mailbox, including spam, filters and quarantine.
- Follow the reset link and choose a unique new password.
- Return to the login page and sign in.
The normal message contains a reset link, not your old password. Prefer the newest requested message; request another if the link is expired or invalid.
The user account's email can differ from the site's administration email under Settings and from the address used to purchase hosting. The official login handbook describes the normal recovery route.
Try requesting by username if you are unsure which address is stored. Check mailbox rules, capacity and any business-email quarantine. A trusted administrator may be able to confirm the stored address.
A request confirmation is not proof that the message reached the inbox. Site mail configuration or downstream rejection can interfere. The WordPress mail reference distinguishes successful processing from actual receipt.
When you cannot enter the dashboard, installing mail plugins is not the immediate recovery step. Restore access through another available route, then investigate sending configuration and delivery logs.
A trusted administrator on the same site can open Users → All Users, identify your account, edit it and use the password-setting control before saving.
Verify the username and email first. Exchange any temporary password privately and change it yourself after signing in. This is also covered in WordPress's learning material.
If you remain signed in on another device, check whether your profile allows a password change before logging out of that usable session.
Some managed hosts provide WordPress account or password controls. A plain VPS does not necessarily include them.
Select the existing installation and verify its domain and location. If you cannot identify an appropriate control, ask hosting support to assist after verifying ownership.
A one-click installation button is not a password reset button. Avoid reinstalling over the existing site or rolling the entire server back simply to change a password: that can replace newer posts or orders.
Only administer a site you own or are authorized to manage. Back up its database before editing. If the database or user is uncertain, ask the maintainer to handle it.
Check DB_NAME and $table_prefix in the site's wp-config.php. Some deployments read these from environment variables, so inspect the actual application configuration when needed. The official configuration guide explains these settings.
A prefix of site_ usually means the users table is site_users, not wp_users. Be especially careful when several installations share one hosting account. Keep database credentials and complete configuration files out of public support posts.
- Open phpMyAdmin through your hosting tools and select the verified database.
- Open its actual users table.
- Match
user_loginanduser_email; do not assume the account is named admin or has ID 1. - Choose Edit for that row.
- On the
user_passrow, select MD5 in the Function menu and enter a newly generated strong password in Value. - Confirm that you changed only that user's password field, then save.
- Sign in with the same username and the password you entered.
Enter the password itself and let phpMyAdmin apply MD5 once. Do not paste a precomputed hash while also choosing MD5, and do not save plaintext with an empty Function field.
MD5 is a temporary compatibility format for this manual recovery method, not a recommended long-term storage choice. Current official guidance says standard WordPress replaces it with a stronger hash after a successful login. Custom authentication or single sign-on may require its own process.
Compare these steps with the official recovery documentation. A password change does not remove a separate two-factor challenge; use its backup codes or recovery procedure.
- For another password error, recheck the live site's database and account, the MD5 setting and any old password supplied by browser autofill.
- For a 404, verify the subdirectory and any customized login address.
- For a 403 or blocked request, ask the maintainer to examine access restrictions.
- For repeated returns to the login screen, try a private window to exclude stale cookies, then follow login and redirect-loop troubleshooting.
- Without mailbox, hosting or database access, contact the owner or service provider for recovery.
Confirm the user email, save a unique password in your password manager and review other sessions. Enable two-factor authentication where appropriate and keep its recovery codes accessible.
Test site mail so that the next reset request has a working delivery path. Unexpected password or email changes and unfamiliar administrators need a security investigation as well.
For maintenance next steps, see WordPress migration backups and rollback and maintaining a WordPress deployment on a VPS.
Sources checked November 24, 2026. These are documented recovery steps; no password changes, database writes or mail-delivery tests were performed on your site.