LaTeX Error: Too many unprocessed floats

Figures and tables are queued faster than LaTeX can place them, often behind one that cannot be placed. Relax placements, shrink it, or add \clearpage.

Help centre › LaTeX errors › Floats and layout · Error: the build stops or the output is wrong

What the log says

! LaTeX Error: Too many unprocessed floats.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.13 \tenplots\tenplots\tenplots\tenplots

What it means

LaTeX holds floats that it has not yet placed in a queue of limited size. Floats of one type are placed in order, so when one figure cannot be placed, every figure after it waits too. When the queue is full, LaTeX stops with this error. The cause is usually one float that cannot go anywhere, or a long run of floats with little text between them.

Causes and fixes

Most common first. Each example is a complete document; the first fails with this message, the second is the same document fixed.

1. One float cannot be placed, and all later ones wait behind it

A figure taller than the page, or one restricted to [t] that is taller than the top area allows (by default 70% of the page), never fits and blocks the queue. Make it smaller than the text height and give it more choices with [htbp] (or [p] for a page of its own).

Fails
\documentclass{article}
\usepackage{lipsum}
% a small figure followed by text, sixty times
\newcommand\plot{\begin{figure}[t]\centering
  \rule{4cm}{2cm}\caption{A plot.}\end{figure}\lipsum[1-3]}
\newcommand\tenplots{\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot}
\begin{document}
\begin{figure}[t]
\centering
\rule{4cm}{1.1\textheight}
\caption{A figure too tall for the page.}
\end{figure}
\tenplots\tenplots\tenplots\tenplots\tenplots\tenplots
\end{document}
Fixed
\documentclass{article}
\usepackage{lipsum}
% a small figure followed by text, sixty times
\newcommand\plot{\begin{figure}[t]\centering
  \rule{4cm}{2cm}\caption{A plot.}\end{figure}\lipsum[1-3]}
\newcommand\tenplots{\plot\plot\plot\plot\plot\plot\plot\plot\plot\plot}
\begin{document}
\begin{figure}[htbp]
\centering
\rule{4cm}{0.8\textheight}
\caption{A figure that fits on the page.}
\end{figure}
\tenplots\tenplots\tenplots\tenplots\tenplots\tenplots
\end{document}

2. Many floats in a row with little text between them

An appendix of thirty figures, each with [h] or [t], fills the queue before pages fill. Put \clearpage every few figures (it places all waiting floats), or load the placeins package and use \FloatBarrier at the end of each section.

3. The queue really is too small

If every float can be placed and there are simply many at once, enlarge the queue with \extrafloats{100} in the preamble (or the morefloats package on older installations).

In Manulyx

The editor shows the error with an explanation; the line it points to is where the queue overflowed, so look for the first float above it that has not appeared in the PDF.

Write in Manulyx for free · Journal templates

More in floats and layout

Every example on this page was compiled with pdfLaTeX to check that it fails and is fixed as described. All LaTeX errors