PrestaShop admin password: recover access the dashboard

This PrestaShop tutorial suggests ways to recover access to the PrestaShop admin panel.

If you forget your admin password, you can reset your password by e-mail. This is the easiest way to change the admin password.

In case this option is not available, you may want to reset the password in the database manually via Control Panel to access the Admin Panel. For example, the e-mail method that you have integrated into the Prestashop website does not work correctly.

Prestashop Admin: Recover Access

2 simple ways:

Recover Access to Prestashop Admin Dashboard in database

This is the way I usually use it for my demo store. Here we manually reset the password in the database. Follow this step-by-step tutorial:

  • Step I: Open and edit your-website/config/ file (Prestashop 1.5, 1.6), or your-website/app/config/parameters.php (Prestashop 1.7) using your file manager tool from cPanel or an FTP client.
  • Step II: Find the COOKIE_KEY (cookie_key : Prestashop 1.7, PrestaShop 8), and then copy the long alphanumeric value that follows.

    PrestaShop Parameters

  • Step III: Remember the value of the _DB_NAME_ variable (or database_name : Prestashop 1.7, 8). It is the name of your PrestaShop database.
  • Step IV: Use a database manager (for example phpMyadmin), click the name of the PrestaShop database that you got in step III.

    PrestaShop database

  • Step V: Open the ps_employee table.
  • Step VI: Edit the row for the administrator login that you want to reset.
  • Step VII: Find the passwd row. Put into the Value field your new administrator password after the alphanumeric value you got in Step II. Please remember there should not be a space between the two values.

    For example 3453kfhdjkfsjkfsdmynewpassword.

  • Step VIII: Choose MD5 in the Function list box for the passwd lines. Click save/go button of the application.

Reset the PrestaShop admin password by email

This is the simplest solution:

Back Office PrestaShop

  • Step I: Click on Lost password on the login screen of the PrestaShop administration panel.
  • Step II: Fill in the Email address field the administrator's email address. Then the new password will be sent to the admin email address.

How to get the PrestaShop admin URL?

You can navigate the Admin panel URL by typing your website address plus the admin folder name as the link on your browser. Let's say you renamed the folder admin to "mybackend" after deleting the PrestaShop installation directory on the last step of the installation processing for security reasons. So you should visit my-website/mybackend to see the login page of the PrestaShop dashboard. Learn more about the PrestaShop Admin Login URL.

Prestashop Admin URL

PrestaShop email?

But sometimes, it's not working. Do you know what? We usually use an SMTP account for sending the email on the PrestaShop store. Sometimes we forgot to set up these values inside the PrestaShop back office and only use PHP's mail() function. In some cases, this function has been disabled by your PrestaShop hosting provider. Discover How to set up PrestaShop SMTP Parameters for sending PrestaShop email without using any module.

PrestaShop SMTP Parameters

Updated November 2022

This tutorial is also working with PrestaShop 8.

Now you can use the new password as login information to access the Back Office Admin Dashboard to install a new PrestaShop theme or manage any orders on your shop.

Note: Recently, we discovered a new issue on accessing Admin Dashboard and here is the solution for PrestaShop Login: Successful login, PrestaShop Automatically log out.

Get this Advanced Cart Rules module

New module.

Xleft module

Xleft shows customers how much more they need to spend to get free shipping in real time.

Latest modules update!

DocumenThemix 3.3.7 ⊙
Compatible with PrestaShop 8.

ChargeMe v5.4.1 ⊙
Clear the cart & redirect to the checkout page.

Age Restriction - 18+ v2.3.6⊙
Fix page assignment issues.

Newsletter Popup v3.2.5 ⊙
Enhance the level of security.

JumptoCheckout v.2.1.1 ⊙
Fix the deleting product issue.

PrestaSOO team
Everything you need to make a living doing work you love.


It is a wise investment

PrestaShop modules we created first to solve the problem of our own business - an e-Commerce site. That means they are very useful for serious business. If you value your web property, these modules are a wise investment.
Sarah Reeves, App Developer @ PrestaSOO
Made with in Paris & Hanoi
PrestaSOO © 2024. All rights reserved. // Privacy Policy Terms of Service