If you've forgotten or lost your PrestaShop admin password you will need to reset it. You have two options for resetting this password in PrestaShop: the "Lost password" link on the PrestaShop admin log in page, or through your PrestaShop database. In this tutorial, we'll walk you through both options.

Using the Lost password link to reset your PrestaShop password

The Lost password link is the easiest way to reset your PrestaShop password. When you submit your admin email address, PrestaShop will automatically generate a new password and email it to you.
  1. Begin by navigating to your PrestaShop admin log in page.
  2. Under the Log in button, click the Lost password link.


  3. On the next page, enter in your PrestaShop admin email address and click the Send button.


  4. After you see the notification that your password has been sent, check your email account for an email with your new PrestaShop admin password.



  5. Log back into the PrestaShop Admin Dashboard using the newly received password.

If you would like to change the password to one of your choosing, this can be done within the PrestaShop back office. We suggest that you use the Adminstrator to create a new strong password. For guidance, check out our article on How to create a good password. For step-by-step instructions, please see our tutorial on changing your password in the PrestaShop back office.

Resetting your PrestaShop Password Through the Database

There may be times when you either do not receive the password reset email or PrestaShop has trouble sending the email. Fortunately, there is an alternative for changing the admin password through the PrestaShop database using a _COOKIE_KEY_ from the PrestaShop settings file. The _COOKIE_KEY_ is unique for each PrestaShop installation, so it will need to be retrieved from your PrestaShop files and you cannot use the one shown in this example or one from another PrestaShop store.

  1. Begin by logging into your cPanel account.
  2. Before we access the database, we need the _COOKIE_KEY_ from our PrestaShop config/settings.inc.php file. Using the cPanel File Manager, navigate to the folder where you installed PrestaShop (either public_html or a subdirectory of public_html).
  3. Next, navigate into the config folder inside of this directory where PrestaShop is installed.


  4. Select the settings.inc.php file and open it with the Code Editor or Edit option in File Manager. If an Encoding Check notification pops up, just simply click on the Edit button at the bottom of the window.


  5. Inside the settings.inc.php file copy the entire string of characters between the single quotes for the _COOKIE_KEY value. You may find it helpful to paste this into a text editor file (using a text editor like Notepad, TextEdit) while you are working through the rest of the steps.


  6. Close the settings.inc.php file and the File Manager tab.
  7. Back on the cPanel home page, select the phpMyAdmin icon under the Databases area. 


  8. In phpMyAdmin, select your PrestaShop database name from the menu on the left side of the page.


  9. Inside your PrestaShop database scroll down the table names shown in the left menu and select the ps_employee table (prefix may vary if you changed this during the PrestaShop installation).


  10. Click the edit link for your PrestaShop admin user


  11. In the passwd value field paste in the _COOKIE_KEY value you copied earlier from settings.inc.php, followed by your new password. Do not use the example "NewPassword" shown below. This is only used as a placeholder in this tutorial to show you where to place your new password.


  12. In the Function column, select MD5 from the drop down menu


  13. Click the Go button near the bottom of the page.


You've successfully reset your admin password. You can now log into your PrestaShop back office with the new password.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?


n/a Points
2014-07-17 7:05 pm
Following these instructions meant I still cant login but now I get the message
"This employee does not manage the shop anymore"
2,342 Points
2014-07-17 9:11 pm
This means that either the permissions for the user that you are attempting to log in as have been revoked, or the shop no longer exists. Are you able to log in under the administrative user?
n/a Points
2015-06-22 10:59 am

Thanks , it's work for me.

n/a Points
2015-08-12 9:07 pm

thanxsss buddy.................!!!


n/a Points
2015-10-27 1:37 pm

So what is the password after I did this?

Thank you

1,198 Points
2015-10-28 5:05 am

The password would be what ever you typed into the field before selecting MD5 and hitting GO.

Best Regards,
TJ Edens
n/a Points
2016-01-20 1:49 pm

I need to send by email a confirmation link before password change, and after click on link recevived by email then password changes, now the system changes directly the password, how i can patch it?

361 Points
2016-01-20 4:17 pm
This article is specifically related to changing the admin users password. It sounds like you are looking to change the customers password via a URL. http://www.webhostinghub.com/help/learn/prestashop-15-tutorials/managing-your-customers/resetting-customer-password
n/a Points
2016-07-24 10:20 pm
it was brilliant , worked great

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.