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

How to Hide Categories in Magento 2

By Sanjay JethvaUpdated on May 22, 2025 3 min read

Hidden categories in Magento 2 are the categories that are not displayed in the frontend of the store in the navigation menu or in any other place on the store.

A Magento 2 store admin may want to create a hidden category for the administration purpose or hide it from the customers for time being.

Or, he might want to link to a category that is not included in the navigation menu.

Also, if a category is created for future products which are now under development, so there is no point in displaying it to the customers now. So, the admin can hide empty categories in Magento 2 store to avoid any confusion for the customers as well as easily manage the products under development category-wise.

If you are a Magento 2 store admin having any of the above scenarios, follow these steps to hide categories in Magento 2.

Steps to hide categories in Magento 2:

1. Login to admin panel

2. Navigate to Catalog > Categories

3. Select the category that you want to hide from the category tree on the left side.

Screenshot-at-June-10th-2020-11.59.16-am

4. Disable “Enable Category” to deactivate it.

5. Disable “Include in Menu” to hide the category from the navigation menu.

6. Under Display Settings, disable “Anchor

Annotation-on-2020-06-10-at-12-03-25.

7. Save the configuration.

The frontend will not show the “training” category as it is now a hidden category as shown here:

Screenshot-at-June-10th-2020-12.10.13-pm

Moreover, you can add subcategories to the hidden categories and active them as shown below:

1. Login to admin panel

2. Navigate to Catalog > Categories

3. Select the sub-category of a hidden category that you want to activate.

4. Enable Category

5. Under Display Settings, enable “Anchor

6. Save the configuration.

Annotation-on-2020-06-10-at-12-21-31

Here, the subcategories from the hidden parent category won’t be shown in the navigation menu but on the other parts of the Magento 2 store.

That’s it.

You can also refer to the video tutorial to Hide Categories in Magento 2 from our Magento 2 video tutorial series:

I’d be happy to help.

Also, do not forget to share the tutorial 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.