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

How to Create a New Root Category in Magento 2

By Sanjay JethvaUpdated on May 22, 2025 3 min read

Magento 2 serves as a platform to businesses from clothing to machinery, beauty products, tutorials, etc. You name a niche and a Magento developer can create a store for you!

Such capabilities come with flexible and customization capability of the CMS.

Today, I’ll talk about one such feature to create a new root category in Magento 2.

Root categories in Magento 2 acts as a container for the main menu in Magento 2.

You can use this solution when you have multiple stores and want to display different categories as a root category in each store. Magento 2 allows you to do so!

Also, if you are carrying out Magento 2 migration owing to the Magento 1 End of Life on June 30, ’20, you will need this solution to add new root category in Magento 2 store.

Note: I highly recommend migrating to Magento 2 for the sake of the store’s security and performance. You can refer the steps to migrate from Magento 1 to Magento 2.

Steps to Create a New Root Category in Magento 2:

Step 1: Add a root category

  • Login to admin panel
  • Navigate to Catalog > Categories
  • Click Add Root Category
  • Assign category name.
  • Enable the category and include in menu action.
  • Save the configuration.
1_Add-Root-Category

Step 2: Add a subcategory of the new root category

  • Select the newly created Category.
  • With the new Root Category, click Add SubCategory.
  • Assign Name. I’ve given Jacket.
  • Enable the subcategory and include in menu action.
  • Save the configuration.
2_Add-Subcategory

Step 3: Choose the new root category

  • Navigate to Stores > All Stores
  • Click Main Website Store
3_Choose-New-Root-Category

  • In the Root Category drop-down menu, select the category you’ve created. In my case, it’s Jacket.
  • Click Save Store.
4_Selection-from-Dropdown

That’s it.Creating table in Magento 2 helps you store and retrieve the data. Not only that, but you can also perform various operations such as insert, update and delete on the table data.

You can also refer to the video tutorial to Create a New Root Category in Magento 2 from our Magento 2 video tutorial series:

Also, do share the post with the Magento community via social media.

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.