🔥 Just Launched! Werra Premium Template for HyväSee it in Action

How to Create New Admin User in Magento 2

By Sanjay JethvaUpdated on May 21, 2025 3 min read

Sometimes, Magento 2 store is managed by multiple people. There may be the requirement when all the store managers don’t need the full rights or the store owner may need to limit access to managers based on their responsibilities. Also, there is the time when you require providing the temporary access to your store. It’s when you require to create new admin user in Magento 2.

Creating multiple admin users simplify the store’s administration and management. Each admin plays a unique role in the store’s functioning. After done with this inMagento 2 create admin menu which will help you access any custom page in the admin panel.

Losing admin passwords is also a possibility when these methods will be useful to you!

Methods to Create New Admin User in Magento 2:

1. Using the Command Line

Launch the SSH terminal and connect to your Magento 2 store. Go to the root directory of your Magento 2 store and run the below command:

php bin/magento admin:user:create --admin-user=admin --admin-password=admin123 [email protected] --admin-firstname=the --admin-lastname=meetanshi

When the execution of the command is completed, the success message is displayed.

2.  Using the Admin Panel

  1. Login to admin panel and navigate to System -> All Users.
  2. On clicking Add New User, you’ll land on the user information tab, where account information is to be filled.
1_added-users
  1. Activate the account and input the password.
2_Add-new-user
  1. Assign the user role as per your requirement as shown below.
3_User-role
  1. Save the user and its done!

Hopefully, you’d get the solution you’re looking for!

Thank You!

Sanjay Jethva Full Image
Article bySanjay Jethva

Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe. His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.