TeXpad

LaTeX error: Too many }'s (Extra }, or forgotten $)

Every } must close a { that is still open. When TeX finds one with nothing to close, it reports "Too many }'s" in text, or "Extra }, or forgotten $" inside math.

! Too many }'s.

Try it: this example has the error

Press Fix it in the error box, and it compiles to a PDF. What pdfTeX printed for it:

! Too many }'s.
l.3 Some text here }
                     and more text.
or paste your own document

Ready. Press Compile (or Ctrl/Cmd + Enter).

Open in the full editor →

Common causes

How to fix it

  1. Go to the reported line and delete the brace that has no partner. TeXpad offers "Remove the stray }".
  2. For a literal brace in your text, write \{ and \}.

Related errors