FormaTeX
WarningFiles & Resources

Undefined References (BibTeX/Biber Not Run)

LaTeX Warning: There were undefined references.

What this error means

The document has bibliography references that were never resolved. This usually means the BibTeX or Biber processor was not run as part of the compilation sequence, so the reference data was never collected.

Common causes

  • Compiling only once with pdflatex instead of running pdflatex → bibtex → pdflatex → pdflatex
  • Running bibtex on the wrong .aux file
  • Using biblatex/biber but only running pdflatex, not biber
  • Stale .aux files from a previous run

How to fix it

For traditional BibTeX: run pdflatex → bibtex main → pdflatex → pdflatex. For biblatex with Biber: run pdflatex → biber main → pdflatex → pdflatex. Delete .aux files if you get persistent undefined reference warnings after the full sequence.

Code examples

Causes the error
% Only ran: pdflatex main.tex
% Missing: bibtex main -> pdflatex -> pdflatex
Fixed
% Full BibTeX sequence:
% 1. pdflatex main.tex
% 2. bibtex main
% 3. pdflatex main.tex
% 4. pdflatex main.tex

% Full biblatex+biber sequence:
% 1. pdflatex main.tex
% 2. biber main
% 3. pdflatex main.tex
% 4. pdflatex main.tex

Related errors

Test the fix live

Paste your LaTeX into the playground and compile instantly.

One quick thing

We track anonymous usage — page views, feature usage, compilation events — to understand what works and what doesn't. No ads, no personal data, no third-party sharing.

Cookie policy