A forgotten WordPress password is resolved in most cases within minutes via the built-in recovery function on the login page. If your email no longer works, you can also reset the password directly via phpMyAdmin in Plesk. Below you’ll find both methods step by step, plus how to better secure your site afterwards.
Resetting your password via email
This is the fastest and safest method, and works as long as you still have access to the linked email address.
Go to the login page
Open yourdomain.com/wp-login.php in your browser.
Click ‘Lost your password?’
This link is located directly below the login form.
Enter your username or email address
WordPress will automatically send a recovery email to the linked address.
Open the email
Also check your spam folder if the email isn’t immediately visible.
Set a new password
Choose a long, unique password and save it.
Resetting your password via the database
If the email method doesn’t work, for example because the linked address no longer exists, you can manually change the password via phpMyAdmin. You’ll find this tool in the Plesk control panel under Databases.
Make a backup first
Never make direct changes to the database without having a recent backup on hand.
Open phpMyAdmin
Log in to Plesk, go to Databases, and click phpMyAdmin next to your WordPress database.
Open the wp_users table
Find the row with your user account and click Edit.
Edit the user_pass field
In the dropdown menu, select the MD5 function, enter a new password, and click Go.
Log in with the new password
You can now log in directly to your WordPress admin.
How to prevent this in the future
After recovery, it’s wise to set up a few things so you don’t get locked out again:
- Use a password manager such as Bitwarden or 1Password so you don’t have to remember passwords.
- Enable two-factor authentication through a security plugin.
- Create a second administrator account as backup access.
- Keep your contact email address in WordPress up to date, especially after switching to another host.
- Make sure daily backups are enabled, so you can always fall back on an earlier version of the site if problems arise.
Overview of the methods
The email method is always the first choice: fast, safe, and requiring no technical knowledge. The database method via phpMyAdmin is the alternative when email doesn’t work, but requires care and a backup made beforehand. Both methods are available regardless of which theme or plugins you use, as long as you have access to your web hosting environment and the associated control panel.
Frequently Asked Questions
How long is the recovery link valid?
By default, 24 hours. After that, you’ll need to restart the procedure from the login page.
I’m not receiving the recovery email, what now?
First check your spam folder. If the email still doesn’t arrive, use the database method via phpMyAdmin or check whether your domain is correctly receiving email.
I’ve also forgotten my username, can I find it?
Yes, in phpMyAdmin you can find your username in the wp_users table without changing the password.
Do I need to restore a backup to change my password?
No, that’s not necessary. A backup only contains a snapshot of the database; you change the password directly via WordPress or phpMyAdmin.
Can I create multiple administrator accounts?
Yes, after logging in go to Users > Add New and create an extra account with administrator rights as a backup.
Conclusion
A forgotten WordPress password is usually recovered within minutes via email. If that doesn’t work, phpMyAdmin in Plesk offers a reliable alternative, provided you make a backup first. Afterwards, make sure you have a password manager, 2FA, and up-to-date contact details to prevent this from happening again.