I forgot my admin password
Use "Forgot your password?" on the site's login page. No reset email arriving? Use one of the official recovery methods: a temporary Super User in configuration.php, or a reset in phpMyAdmin.
Which method to use
If your account has a working email address and your site can send mail, the normal reset link is the quickest. If not, Joomla documents two recovery methods that need access to your hosting: one through configuration.php, one through the database.
1. With email
- Open your site's login page and click Forgot your password?.
- Enter your account's email address and follow the link in the email to set a new password.
2. Temporary Super User (configuration.php)
- You need another account in the Manager or Administrator group whose password you know.
- Set
configuration.phpto 644 and addpublic $root_user='thatusername';before the last closing brace. - Log in with that account: it now acts as a Super User. Change the Super User's password in Users → Manage.
- Remove the line again: use the link "Select here to try to do it automatically" in the alert, or delete it by hand.
3. phpMyAdmin
- Open phpMyAdmin from your hosting panel and the table ending in
_users. - Edit your account. In the
passwordfield enter the value from the official guide that stands for the temporary password "secret", or choose the function MD5 and type a temporary password. - Log in, then change the password in your profile straight away. Joomla stores it securely again.
If you didn't forget the password but it stopped working, check Users → Manage for Super Users you don't know, and change every administrator password.
Good to know
- Joomla 6 still accepts an MD5 password set in phpMyAdmin and upgrades it at your next login; Joomla 7 will remove that.
- Admin Password Recovery – Joomla User Guide
- User Password Reset – Joomla User Guide