WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have my own Wordpress installation for my infrequently updated blog.

I have a habit of forgetting my password so have to request a new one and reset it every two to three months.

I've done it again today and got the "Password Reset" e-mail (which arrives within seconds of requesting it). Following the link to actually reset the password gives me the "Check your e-mail for your new password." page but that e-mail never arrives.

I've checked my spam folder and there's nothing in that.

What's the quickest way of resetting my password and getting back into my blog? Do I have to go via the database? If so what do I need to reset there?

I should add that the blog hasn't been hacked - I've checked the pages and they're all OK. No spurious links or content vandalised.

share|improve this question
up vote 5 down vote accepted

If you can get to phpMyAdmin (or something equivalent), open the DB and find the wp_users table. Select the appropriate user to edit and change the user_pass field to whatever. Set the function to MD5 and save. You should now be able to log in.

share|improve this answer
Thanks - I wasn't sure that it would accept a plain text password. – ChrisF Feb 1 '11 at 22:49
It doesn't. I think PHPMyAdmin hashes it to MD5 before storing, which was what the MD5 was all about. – Arlen Beiler Feb 14 '11 at 17:10

Codex has good article Resetting Your Password with multiple ways to do it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.