{"id":2827,"date":"2026-01-21T17:39:36","date_gmt":"2026-01-21T15:39:36","guid":{"rendered":"https:\/\/plumrocket.com\/learn\/?p=2827"},"modified":"2026-01-21T17:39:38","modified_gmt":"2026-01-21T15:39:38","slug":"how-to-set-up-the-magento-2-top-navigation-menu-step-by-step","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/learn\/configure-magento-2-top-navigation-menu","title":{"rendered":"How to Set Up the Magento 2 Top Navigation Menu (Step-by-Step)"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full disable_zoom\"><img loading=\"lazy\" width=\"1600\" height=\"600\" src=\"https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1.png\" alt=\"\" class=\"wp-image-2834\" srcset=\"https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1.png 1600w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1-300x113.png 300w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1-1024x384.png 1024w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1-768x288.png 768w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1-1536x576.png 1536w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1-1568x588.png 1568w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>The Magento 2 top navigation menu is a crucial feature for any eCommerce store. It allows customers to quickly access key sections of the store, such as product categories, collections, and important pages. Setting it up correctly not only enhances user experience but also contributes to your SEO by helping search engines crawl your site more effectively.<\/p>\n\n\n\n<p>In this tutorial, we&#8217;ll walk you through the steps of setting up and customizing the top menu in Magento 2 and how you can improve the site navigation with the <a href=\"\/magento-layered-navigation\" target=\"_blank\" rel=\"noreferrer noopener\">Layered Navigation extension<\/a>.<\/p>\n\n\n\n<h2>Understanding Category Tiers in Magento 2 Navigation<\/h2>\n\n\n\n<p>In Magento 2, category tiers refer to the hierarchical structure of categories and subcategories that determine how products are organized and displayed in the store. Understanding how these categories work is essential for setting up a user-friendly and SEO-optimized navigation system.<\/p>\n\n\n\n<h3>What Are Category Tiers in Magento 2<\/h3>\n\n\n\n<p>Magento 2 organizes your products into a category hierarchy, typically consisting of three levels:<\/p>\n\n\n\n<ol><li><strong>Root Category<\/strong>: The highest level in your category structure. In Magento 2, all storefront categories are organized under a root category assigned to the store<\/li><li><strong>Main Categories<\/strong>: These are the primary categories within the root category, such as &#8220;Women&#8221;, &#8220;Men&#8221;, or &#8220;Gear&#8221;.<\/li><li><strong>Subcategories<\/strong>: These are secondary levels of categorization, like &#8220;Tops&#8221; or &#8220;Bottoms&#8221; under their respective main categories.<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"376\" height=\"287\" src=\"https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-2-1.png\" alt=\"What Are Category Tiers in Magento 2?\" class=\"wp-image-2841\" srcset=\"https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-2-1.png 376w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-2-1-300x229.png 300w\" sizes=\"(max-width: 376px) 100vw, 376px\" \/><\/figure><\/div>\n\n\n\n<p>This tiered structure helps both users and search engines easily navigate and understand the organization of your store.<\/p>\n\n\n\n<h3>How Magento Builds the Top Menu from Category Hierarchy<\/h3>\n\n\n\n<p>Magento 2 automatically generates the top navigation menu by pulling categories from the backend and displaying them in a structured way based on the hierarchy. Here\u2019s how it works: root Category forms the foundation, while Main Categories and Subcategories are automatically displayed as menu items and dropdowns.<\/p>\n\n\n\n<p>Magento ensures that the top menu reflects this hierarchical structure, making it intuitive for users to find products based on categories.<\/p>\n\n\n\n<h3>How Many Levels of Categories Are Optimal <\/h3>\n\n\n\n<p>Although Magento allows the creation of multiple category levels, achieving the right balance between usability and performance is crucial. From a usability perspective, <strong>two to three category levels are generally ideal<\/strong>. This structure enables users to navigate the site efficiently without feeling overwhelmed. When category hierarchies become too deep, users may struggle to locate specific products, which can lead to frustration and higher bounce rates.<\/p>\n\n\n\n<p>Performance is another important consideration. As category structures grow more complex, they require additional processing, which can negatively impact page load times. Deep category trees can place unnecessary strain on your site\u2019s resources and affect key metrics such as Core Web Vitals.&nbsp;<\/p>\n\n\n\n<p>By limiting category depth to only what is necessary, you help ensure faster page loads, a smoother user experience, and improved SEO performance.<\/p>\n\n\n\n<h2>How to Configure Magento 2 Top Navigation Menu<\/h2>\n\n\n\n<p>The first step in setting up your Magento 2 top navigation is to create product categories. These categories will serve as the items in your navigation menu.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\" style=\"margin-bottom: 25px;\">How to Create Categories for Top Navigation in Magento 2:<\/p>\n\n\n\n<ol><li>Go to <strong>Catalog > Categories<\/strong> in the Magento Admin Panel.<\/li><li>Click on <em>Add Root Category<\/em> or <em>Add Subcategory,<\/em> depending on your structure.<\/li><li>Fill in the necessary information such as name, URL key, and description.<\/li><li>Under the Display Settings, make sure Include in Menu is set to <em>Yes <\/em>so the category will show up in the navigation.<\/li><li>Drag and drop to reorder categories or subcategories directly in the Categories list.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1178\" height=\"588\" src=\"https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1-1.png\" alt=\"How to Create Categories for Top Navigation in Magento 2:\" class=\"wp-image-2835\" srcset=\"https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1-1.png 1178w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1-1-300x150.png 300w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1-1-1024x511.png 1024w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1-1-768x383.png 768w\" sizes=\"(max-width: 1178px) 100vw, 1178px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\" style=\"margin-bottom: 25px;\">How to Configure Maximal Depth of Top Menu in Magento 2:<\/p>\n\n\n\n<ol><li>Go to <strong>Stores > Settings > Configuration<\/strong> from the Admin sidebar.<\/li><li>Under the Catalog section on the left, click on <em>Catalog<\/em>.<\/li><li>Expand the Category Top Navigation section.<\/li><li>You&#8217;ll see a field labeled Maximal Depth. This setting determines the number of levels of subcategories that will be displayed in the top menu.<\/li><li>Once you&#8217;ve entered the desired depth, click <em>Save Config<\/em> to apply the changes.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1218\" height=\"277\" src=\"https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-3-1.png\" alt=\"How to Configure Maximal Depth of Top Menu in Magento 2:\" class=\"wp-image-2836\" srcset=\"https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-3-1.png 1218w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-3-1-300x68.png 300w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-3-1-1024x233.png 1024w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-3-1-768x175.png 768w\" sizes=\"(max-width: 1218px) 100vw, 1218px\" \/><\/figure>\n\n\n\n<h2>How to Improve Store Navigation in Magento 2<\/h2>\n\n\n\n<p>For stores with larger catalogs, adding more subcategories to the top menu is not always effective. Deep category trees increase complexity and can slow down navigation.<\/p>\n\n\n\n<p>Instead of expanding category depth, layered navigation provides a cleaner and more intuitive way for customers to find products. Magento 2 includes basic layered navigation functionality, allowing filtering by attributes such as size, color, brand, or price.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\" style=\"margin-bottom: 25px;\">How to Enable Layered Navigation in Magento 2:<\/p>\n\n\n\n<ol><li>Navigate to <strong>Stores &gt; Settings &gt; Configuration<\/strong> in your Magento Admin Panel.<\/li><li>In the left-side panel, expand Catalog and click on <em>Catalog<\/em>.<\/li><li>Expand the <em>Layered Navigation<\/em> section.<\/li><li>Ensure &#8220;Display Product Count&#8221; is set to <em>Yes<\/em> if you want customers to see how many products match each filter option.<\/li><li>Set &#8220;Price Navigation Step Calculation&#8221; to your preferred method (Automatic, Manual, or Automatic (equalize price ranges)).<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"347\" src=\"https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2025\/05\/magento-layered-navigation-01-1-1024x347.png\" alt=\"\" class=\"wp-image-2461\" srcset=\"https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2025\/05\/magento-layered-navigation-01-1-1024x347.png 1024w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2025\/05\/magento-layered-navigation-01-1-300x102.png 300w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2025\/05\/magento-layered-navigation-01-1-768x260.png 768w, https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2025\/05\/magento-layered-navigation-01-1.png 1205w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To make attributes available for layered navigation, configure each attribute individually. For more guidance, see our <a href=\"\/learn\/manage-layered-navigation\" target=\"_blank\" rel=\"noreferrer noopener\">Layered Navigation Management guide<\/a>.\u00a0<\/p>\n\n\n\n<p>For stores with complex catalogs, the native layered navigation may have limitations. To streamline setup and provide a more refined experience, many merchants use <a href=\"\/magento-layered-navigation\" target=\"_blank\" rel=\"noreferrer noopener\">Plumrocket Layered Navigation<\/a>. This extension enhances default functionality by offering:<\/p>\n\n\n\n<ul><li><strong>Ajax-based filtering<\/strong> \u2013 Customers can apply multiple filters without page reloads, creating a faster, more fluid shopping experience<\/li><li><strong>Multi-select filtering<\/strong> \u2013 Allow selection of multiple options within a single attribute (e.g., selecting both &#8220;Red&#8221; and &#8220;Blue&#8221; simultaneously)<\/li><li><strong>Enhanced filter types<\/strong> \u2013 Price sliders, rating filters, and visual swatches improve how customers interact with product attributes<\/li><li><strong>Mobile-optimized interfaces<\/strong> \u2013 Responsive filter panels designed specifically for touch Magento navigation menu<\/li><\/ul>\n\n\n\n<p>By combining a clean top menu with enhanced layered navigation, stores can deliver an efficient, scalable, and user-friendly browsing experience. Customers find products faster, and the store maintains high performance and strong SEO metrics.<\/p>\n\n\n\n<h2>Frequently Asked Questions (FAQ)<\/h2>\n\n\n\n<p><strong>Why is my category not showing in the Magento 2 top menu?<\/strong><strong><br><\/strong> Common reasons include the category being disabled, \u201cInclude in Menu\u201d set to No, incorrect store view assignment, or cached data not being refreshed.<\/p>\n\n\n\n<p><strong>What is the Maximal Depth setting in Magento 2 navigation?<br><\/strong> The Maximal Depth setting controls how many levels of subcategories are displayed in the Magento 2 top navigation menu. A value of 0 means no restriction.<\/p>\n\n\n\n<p><strong>How many category levels should be shown in the top menu?<\/strong><strong><br><\/strong> For usability and performance, most Magento 2 stores perform best with two to three visible category levels in the top navigation.<\/p>\n\n\n\n<p><strong>Does the Magento 2 top navigation affect SEO?<br><\/strong> Yes. The top navigation menu influences internal linking, crawlability, and user experience, all of which can impact SEO performance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Magento 2 top navigation menu is a crucial feature for any eCommerce store. It allows customers to quickly access key sections of the store, such as product categories, collections, and important pages. Setting it up correctly not only enhances user experience but also contributes to your SEO by helping search engines crawl your site more effectively.<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[125,121,122],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set Up the Magento 2 Top Navigation Menu (Step-by-Step)<\/title>\n<meta name=\"description\" content=\"Learn how to configure the Magento 2 Top Navigation Menu. Improve usability, SEO, and performance with best practices and step-by-step guidance.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/learn\/configure-magento-2-top-navigation-menu\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up the Magento 2 Top Navigation Menu (Step-by-Step)\" \/>\n<meta property=\"og:description\" content=\"Learn how to configure the Magento 2 Top Navigation Menu. Improve usability, SEO, and performance with best practices and step-by-step guidance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/learn\/configure-magento-2-top-navigation-menu\" \/>\n<meta property=\"og:site_name\" content=\"Magento Tutorials for Beginners &amp; Professionals\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-21T15:39:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-21T15:39:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/plumrocket.com\/learn\/wp-content\/uploads\/2026\/01\/magento-2-setup-top-navigation-menu-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/plumrocket.com\/learn\/wp-json\/wp\/v2\/posts\/2827"}],"collection":[{"href":"https:\/\/plumrocket.com\/learn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/learn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/learn\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/learn\/wp-json\/wp\/v2\/comments?post=2827"}],"version-history":[{"count":12,"href":"https:\/\/plumrocket.com\/learn\/wp-json\/wp\/v2\/posts\/2827\/revisions"}],"predecessor-version":[{"id":2845,"href":"https:\/\/plumrocket.com\/learn\/wp-json\/wp\/v2\/posts\/2827\/revisions\/2845"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/learn\/wp-json\/wp\/v2\/media?parent=2827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/learn\/wp-json\/wp\/v2\/categories?post=2827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/learn\/wp-json\/wp\/v2\/tags?post=2827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}