WordPress 6.8 and bcrypt: What Changed for Existing Passwords?
WordPress 6.8 changes how it stores new and updated passwords by using bcrypt, a password-hashing method. Its developer note explains the migration and compatibility details.
Existing passwords don’t stop working after the update, but the change may raise questions for site owners about how older password hashes are handled.
When a user successfully logs in, WordPress can update an older hash without changing the password itself.
Understanding this transition helps explain what the update means for existing accounts.
Do Existing WordPress Users Need a Password Reset?
No, existing WordPress users don’t need to reset their passwords just because WordPress 6.8 introduced bcrypt. You can keep signing in with your current password, and you don’t need to change it solely because of the update.
Existing WordPress users can keep signing in with their current passwords; WordPress 6.8’s bcrypt update doesn’t require a reset.
What you should do
- Keep your password if it’s unique and hard to guess. Don’t reuse it on other sites.
- Change it if you’ve shared it, suspect someone knows it, or use a weak password.
- If you can’t sign in, use the password reset link on your site’s login page, or ask your site administrator for help.
These steps support Existing Account Safety without forcing a reset that you don’t need.
For User Reassurance, remember that a routine WordPress update doesn’t mean your account has been compromised. Use a password manager to store a strong password, and review your account if you notice unusual activity.
How WordPress 6.8 Uses Bcrypt
WordPress 6.8 uses bcrypt to protect passwords when users create or change them, but it doesn’t immediately replace the stored hashes for every existing account. When you set a new password, WordPress stores a bcrypt hash rather than the password itself.
A hash is a one-way result, so your site can check a password without keeping it in readable form.
Bcrypt also makes password checking deliberately costly, which can slow attempts to guess passwords. WordPress uses bcrypt configuration that sets the work factor, or amount of processing required, for each hash.
A higher factor can improve hash resilience, though it also uses more server resources. You don’t normally need to configure this yourself.
Use a unique, long password for your account, and keep WordPress and its plugins updated. Those steps support account security alongside bcrypt.
How WordPress 6.8 Updates Hashes at Login
When you log in, WordPress checks your password against its stored hash. If the password is correct and the hash needs updating, WordPress creates a new bcrypt hash.
It then replaces the old hash securely, without asking you to change your password.
Login-Time Hash Migration
After WordPress 6.8 changes how it stores new passwords, it updates an existing password hash the next time the user logs in successfully. This process is called opportunistic rehashing: WordPress replaces an older hash after a successful login, so you don’t need to reset your password.
The change happens during authentication timing, not through a separate site-wide conversion.
- Your existing password stays the same; only its stored hash changes.
- WordPress updates the hash after it confirms a successful login.
- Users who don’t log in keep their current hashes until a later successful login.
- A password reset isn’t required just to move to the newer format.
You don’t need to run a migration or ask every user to act.
Keep WordPress updated, and the change occurs naturally as users sign in. Failed logins don’t trigger an update.
Password Verification Process
The hash update happens as part of password verification, not as a separate conversion. When you submit your password, WordPress retrieves the saved hash and checks your entered password against it.
In the Password comparison flow, the system uses the hash’s format to choose the right verification method. If the password matches, WordPress can update an older hash during that same login.
- You enter your username and password.
- WordPress checks the stored hash and confirms whether your password matches.
- If the check succeeds and the hash needs updating, WordPress saves a refreshed hash for later logins.
These credential validation layers keep the update tied to a valid password, so a failed attempt won’t trigger it.
You don’t need to change your password or take a separate step. Your next login uses the saved hash.
How Password Resets Work in WordPress 6.8
When you reset a WordPress 6.8 password, WordPress saves the new password as a bcrypt hash the next time you set it; you don’t need to change your existing password just to use the updated hashing.
WordPress 6.8 uses bcrypt for passwords you set or reset; you don’t need to change your existing password.
To reset it, open your site’s login page and select “Lost your password?” Enter your username or account email, then submit the request.
WordPress sends a Recovery email with a Reset link. Check your spam folder if it doesn’t arrive, and confirm you entered the right email address.
Open the link promptly, since reset links expire. On the reset page, enter a strong new password or use the suggested one, then save it.
Choose a unique password you don’t use elsewhere. You can now sign in with the new password.
If you didn’t request the email, don’t follow its link; contact your site administrator instead.
Why Older WordPress Password Hashes Still Work
Because WordPress 6.8 checks passwords against both newer bcrypt hashes and older hashes, existing accounts can keep working without a password change.
When you sign in, WordPress verifies your entered password using the format stored for your account. That’s Legacy Hash Compatibility: older credentials remain usable while WordPress handles the shift.
- You don’t need to reset your password just because your site updates.
- Your stored hash isn’t the password itself, so WordPress checks your entry against it.
- A successful login can let WordPress update an older hash to the newer format.
- Password Hash Portability matters when you move a site, keep its user data and compatible password hashes together.
If login fails after an update, check your username, password, and site migration details first.
Don’t edit database hashes manually; use the password reset process if needed. WordPress can’t recover a forgotten password from a hash.
What Bcrypt Improves in WordPress Password Security
Bcrypt improves password security by making each password check more computationally demanding, which can slow attackers who try large numbers of guesses against stolen password hashes. That added work increases Brute Force Resistance, because an attacker needs more time and computing power to test each guess.
It doesn’t make a weak password strong, though, so you should still choose a long, unique password for every account.
If Credential Theft exposes your site’s password database, bcrypt can make the stolen hashes harder to crack than fast, older hash formats. This protection matters most when attackers try guesses offline, without triggering your login limits.
WordPress can also increase the cost of checking a password as hardware improves, helping hashes stay useful over time. You should still use multifactor authentication, limit login attempts, and protect backups, since bcrypt can’t prevent every route to account access.
Can Plugins or Custom Code Break Password Login?
Bcrypt protects stored passwords, but plugins or custom code can still disrupt login if they use outdated hashing functions or replace WordPress’s password checks.
Most sites won’t have this problem, but older login tools may expect a different hash format or handle passwords incorrectly.
Most sites are unaffected, but outdated login tools can mishandle passwords or expect incompatible hash formats.
- Plugin hash compatibility: A plugin that creates or verifies passwords with obsolete methods may reject valid credentials, even when WordPress stores them correctly.
- Custom authentication hooks: Code that changes login filters can bypass WordPress’s normal password verification or return a failed result too soon.
- Migration tools: A tool that rewrites password records without preserving supported formats can leave accounts unable to sign in.
- Login replacements: A custom login system may not follow WordPress’s password-checking process, so confirm it supports current hashes.
If you maintain custom code, use WordPress’s built-in password functions and test affected login flows before relying on them.
Don’t replace password checks casually.
What to Check After Updating WordPress 6.8
After updating to WordPress 6.8, test a few existing accounts to confirm they can still sign in, then check any plugins or custom login code that handles passwords.
Checks to make
- Sign in with accounts that use different roles, such as subscriber and administrator. Confirm each can log in, log out, and reset a password.
- Run plugin compatibility checks, especially for security, membership, and login plugins. Review their settings and test custom login forms, too.
- Check your error logs for password-related warnings, and review failed-login reports. A failed attempt alone doesn’t prove the update caused a problem.
- If you manage multiple sites, complete a multisite update review. Test logins on each site and confirm shared user accounts work as expected.
If a login fails, verify the username and reset the password before changing code. Test fixes on staging first.
Frequently Asked Questions
Does Bcrypt Affect WordPress Performance on Shared Hosting?
Yes, bcrypt can add slight bcrypt login overhead, but you’ll rarely notice it on shared hosting. Your shared hosting capacity and traffic matter most; WordPress only checks passwords during login, not every page view.
Can Administrators Change the Bcrypt Cost Factor in WordPress?
WordPress doesn’t provide a dashboard setting for bcrypt’s cost factor. Developers can adjust password-hashing options using the wp_hash_password_options filter; test any change carefully for security and compatibility.
Does Bcrypt Protect Passwords if a Database Backup Is Stolen?
Bcrypt puts a lock on stolen password hashes, but attackers can still try guesses offline. You’ll face backup breach consequences; strong, unique passwords improve password cracking limits, though weak passwords remain vulnerable. Rotate exposed credentials promptly.
Are WordPress Application Passwords Stored Using Bcrypt?
No. New application passwords use a fast BLAKE2b-based hash in WordPress 6.8, while existing portable hashes continue to work. Use HTTPS for API requests: the application password is sent for verification.
Does WordPress 6.8’s Bcrypt Change Affect Multisite Installations?
Yes—WordPress 6.8’s bcrypt change affects your multisite network too, like a new lock across every door. Network wide password upgrades happen as users log in; Multisite login compatibility remains, and existing passwords still work.
- Password hashing
- Plugin compatibility
- WordPress security
About the author
Vladimir Mrkela
Senior WordPress Developer
I’m a senior WordPress developer and co-founder of Pixel Industry. I’ve spent more than 12 years building websites, custom plugins, and integrations for all kinds of projects. I enjoy working on complex architecture, solving tricky problems, and sharing what I learn along the way.