Blog/ Gmail how-tos

How to Create Nested Labels in Gmail (and When Not To)

Nafiul HasanNafiul Hasan· 11 min read
Gmail nested label hierarchy diagram showing parent labels containing child sub-labels in a collapsible sidebar structure

The short answer

To create a nested label in Gmail, type the parent name, a forward slash, and the child name when creating it — for example, Projects/ClientA. Or open an existing label's settings and choose Nest label under. Gmail allows up to five levels of nesting. Any label can be moved into a parent at any time from the Gmail web interface.

Learn how to create nested labels in Gmail using slash naming or the label settings menu, how deep you can nest, and when a flat structure is better.

On this page
  1. 01What you need to know before you start
  2. 02How to create nested labels in Gmail from scratch
  3. 03How to move an existing label under a parent
  4. 04How nested label support differs across Gmail platforms
  5. 05What to do when nested labels do not work as expected
  6. 06When a flat label structure is actually the better choice
  7. 07A faster way to keep Gmail organized without filing by hand

Gmail labels are flat by default. Every label sits in the same sidebar column alongside every other label, in alphabetical order, and the list grows one entry at a time until you are clicking More just to find the one you wanted. Nested labels solve the clutter problem by letting you place one label inside another: your Projects label can contain Projects/ClientA and Projects/ClientB, which collapse under Projects when you are not working in them.

Creating nested labels in Gmail takes one of two routes. The faster one: include a forward slash in the label name when you create it, and Gmail interprets everything before the last slash as the parent. The alternative: use the Nest label under option in label settings to reorganize labels that already exist. Both methods work from the Gmail web interface. The mobile apps let you view and apply nested labels but not create or rearrange them.

This guide covers each method step by step, how nesting behaves across Gmail platforms, what to do when it goes wrong, and when a flat label structure is the better call for how you actually work.

What you need to know before you start#

Gmail's nesting system is built on a naming convention rather than a drag-and-drop interface. The forward slash in a label name is the trigger: type Projects/ClientA and Gmail reads Projects as the parent and ClientA as the child. If the parent does not exist yet, Gmail creates it automatically. You can chain up to five levels deep — Parent/L2/L3/L4/L5 is valid, and a sixth level is not.

A few facts worth knowing before you reorganize your sidebar.

  • Gmail caps the total number of labels per account at 500, including system labels. A deep hierarchy with many branches can approach this limit faster than a flat structure.
  • Sub-labels do not inherit anything from their parent. Label color, in-inbox visibility, and notification settings are configured independently on each level.
  • A label can have only one parent at a time. Gmail does not support placing the same label under two different parents simultaneously.
  • Renaming a parent label renames the prefix on every child automatically. If you rename Projects to Work, every Projects/X label becomes Work/X.
  • Deleting a parent label deletes all its children as well. Gmail shows a warning before this happens, but the warning applies to the entire branch.

How to create nested labels in Gmail from scratch#

If you are creating a new label that has no parent yet, the slash method is faster than the settings menu. It creates both the parent and child in a single step.

  1. 1

    Open Gmail in a web browser

    Go to gmail.com and sign in. Nested label creation is not available in the Gmail iOS or Android apps — these steps apply to the web interface only.

  2. 2

    Click Create new label in the sidebar

    In the left sidebar, scroll down past your existing labels. Click More if you need to expand the list, then click Create new label at the bottom.

  3. 3

    Type the full nested name using a forward slash

    In the label name field, type the parent and child separated by a slash — for example, Projects/ClientA or Finance/Invoices/2026. Gmail creates the parent automatically if it does not already exist.

  4. 4

    Use the Nest label under dropdown if you prefer

    The same creation dialog includes a Nest label under dropdown. If you prefer, type only the child name in the name field and select the existing parent from the dropdown. Both methods produce the same result.

  5. 5

    Click Create

    The new label appears under its parent in the sidebar. If the parent is also new, it gains a disclosure arrow you can click to collapse or expand the branch.

How to move an existing label under a parent#

If you already have labels and want to reorganize them into a hierarchy, use the label settings menu. This method works for any existing label and lets you either assign a parent or remove one to return the label to the top level.

  1. 1

    Hover over the label in the sidebar and open its menu

    In Gmail on the web, hover over the label name in the sidebar. A three-dot menu icon appears to the right of the label name. Click it.

  2. 2

    Select Edit label

    From the dropdown, choose Edit label. This opens the same dialog used during label creation, with the current name and nesting state pre-filled.

  3. 3

    Choose a parent from the Nest label under dropdown

    Click the dropdown and select the label you want as the parent. To remove a label from its current parent and return it to the top level, select the blank option at the top of the list.

  4. 4

    Save the change

    Click Save. The label moves immediately. If you nested it under a new parent, that parent gains a disclosure arrow. If you removed the parent, the label returns to the top-level sidebar.

How nested label support differs across Gmail platforms#

The slash-naming convention is processed server-side, so any email client that connects to Gmail can read your existing label hierarchy. What varies is which clients let you create and rearrange nested labels versus only view and apply them.

Decision fork diagram showing the branching choice between a nested Gmail label hierarchy and a flat single-level label structure, with arrows pointing to each path
Two paths to the same organized inbox: a nested hierarchy collapses the sidebar into branches; a flat structure keeps every label one click away. Which saves more time depends on how many labels you have and how you reach them.
PlatformView nested labelsApply to messagesCreate or reorganize
Gmail on the web (gmail.com)Yes — collapsible sidebar hierarchyYes — full label picker with nested viewYes — both slash-naming and the Nest label under option work
Gmail iOS appYes — nested labels appear indented in the sidebarYes — label picker shows the hierarchyNo — creation and rearrangement require the web interface
Gmail Android appYes — same indented display as iOSYes — full label pickerNo — same limitation as iOS
Google Workspace (web)Yes — identical to consumer Gmail webYesYes — identical to consumer Gmail web
Apple Mail or Outlook via IMAPYes — sub-labels appear as sub-folders under parent foldersYes — folder assignment carries back to Gmail as a labelNot recommended — folder creation in a third-party IMAP client may not map cleanly to Gmail nested labels; use Gmail web for structural changes

What to do when nested labels do not work as expected#

Most nested label problems fall into one of three categories: a naming conflict with an existing label, an attempt to create nesting from a mobile app, or unexpected display behavior in a third-party email client.

If a slash in a new label name is not creating a hierarchy, check two things first. Confirm you are in the Gmail web interface — the mobile apps do not support label creation and will either reject the slash or save it as a literal character in the name. Then check whether a flat label with exactly that prefix already exists. Creating a child using the slash method should nest it under the existing parent, but if the existing label was created before nesting was introduced and its internal format conflicts, renaming and recreating the parent resolves it.

If nested labels are showing the full path name — Projects/ClientA — instead of just ClientA in a third-party mail client, this is expected behavior. Clients that connect to Gmail via IMAP read labels as IMAP folder names, which include the full path. This does not affect how Gmail itself displays the label. If the full-path display is disruptive in your other client, shortening parent names reduces the visual length of the concatenated result.

Deleting a parent label removes every label inside it

If you delete a parent label, Gmail deletes all the labels nested inside it. There is no option to delete the parent and keep the children. Before deleting, open Edit label on each child you want to keep, change its parent to a different label or to none, then delete the now-empty original parent.

When a flat label structure is actually the better choice#

A nested hierarchy solves a long, unmanageable sidebar — but it creates a different problem if the hierarchy itself becomes complex enough to navigate slowly. Before building out a label tree, it is worth checking whether you will actually use the depth or just add clicks between you and the mail.

Nesting earns its cost when you have a high-volume inbox organized around predictable projects or clients. If you have 30 or more active labels and a naming pattern that will hold for months, a collapsible hierarchy reduces sidebar noise and makes the right label faster to reach by branch rather than by scrolling. That is the use case it was built for.

  • Fewer than 15 labels total: a flat structure is almost always faster. You can see everything at once without expanding branches.
  • Labels you apply once a week or less: the extra nesting depth costs more navigation time than it saves in sidebar length.
  • Labels you reach by searching: Gmail search is strong enough that typing a label name is often faster than clicking through a hierarchy. If you search more than you scroll, nesting adds friction without benefit.
  • Shared or team inboxes: a hierarchy one person finds intuitive can confuse teammates. Short, flat, clearly named labels transfer better across a group.

The one-question test for nesting

Ask: do I reach this label by expanding a parent in the sidebar, or by typing its name in search? If you search, the hierarchy is invisible to you in practice, and flat is faster to maintain.

A faster way to keep Gmail organized without filing by hand#

The deeper problem behind a complex label hierarchy is that every label still has to be applied manually. A message arrives, you open the label picker, navigate to the right nested label, and apply it. Across a busy inbox, that filing work accumulates into real time spent — and the hierarchy only helps if you are consistently doing it.

AI Emaily — which we build — handles label routing automatically. You define the criteria once: which senders, subjects, or keywords land on which label, including nested labels already in your Gmail hierarchy. AI Emaily applies the labels on arrival so the structure you built actually runs without you touching each message. A 7-day free trial is available if you want to see it run on your real inbox before deciding. See how it works at aiemaily.com or compare plans at aiemaily.com/pricing.

Frequently asked

Nafiul Hasan

Written by

Nafiul Hasan

Nafiul Hasan is an entrepreneur and AI automation system builder with 10+ years of experience turning messy, manual workflows into reliable automated systems. He designs and ships AI enterprise solutions end-to-end — the agent logic, the data plumbing, and the product people actually use — and founded AI Emaily to give busy professionals their attention back. He writes here from the builder's seat: what works, what breaks, and how to put AI to work without giving up control.

EntrepreneurAI Automation System BuilderAI EnthusiastBuilds AI Enterprise Solutions10+ years experience
More from Nafiul
Ready when you are

Stop filing Gmail messages by hand

AI Emaily routes incoming mail to the right labels automatically — including your nested Gmail hierarchy — so you define the rules once and the inbox stays organized. 7-day free trial.

  • 7-day free trial
  • Cancel anytime
  • Every provider