How to Nest Labels in Gmail: “Nest Label Under” Explained

The short answer
In Gmail, “Nest label under” puts one label inside another, so it appears as a sub-label under its parent in the sidebar. On a computer, tick Nest label under when you create a label, or open Edit on an existing label and pick the parent. Google documents these steps for the web version only.
What “Nest label under” means in Gmail, how to nest a new or existing label, why the Gmail app steps have no nesting, and when flat labels work better.
On this page
- 01What does “Nest label under” mean in Gmail?
- 02How to create a nested label in Gmail
- 03How to move a label under another label in Gmail
- 04Can you create sub-labels in the Gmail app?
- 05How deep can you nest, and what if nesting does not work?
- 06When a flat label structure is the better choice
- 07Sorting mail without a deeper tree
Gmail labels start out flat: every label sits in one list in the left sidebar, and the list grows until you are clicking More just to find the one you want. Nesting fixes that by letting you put one label inside another, so Projects can hold ClientA and ClientB and collapse them out of sight when you are not using them.
There are two ways to do it. The documented one is the Nest label under checkbox, which appears when you create a label and again when you edit one. The second is a naming shortcut: typing a name with a slash, such as Projects/ClientA. Both are covered below, along with the part that trips people up: the steps Google publishes for the Gmail app have no nesting option, so nesting is a job for a computer.
What does “Nest label under” mean in Gmail?#
“Nest label under” is the checkbox in Gmail’s label dialog that includes a label inside another label. The label you are creating or editing becomes the sub-label (also called a child label), and the one you pick from the dropdown becomes its parent. In the sidebar the sub-label shows indented under the parent, and you can collapse or expand the whole branch.
Nesting is organisation only. The label itself works as it always did, and you can still apply it to any message. A few things worth knowing before you rearrange your sidebar.
- The Nest label under menu lets you pick one parent for a label, so plan the tree before you start moving things.
- You set a label’s colour on the label itself, so a sub-label and its parent each have their own colour setting. See Gmail label colours.
- Google’s help page says you can create up to 5,000 labels. That is a hard cap far above what a sidebar can sensibly show; see the Gmail label limit for where things get slow in practice.
How to create a nested label in Gmail#
This is the route Google documents. It works in Gmail on a computer. If the parent label does not exist yet, create it first.
- 1
Open Gmail in a browser on a computer
Go to gmail.com and sign in. The nesting steps in Google’s help are written for the computer version of Gmail.
- 2
Click Create new label
In the left sidebar, find the Labels heading and click Create new label. If you do not see it, click More at the bottom of the sidebar to expand the list first.
- 3
Type the name of the sub-label
Type only the child name, for example ClientA. You do not need to repeat the parent’s name.
- 4
Tick Nest label under and pick the parent
Tick the Nest label under checkbox, then choose the parent label from the dropdown beneath it, for example Projects.
- 5
Click Create
The new label appears under its parent in the sidebar, and the parent gets an arrow you can use to collapse or expand the branch.
What about typing a slash?
How to move a label under another label in Gmail#
This is how to nest existing labels, which is what most people searching for this need. You do not have to delete and recreate anything: the same Nest label under checkbox is in the edit dialog, so any existing label can be moved under a parent. To rename or combine labels while you are at it, see how to rename or merge labels.
- 1
Hover over the label and open its menu
In Gmail on the web, hover over the label name in the sidebar. A three-dot More icon appears to the right of it. Click it.
- 2
Choose Edit
Pick the edit option from the menu (Google’s help calls it editing your label, and the exact wording can differ by version). The dialog opens with the label’s current name.
- 3
Tick Nest label under and choose the parent
Tick the checkbox and pick the label that should be the parent. To take a label out of its parent later, open the same dialog and untick the checkbox.
- 4
Save
Click Save. The label moves under its new parent in the sidebar.
Can you create sub-labels in the Gmail app?#
Not with the nesting option, as far as Google’s help shows. The Android steps in Gmail Help cover creating a label (Menu, then Create label under All labels, name it, Save), renaming it under Manage labels, and deleting it, with no Nest label under step. Google’s documented nesting steps are for the computer. The practical route is to create and nest labels on a computer, and use them from the app afterwards, since labels belong to your account rather than to one device.
Reports from other sources say the iPhone and iPad app behaves the same way; Google’s page for that platform is the place to check the current state, because app menus change between releases.
| Where you use Gmail | Create a label | Nest label under |
|---|---|---|
| Gmail on a computer (web) | Yes, Create new label in the sidebar | Yes, checkbox when creating and in the edit dialog |
| Gmail app on Android | Yes, Menu then Create label | No nesting step in Google’s documented steps |
| Gmail app on iPhone and iPad | Yes, from the menu | Reported as unavailable; check Google’s iPhone and iPad steps for your version |
| Mail apps connected through IMAP | Depends on the app | Set up nesting in Gmail on the web, then let the app read it |
How deep can you nest, and what if nesting does not work?#
Google does not publish a maximum nesting depth, so there is no official number to quote. You will hit usability trouble long before any technical ceiling. Two or three levels is plenty for most people.
If Nest label under is missing or nesting does not behave, check two things. You are on Gmail in a browser on a computer, not in the app. And the parent label already exists, because you pick it from the dropdown.
Third-party mail apps that read Gmail over IMAP can show a sub-label with its full name, such as Projects/ClientA, rather than just ClientA, depending on the app. That is the other app’s display choice and does not change how Gmail shows the label.
Check before you delete a parent label
When a flat label structure is the better choice#
Nesting solves a long sidebar, but it adds clicks if the tree grows complicated. It pays off for a busy inbox organised around projects or clients that keep a stable naming pattern. The thresholds below are rules of thumb, not Gmail limits.
- Fewer than about 15 labels: flat is usually faster, because you can see every label without expanding a branch.
- Labels you use once a week or less: the extra depth costs more navigation than it saves in sidebar length.
- Labels you reach by searching: if you type the label name instead of clicking through the tree, the hierarchy is invisible to you and flat is simpler to maintain.
- Shared inboxes and teams: a tree one person finds obvious can confuse teammates, so short, flat, clearly named labels travel better.

The one-question test for nesting
Sorting mail without a deeper tree#
The weak point of any label tree is that someone still has to apply the labels. AI Emaily, the email client we build, takes a different route: its rules can add a label when a message matches (sender, domain, subject, body and more), and its AI sorts incoming mail for you. Those labels live inside AI Emaily and do not sync back to your Gmail labels, so it will not build or fill your Gmail hierarchy. It helps if your real goal is less filing by hand rather than a neater Gmail sidebar.
There is a 7-day free trial on Pro or Autopilot if you want to see it on your own inbox; see pricing or the AI Emaily homepage.
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.