Written and maintained by CASRAI Editorial Board
Published · Last updated
On this page
Short answer: \subsubsection{Title} starts the third level of heading below the document’s top level in LaTeX (level 3 in the standard numbering scheme: \section is 1, \subsection is 2, \subsubsection is 3). It is numbered and listed in the table of contents by default in the article class, but not in report or book, where the default depth stops at 2. This page shows the syntax, the per-class defaults, and the exact commands to change them.
Who this is for: researchers and analysts writing a paper, thesis or report in LaTeX who need a third heading level and want it to appear (or not appear) in numbering and the contents list. For the level above it, see LaTeX subsection syntax, numbering and TOC.
Ask CASRAI · free to tryQuestion about this guide? Ask CASRAI answers with linked sources. 2 free questions a day, no account.
What subsubsection is used for in research documents
LaTeX provides a hierarchy of sectioning commands. In the standard classes the levels are \part (-1), \chapter (0), \section (1), \subsection (2), \subsubsection (3), \paragraph (4) and \subparagraph (5); which of them exist depends on the document class (Overleaf, Sections and chapters). Researchers typically reach for \subsubsection to split a long methods section (for example, one heading per instrument or per analysis) or a long thesis section into named parts.
Subsubsection in LaTeX versus the other levels
In an article, \section is the top level and there is no \chapter; report and book add \chapter (and \part) above it. The same \subsubsection command therefore sits at a different visual depth in a thesis than in a journal article.
Install or access
\subsubsection is part of the LaTeX kernel and the standard document classes, so no extra package is needed. You need a working LaTeX installation on your computer, or an online editor such as Overleaf, whose documentation is the source for the level table above.
Step-by-step: add and control a subsubsection
- Choose a document class:
\documentclass{article},reportorbook. - Write the heading inside a
\subsection, after a\section:\section{Methods} \subsection{Data collection} \subsubsection{Survey instrument} Text of the subsubsection. - For a long title, give a short version for the table of contents and running head:
\subsubsection[Survey]{Survey instrument used in the second wave}. - For an unnumbered heading that is not listed in the table of contents, use the star form:
\subsubsection*{Title}. - Add
\tableofcontentswhere the contents list should appear, and compile twice so the entries and numbers resolve.
Numbering and table-of-contents depth by class
Two counters control what you see. secnumdepth sets how deep headings are numbered; tocdepth sets how deep they appear in the table of contents. The LaTeX2e reference manual gives the defaults: 3 in the article class and 2 in the book and report classes, for both counters.
| Document class | Default secnumdepth | Default tocdepth | Result for subsubsection (level 3) |
|---|---|---|---|
| article | 3 | 3 | Numbered and listed in the contents |
| report | 2 | 2 | Not numbered, not listed by default |
| book | 2 | 2 | Not numbered, not listed by default |
This matches Overleaf’s note that in a book a \subsubsection is not numbered by default. A heading is numbered only if its level is less than or equal to secnumdepth, and listed only if its level is less than or equal to tocdepth.
Number and list subsubsections in a report or book
Put both lines in the preamble (before \begin{document}):
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
Unnumbered subsubsection that still appears in the contents
The star form omits both the number and the contents entry. To list an unnumbered heading, add the entry by hand with \addcontentsline, as Overleaf shows for sections:
\subsubsection*{Limitations}
\addcontentsline{toc}{subsubsection}{Limitations}
Output and how to read it
With the article defaults, a heading written in section 2, subsection 2.1 appears as 2.1.1 Survey instrument in the text and in the contents. In a report or book with default settings the heading prints in its subsubsection style without a number, and is absent from the contents list until you raise the counters. If headings do not update after an edit, compile again: numbers and contents entries are written to auxiliary files on one run and read on the next.
Troubleshooting
My subsubsection has no number
Check for the star form (\subsubsection*) and check the class. In report and book the default secnumdepth is 2, so level 3 is unnumbered; set \setcounter{secnumdepth}{3} in the preamble.
My subsubsection is missing from the table of contents
Raise tocdepth to 3, or add the entry with \addcontentsline for an unnumbered heading. Compile twice.
The title is too long for the running head or contents
Use the optional argument: \subsubsection[short title]{long title}.
Subsubsection used before a subsection
Skipping a level breaks the heading hierarchy. Insert the intervening \subsection, or use a lower-level command.
Alternatives when you run out of heading levels
| Option | Level | What it gives you |
|---|---|---|
\paragraph{Title} |
4 | The next level down in the standard hierarchy (Overleaf, Sections and chapters) |
\subparagraph{Title} |
5 | The lowest standard level (Overleaf, Sections and chapters) |
\subsubsection*{Title} |
3 | A heading with no number and no contents entry (LaTeX2e reference manual) |
Because secnumdepth and tocdepth are numeric, levels 4 and 5 are unnumbered and unlisted in all three standard classes unless you raise the counters further. Keeping to three heading levels is a style choice, not a LaTeX rule; the standard classes do not stop you from going deeper. For the wider document skeleton, see LaTeX document structure, classes and packages, and for a ready preamble with sections and theorems, the LaTeX notes template. Backmatter headings are covered in appendix in LaTeX.
FAQ
What is a subsubsection in LaTeX?
It is the third-level sectioning command, \subsubsection{Title}, used below \subsection and above \paragraph.
Is \subsubsection the same as subsubsection in LaTeX?
Yes. “Subsubsection LaTeX” and “subsubsection in LaTeX” both name the same command. In a document you type it as one word with a leading backslash, \subsubsection{Title}, with no space.
Why is my subsubsection numbered in an article but not in a book?
The default secnumdepth is 3 in article and 2 in book and report.
How do I remove the number from one subsubsection?
Use \subsubsection*{Title}. It also leaves the heading out of the table of contents.
Sources
- Overleaf, Sections and chapters (sectioning levels, star form,
\addcontentsline, book numbering), read 2026-11-08. - Overleaf, Table of contents (default contents entries,
\addcontentsline), read 2026-11-08. - LaTeX2e: An unofficial reference manual, Sectioning (default secnumdepth and tocdepth per class, star form, optional short title), read 2026-11-08.







