How to Reset Joomla! Passwords

How to Reset Joomla Passwords

There are multiple options for how to reset Joomla passwords. The best method depends on the access rights of that Joomla username and your ability to access your database or raw server files.

How to Reset Joomla Passwords

If a regular user can’t log into the Joomla administrator dashboard (/administrator), simply select Forgot your password? from the login module.

Super users will need to use one of the advanced methods below.

For administrators, log into the administrator dashboard and select Users on the left of the page. Then, select the user to create a new password.

How to Change Joomla Password in phpMyAdmin

If you’ve forgotten your Joomla super user password, the “forgot your password” function work won’t. This isn’t an issue if you know how to reset Joomla passwords using phpMyAdmin.

  1. Log into phpMyAdmin.

    Note: If you don’t have Joomla! hosting services through InMotion Hosting or your current host does not use cPanel, please contact your current hosting provider for additional information on how to manage your databases.

  2. Select your Joomla database name in the left menu. The database name will likely include “joom” at the end and include tables with the “jos” prefix.
  3. Select the “_users” table from the center list.
  4. Find the admin account you need to reset and select the pencil edit icon to the left.
  5. To the right of “password” and “varchar(100),” select the drop-down menu. Then select “MD5” to encrypt the password you’ll add in the next step.
  6. In the “Value” field to the right, type your new password.
  7. At the bottom of the page, select Go to apply changes.
  8. Log into the dashboard and immediately change the password to use the correct cryptographic algorithm for your Joomla version.
Change Joomla Password in phpMyAdmin
The password “value” is the MD5 hash of admin’s password.

If you have multiple admin users, it is helpful to know how to reset Joomla passwords with the configuration file. With this method, you elevate an admin user with access to a temporary super user with your configuration.php file.

  1. Log into FTP, SSH, or cPanel Terminal.
  2. Navigate to the document root for your Joomla site.
  3. Edit the configuration.php file. You may need to change the permissions from “444” to “644”.
  4. Add the following to the last line before the closing }:
    public $root_user='adminuser';

    Replace “adminuser” with the name of your other admin user.

  5. Save changes.
  6. Log into Joomla as the temporary super user.
  7. On the left, select Users.
  8. Select the inaccessible super user account name to change the password.
  9. At the top, read the error block at the top and click Select here to try to do it automatically.
  10. Change the configuration.php file back to “444” permissions if applicable.

Learn more from our Joomla Education Channel.

14 thoughts on “How to Reset Joomla! Passwords

  1. After you set up your password in MD5 using phpmyadmin, immediately log into your site and change your password again so it uses Joomla’s hashing method (bcrypt, beginning version 3.2).

Was this article helpful? Join the conversation!