WordPress never stores your plain text passwords. It stores a one-way hash of each password, and that is for a reason: if someone hacks your database, they won’t know what passwords you and your users were using. That’s a relief, considering many of you use the same passwords for a bunch of websites (like your Google account login).
So if you ever forget your WP user password, you will need to reset it and create a new one. If you are locked out completely, you can also add a new admin user with phpMyAdmin.
Think your site has been hacked? We remove the malware, close the hole it came through and lock the site down for a flat $249. See malware removal →
Older versions of WordPress hashed passwords with phpass, which is based on MD5 but adds a random salt to every password and runs the hash thousands of times, making it extra difficult for a hacker to crack or reuse it. Since WordPress 6.8 (April 2025), new passwords are hashed with bcrypt, which is stronger again, and older MD5-based hashes are upgraded automatically the next time each user logs in.
The WordPress Security Keys that can be found inside your wp-config.php file are a different kind of salt: they protect your login cookies, not your stored passwords. Security Keys are unique for each WP installation and can be regenerated through the WordPress Secret Keys API. Changing them logs every user out, which is a quick way to end stolen login sessions after a hack.
Strong, unique passwords and two-factor authentication still matter, because no hashing method can protect a weak password. Read more about securing WordPress login credentials.
We had a new client who couldn’t access their WordPress dashboard and all of their blog posts were missing. … FixMyWP quickly solved the login issue and repaired the WordPress database.
Think your site has been hacked?
We remove the malware, close the hole it came through and lock the site down. Flat rate of $249, usually done the same day or within 24 business hours.
