Purplelink
← All LaTeX errors

Misplaced alignment tab character &

TeX found an & outside a table or alignment. For an ampersand in text, type \&.

What it means

TeX found an & where no table or alignment is open. In LaTeX the bare & is reserved for separating columns in tabular, align, the matrix environments and similar. Anywhere else it is an error, and TeX leaves the character out of the PDF. If you wanted an ampersand in the text, type \&.

The log line

This small file triggers the error:

\documentclass{article}
\begin{document}
This follows Smith & Jones (2024).
\end{document}

Compiled with pdfLaTeX (TeX Live 2026), it writes this to the .log file:

! Misplaced alignment tab character &.
l.3 This follows Smith &
                         Jones (2024).
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.

The l.3 line breaks right after the offending &, the one between Smith and Jones. TeX's help text gives the remedy itself: type \&.

To try a fix without touching your project, save the example as a .tex file and compile it online with the LaTeX to PDF tool.

Why it happens

The causes below are in order of likelihood. Each has a before and an after you can compare with your own source.

1. An ampersand in running text, a heading or a caption

Company names, author pairs and section titles are the usual places.

Before

\section{Mergers & acquisitions}

After

\section{Mergers \& acquisitions}

2. An & in an environment that does not align

equation sets one formula and has no columns. To line up equals signs, use align, or aligned inside an equation, both from amsmath.

Before

\begin{equation}
y &= ax + b

After

\begin{align}
y &= ax + b

3. A URL with a query string

Web addresses use & between parameters. Put the address in \url{...} from the url or hyperref package, which accepts it as typed.

Before

See https://example.org/search?q=latex&page=2 for the list.

After

See \url{https://example.org/search?q=latex&page=2} for the list.

4. An & in a .bib field

A journal or publisher name with an ampersand passes through BibTeX unchanged and fails when LaTeX reads the .bbl file. The log then shows a .bbl line such as \newblock {\em Science &. Fix the .bib file and run BibTeX again.

Before

journal = {Science & Society},

After

journal = {Science \& Society},

How to find the line

The l. line is exact when the & is in your own text. When the last file opened in the log is a .bbl file, the ampersand is in your bibliography: find the entry by the words around the break and correct the .bib file, not the .bbl, which is rewritten on every BibTeX run. If the & is inside what should be a table, something above it closed the table early.

When you run pdflatex in a terminal without -interaction=nonstopmode, TeX stops at the error and prints a ? prompt. Press Return to carry on past the error, type x to quit, or type h for TeX's own help text, which is the paragraph you see after the l. line in the log. Editors run TeX in non-stop mode, so you get the log and never see the prompt.

What each editor shows:

Related errors

Frequently asked questions

How do I type an ampersand in LaTeX?
Type \& in text, titles, captions and table cells. For a web address, use \url{...} from the url or hyperref package, which accepts a bare &.
Why do I get this error inside an equation?
The equation environment does not align anything, so it has no columns for & to separate. Use align, or aligned inside an equation, both from amsmath, where & marks the alignment point.
The error is in my .bbl file. Where is the ampersand?
In the .bib entry that produced that line, usually a journal or publisher name. Change & to \& in the .bib file and run BibTeX again. Editing the .bbl file does not last, because BibTeX rewrites it.