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

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
- 01What you need to know before you start
- 02How to create nested labels in Gmail from scratch
- 03How to move an existing label under a parent
- 04How nested label support differs across Gmail platforms
- 05What to do when nested labels do not work as expected
- 06When a flat label structure is actually the better choice
- 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
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
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
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
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
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
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
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
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
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.

| Platform | View nested labels | Apply to messages | Create or reorganize |
|---|---|---|---|
| Gmail on the web (gmail.com) | Yes — collapsible sidebar hierarchy | Yes — full label picker with nested view | Yes — both slash-naming and the Nest label under option work |
| Gmail iOS app | Yes — nested labels appear indented in the sidebar | Yes — label picker shows the hierarchy | No — creation and rearrangement require the web interface |
| Gmail Android app | Yes — same indented display as iOS | Yes — full label picker | No — same limitation as iOS |
| Google Workspace (web) | Yes — identical to consumer Gmail web | Yes | Yes — identical to consumer Gmail web |
| Apple Mail or Outlook via IMAP | Yes — sub-labels appear as sub-folders under parent folders | Yes — folder assignment carries back to Gmail as a label | Not 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
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
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
See it in AI Emaily
Keep reading

Written by
Nafiul HasanNafiul 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.