How to Reset Your WordPress Password
Click "Lost your password?" on your WordPress login page and use the link WordPress emails you. If the email never arrives, you can set a new password in phpMyAdmin from cPanel, or open a support ticket.
Applies to: cPanel WordPress Blue Arctic Shared Web Hosting (cPanel) and Managed WordPress Hosting; WordPress 7.x
On this page
WordPress can email you a link to choose a new password. That’s the safest method and takes a couple of minutes. If the email doesn’t arrive, you can set a new password directly in your site’s database with phpMyAdmin, a database tool in cPanel.
Method 1: Use “Lost your password?”
- Go to your login page, for example
https://yourdomain.com/wp-login.php. If it doesn’t show a login form, tryhttps://yourdomain.com/wp-admin. If neither works, open a support ticket. - Click Lost your password? under the login form.
- In Username or Email Address, type your WordPress username or the email address on your account, then click Get New Password.
- Open the email from your site (check spam too) and click the reset link.
- Type a new strong password, or keep the one WordPress suggests, and click Save Password.
- Log in with the new password.
Note
On Managed WordPress Hosting, if the email doesn’t arrive, open a support ticket rather than using Method 2.
Method 2: Set a new password in phpMyAdmin
Warning
phpMyAdmin changes your live database, the one your site is using right now. One wrong change can lock out every user or break the site. Change only the one field below, and download a backup of the database first (step 4). If you can’t find a tool named below, or you’re unsure, open a support ticket instead.
- In cPanel, click Files in the sidebar, open the File Manager tab and open your site’s folder (usually
public_html). If you see a File Manager icon instead, click it. - Select
wp-config.phpand choose Open from the More (⋯) menu. - Write down two things. The database name is the second item in quotes on the
DB_NAMEline, for exampledefine( 'DB_NAME', 'example_wp' );. The table prefix is on the$table_prefixline, usuallywp_. - Back up the database: open the Backups tab under Files, and under Individual Components, click Download next to Databases for the database you wrote down (see how to download a backup). If you see a Backup icon instead, click it and click the database’s name under Download a Database Backup.
- Click Databases in the sidebar, click Manage next to the database you wrote down, open the Advanced tab and click Open phpMyAdmin. It opens in a new browser tab. If you see a phpMyAdmin icon instead, click it.
- In the left-hand list, click the database name you wrote down, if it isn’t already open.
- Click the users table: your table prefix followed by
users, usuallywp_users. - Find your username in the
user_logincolumn and click Edit on that row. - Find the
user_passrow. In the function dropdown on that row, choose MD5. - In the box on the same row, delete the long value and type your new password. Capital letters matter.
- Click Go.
- Log in with the new password. WordPress then stores it in a safer form by itself.
How to tell it worked
You can log in at /wp-admin and the dashboard opens. Then make sure the next reset email reaches you:
- Go to Users → Profile.
- Check that the email address on your account is one you can read.
- If you think someone else knew your password, click Log Out Everywhere Else.
- Click Update Profile.
- Go to Users and check the list. If you see an administrator you don’t recognize, open a support ticket.
To change your password later while logged in, use Set New Password on the Profile screen.
Troubleshooting
- The reset email never arrives: check spam and wait a few minutes. If it still doesn’t come, your site may not be able to send email (see WordPress isn’t sending email). Use Method 2 to get back in.
- “There is no account with that username or email address.”: try your username instead of the email address, or the other way round.
- “Your password reset link appears to be invalid” or “has expired”: request a new link and use only the newest email.
- phpMyAdmin has no table ending in
userswith your prefix: you may have opened the wrong database. Check theDB_NAMEline again. - The login page shows a critical error: see how to fix a WordPress critical error.
Still need help?
Open a support ticket from the Client Portal at my.bluearctic.com (see our support page). Include your domain, your WordPress username, which methods you tried, the exact error text, a screenshot and what you already tried. Never include your password.