Short answer: Reset your administrator password in seconds via cPanel WP Toolkit, or open phpMyAdmin, find the wp_users table, edit your admin record, and update user_pass with an MD5 hash.
Regain access to your locked WordPress administration account using 1-click WP Toolkit login or resetting the MD5 password hash in phpMyAdmin.
Before you start: Back up your site files and database and download the backup to your own computer. How to take a full backup
Quick reference
| Method 1 (Instant) | cPanel > WP Toolkit > Click 'Log in' button |
|---|---|
| Method 2 (Database) | phpMyAdmin > wp_users table > user_pass column > MD5 function |
| Security Recommendation | Never share admin passwords over unsecured channels |
Steps
- Method 1: 1-Click Login via WP Toolkit (Fastest):
- In cPanel, click WordPress Toolkit.
- Locate your website and click the blue Log in button.
- WP Toolkit automatically authenticates and opens the WordPress dashboard in a new tab without requiring a password.
- Go to Users > Profile inside WordPress and set a new password.
- Method 2: Reset Password via phpMyAdmin:
- Open phpMyAdmin from cPanel.
- Select your WordPress database on the left sidebar.
- Click on the
wp_userstable (prefix may vary, e.g.,wp_5x_users). - Find your admin username and click Edit.
- In the
user_passrow:- Under the Function column dropdown, select MD5.
- Under the Value column, erase the existing hash and type your new plain-text password.
- Click Go at the bottom. MySQL will encrypt the password using MD5 hashing and save it.
Reset WordPress Admin Password via WP-CLI
# Change the admin password in seconds without opening the database
wp user update admin --user_pass="NEW_STRONG_PASSWORD" --path=/home/USER/public_html
Troubleshooting and tips
- Password Not Accepted After phpMyAdmin Edit: You must select MD5 from the Function dropdown. If you type the plain password without selecting MD5, WordPress will treat the plain text as an encrypted hash and fail authentication.
Need more help? If you run into an error while following these steps, open a ticket with technical support and our team will look into it. Open a ticket