Home » Tutorials For Beginner » 2 methods to reset Magento admin password

2 methods to reset Magento admin password

Sometimes you may forget your Magento admin password and you don’t know how to reset. In this tutorial for beginners, we’re going through 2 methods to reset admin password in Magento.

Method 1. Reset Magento admin password using Magento password recovery feature (email)

This is the quickest way to reset your Magento admin password, you will receive your new password via email. To do this, first open Magento login page > Click on Forgot your password

magento login pageNow you will enter a new page where you can enter the email you want to receive your new Magento password

enter email to reset magento admin password

Simply, enter your email and click on: Retrieve password button. Now open your email to get your new password.

Method 2: Reset Magento admin password via PHPmyadmin

If you cannot reset your Magento admin password via email, don’t worry, we will use PHPmyadmin. This method is a bit more complicated but we will go step by step.

First, access your PHPMyadmin tool. Normally PHPmyadmin is integrated in your Hosting Control Panel, for example, in Cpanel

phpmyadmin cpanel magento


Next, in the left-hand pane of phpMyAdmin, click the Magento database. A list of tables in the database appears, now you just need to select  mg_admin_user table and edit

choose admin user database magento

In the next page, you will be able to change your admin account info like email, password, username

enter your new magento admin password

Remember to choose MD5 for your Password and enter your new password

After all is set, click on Go button to save your new Magento admin password. Now you will be able to login to your Magento admin with your new password.

If you have any question, feel free to let me know.

About Brian Wilson

Brian is a freelance Magento developer with 5 years of experience with customizing Magento extensions, magento themes. He's interested in sharing Magento Tutorials to the community


  1. avatar

    thank you brian , this is really great article

  2. avatar

    Thanks for sharing Brian,
    A good tip while dealing with passwords in Magento would be to change them at least 2 times a year. This offers an added layer of security.

    By the way, I really liked that you had a lot of graphics attached to the post – a nice touch, which makes the topic might easier to digest.

Leave a Reply to دوربین مداربسته Cancel reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Scroll To Top