How To Change WordPress Password –7 Easy Ways
You’ve lost access to your WordPress site and don’t know how to get in again. Don’t be panic. Here, I have shared how to change WordPress passwords in 7 different ways.
Do you lose your WordPress password? Or lost access to your WordPress site? Don’t worry. I have shared different ways to change the WordPress dashboard login password here.
Most people put the wrong or inactive email into their WordPress administration, and they don’t have access to their email for a standard password reset.
Here, I have provided different ways to reset the WordPress administration password without an administration email account.
Security is the most important while you are working in the online field. There are many reasons to harm your website, including hacking, Malware files, easy passwords, crack/nulled themes or plugins, and not secure web hosting.
If you want to build your online business success, you have to take care of website security, and when we’re talking about security, first, we have to put strong passwords to access websites.
Always use a very strong password, making it difficult for others to guess. Never use your name or website name for your password; make sure you have a different username that does not match your name and domain name.
Before attempting the WordPress password reset process, you must take your website backup to keep your important files safe.
There are different ways to back up your website; it depends upon you. If you can access your WordPress dashboard, you can take a backup using WordPress backup plugins. And, if you don’t have access to your WordPress dashboard, you can take a backup from Cpanel.
How to Change WordPress Password via WordPress Dashboard
There is a different way to change your WordPress admin login password. Here, I’ll explain how to change the WordPress password from your WordPress dashboard if you already have access to the dashboard. In this scenario, you want to change your password for regular security updates or to keep your website secure from hackers.
This is the easiest way to change your WordPress password if logged in. Here is the simple step you have to complete to change your password from the WordPress admin panel.

Go to Users >> Profile. Here, you can see how many users have on your WordPress website. You can see the administrator and if you have others like user editor, subscriber, contributor, or author.
This guide will show you how to change your WordPress administrator login password from the WordPress control panel.

Click on the edit option to change your password.
Now go to the last of the page, where you can see Account Management with the option New Password.

You can change your WordPress password from here. You can see the WordPress Password Generator button.
When you try to change your password, ensure you have a strong one. If you type your password into the box, you can see suggestions like Very Weak, Medium, and Strong.
Choose a strong password using the WordPress password generator, recommended (don’t forget to save your new password in your note)
Now, click on Update User.

Now, you can get the Profile updated notification on the top of the Profile page.
How to Change WordPress Password via WordPress login screen
You can change your WordPress password from the WordPress login screen through the Lost Password recovery step. Ensure you have a valid Username or Email Address to get your new password for this method. In this method, you will get a new password reset link in your email when you apply from Lost Your Password? Button.
This method required the username and email address, which was used in your WordPress user contact info.
Here is how you can change your WordPress password from the login screen.
Visit your login page (example: www.yourwebsite.com/wp-admin). Now you can see your login dashboard, where username, email address, and password are required to log in.

Check on Lost Your Password? Button to reset your password.

After clicking the Lost your password button, you can see a new page where you can put your username or email address to get a new password.

Once done, you will get a new email with your website name, username, and the unique link to reset your password. Click on the link that you get in your email.

Now, you can see a new page where you’ll get a new password generated by the WordPress password generator.
You can now change your strong password or simply copy the password and click on the reset password button.

At last, you will get a new page and try to log in with your username and new reset password.
How to Change WordPress Password via Softaculous
You can change your WordPress password from the Softaculous apps installer in this method. This is another easy way to change your WordPress administration password. Here, I will share the steps of how you can change your password for WordPress from Softaculous.
Login in your web hosting control panel like CPanel DirectAdmin, where your Softaculous is installed.

Click on Softaculous icon from your hosting control panel

Now you have to go into all installations by clicking all installation icons

After clicking on all installations, you can see a new page to find all your installed WordPress on your hosting account.
Now click on the edit button with the pencil icon.

After clicking the pencil button, you will get a new page with all Installation details available.
At the bottom of the page, you can see the Admin Account section. Here, you have to put your username and the new password, then click on Save installation details.

Now, you will get the notification. The installation details were edited successfully.

Done; you successfully changed your WordPress login password from Softaculous.
How To Change WordPress Password In phpMyAdmin
Here, you can learn how to change the WordPress password in PHPMyAdmin?
This method was tricky, so make sure you have a backup of your website before you proceed.
Login into your hosting control panel, which you use for your website. In my case, I am using Cpanel to reset the WordPress password.

Go to your phpMyAdmin.
After login, you can see the phpMyAdmin dashboard, and you can see different databases for websites.

Select your database for the website to which you want to change your login password.

Ensure your selected database of the website you want to change password is current from (wpis_options). Here, you’ll see the website home page.
Then click on users, and now you can see your users’ details. In my case, there is only one user.

Now click on edit from the pencil button.

You will get a different column with different functions. You have to go in ( user_pass ) to change your password.

You can see the current password in the decoded version. Before changing your password, click on MD5 and enter your new password.

Click the Go button at the bottom of the page to save your new password.

After clicking, you will get a success notification.
How to Change WordPress Passwords via FTP
If you want to change the WordPress administrator password, or can’t log in to your WordPress dashboard and cannot reset the password from the WordPress password recovery function or cannot access the WordPress MySQL database?
Don’t worry; you can change your WordPress login password via FTP.
Sounds good?
You can change your WordPress administrator password from your website FTP login.
Remember that you must keep a backup of your website, and another important thing is your FTP login details required to attempt this method.

Let’s start
- First, you have to install the FTP (File Transfer Protocol) software FileZilla to get access to your website.
- Connect your website with FTP using login details.
- Go to your reboot directory and find your theme location, \wp-content\themes\ directory.
- Download the file functions.php of your WordPress theme.
- Add the below line of code after the first <?php line. The number 1 at the end of the line of code is the user ID of the WordPress user you would like to reset the password for. If you use the default administrator account you created when installing WordPress, the user ID is always 1.
- wp_set_password( ‘password’, 1 );
- Save the changes and upload back the files function.php.
- Once uploaded, navigate to your WordPress dashboard login page, typically https://www.yourwebsite.com/wp-admin.
- Log in to WordPress using the default administrator account name (typically admin) using the password password.
- Once you submit the credentials (try to log in), the login page will simply reload without redirecting you to the WordPress dashboard. This means you have just reset the WordPress administrator password to password. Do not try again and again.
- Before trying to log in again, using the FTP client, download the modified functions.php file from the themes directory.
- Remove the line you have added before, save the changes, and upload the file back.
Now, you can log in to the WordPress dashboard with your administrator account using the password “password.”
How to Change WordPress Password via WP-CLI
WP-CLI is a command line you can use to manage your WordPress website. If you installed WP-CLI on your server to manage your WordPress site, you could change your password by following these steps.
Connect to your server or shared hosting account with SSH
Change to the root directory for your WordPress site.
Ensure you’re in the correct WordPress installation with the following command:
wp option get home && wp option get siteurl
You may start using WP-CLI once you are in the public_html directory. Type this command to view all the users.

wp user list
Now, type this command to update the password of a user you are targeting.
wp user update id --user_pass=password
How to Reset WordPress Passwords Using the Emergency Password Reset Script
This password resetting process with the Emergency Password Reset Script was difficult. If you have a basic knowledge of how to create a PHP file or how to upload PHP files in a web hosting control panel, you can easily change your WordPress administrator password.
Emergency Password Reset Script was given by wordpress.org to reset your WordPress password when you have login control over the web hosting control panel and cannot reset from the WordPress password resetting function phpMyAdmin database.
You can change your WordPress administrator password by following this simple method.
Let’s jump in
- Log in to your web hosting control panel (CPanel or DirectAdmin).
- Find your website root directory where your WordPress website files are located.
- Now, Create a new file called “emergency.php”.
- Copy the script from here

- Paste the entire script into the “emergency.php,” update the values so the file contains your admin’s information, and save.
- After saving emergency.php with the script, open a new browser tab and go to https://yourwebsite.com/emergency.php.

After entering the emergency page, enter the admin’s username. Then, create a new password. Click on “Update Options” when you’re done.
Your administrator should receive a confirmation email with the new password if you used the correct username.
Once the admin has regained access, delete the emergency.php file from your hosting control panel.
That’s it.
Conclusion
I hope you learn how to change WordPress passwords. Here, I have shared 7 different ways to change WordPress administration passwords. You can choose any method for changing your password as per your knowledge & access.
You May Like To Read:-