Skip to main content
v2026.11,986 entries · CC-BY 4.0

Subsubsection in LaTeX: Syntax, Numbering and TOC Depth

Syntax for subsubsection in LaTeX, default numbering and contents depth for article, report and book, and how to change them.

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.

Ask your first question freeSubscribe

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

  1. Choose a document class: \documentclass{article}, report or book.
  2. Write the heading inside a \subsection, after a \section:
    \section{Methods}
    \subsection{Data collection}
    \subsubsection{Survey instrument}
    Text of the subsubsection.
  3. 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}.
  4. For an unnumbered heading that is not listed in the table of contents, use the star form: \subsubsection*{Title}.
  5. Add \tableofcontents where 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.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · free to try

Ask about Subsubsection in LaTeX: Syntax, Numbering and TOC Depth

2 free questions a day, no account.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →