5 Best Ways to Reset WordPress Password

WordPress is the most secure CMS(Content Management System) if you can manage. There are several ways to secure it, but one of the most important thing isWordPress Security Plugins . As everyone set their password easy way and there are some different ways to set the password. In normal circumstances, you can do it through the WordPress interface. If you forget your password, WordPress has a built in recovery mechanism that uses email. You can reset WordPress password.

But on some hosts mainly free hosting or cheap hosts, especially when email isn’t working right, sometimes you have to take different steps to reset WordPress password.

So here is the best 5 working ways to reset WordPress password. Any one of them will work, and you only need one to succeed. Which method you will use depends on what type of access you still have to your website.


Reset WordPress Password from Admin Panel :

Its the easiest method to reset your password from admin panel, but you need to be logged in. So follow the steps:

  1. From your dashboard go to Users.
  2. Click on Username or Admin name from the list to Edit.
  3. In the Edit User screen, scroll down to Account management and click generate password. After clicking on generate password, it will show you a regenerated password. You can set your password and confirm use of weak password.
  4. Click the UPDATE PROFILE button.

Reset WordPress Password

This way you can change your WordPress password within seconds.

Through the automatic emailer:

Its the default process to reset WordPress password through e-mail system. If you know your username or email in your account, you can use lost password from login menu.

  1. First go to login menu or something like that “http://yoursite.com/wordpress/wp-login.php” .
  2. Click on Lost password link and then you have to put your username or email to confirm.
  3. Then if your given details is right, it will send you an email with reset password link or you will receive a new password.
  4. Once you get your new password, login and change it to something you can remember.

Through phpMyAdmin:

On some hosts, email function doesn’t work. So you have to choose other method. But through phpMyAdmin you can reset WordPress password. But it is kind of risk, if you do something wrong, maybe your site will go down. So carefully follow this steps.

  1. You need to access to phpMyadmin to do this.  If you are using cPanel then you can access from databases. Then select the database that WordPress using and go to phpMyadmin.
  2. Now you will see some table and column. Now look for wp_users” in the Table column and click on the icon for browse.
  3. Locate your Username under user_login.
  4. Your user_id will be shown, click on Edit.
  5. Next to the user_pass is a long list of numbers and letters.
  6. Now you will see password option “user_pass” and write your password in Value column, remember case is sensitive.
  7. Once you have done that, click the dropdown menu indicated, and select MD5 from the menu.
  8. Click the ‘Go’ button to the bottom right.
  9. Now test the new password on the login screen. If it doesn’t work, check that you’ve followed these instructions exactly.


Through WP CLI:

WP CLI is a command line tool for managing your WordPress installation. But you need SSH client to do this.

  1. First move into the /wordpress directory and type      $ wp user list
  2. Find the ID of the user you’d like to update.
  3. Then, update the user           $ wp user update user id –user_pass=$UP3RstrongP4$$w0rd

Through FTP:

If you unable to do above steps, then do this. It is also an easy way to reset WordPress password via FTP, if you’re using the admin user. If you don’t have this ftp software yet, download FileZilla 

  1. Login to your site via FTP.
  2. Go to wp-content and then theme, choose the theme that you are using in your site and active too.
  3. Download the functions.php file.
  4. Edit the file and add this code to it, right at the beginning, after the first <?php:  ==>      wp_set_password( ‘your password’, user id );
  5. Upload the modified file back to your site using FTP.
  6. After you are able to login, make sure to go back and remove that code. It will reset your password on every page load until you do.


Jyoti Prakash Ray

Jyoti Ray is the founder of WPMyWeb.com. He writes about Blogging, WordPress tutorials, Hosting, Affiliate marketing etc. He mostly spends times on blogging, reading books and cooking.

Leave a Reply

Notify of

Send this to a friend