Skip to main content
To create a bibliography with BibLaTeX and Biber, load \usepackage[backend=biber]{biblatex} in the preamble, register your .bib file with \addbibresource{references.bib} (including the .bib extension), cite entries with \parencite or \textcite, and print the reference list with \printbibliography. Control when author lists shorten to “et al.” with the maxcitenames, mincitenames, and maxbibnames options. By default BibLaTeX prints up to three names and shortens longer lists to the first author and “et al.”, both in citations and in the reference list (maxnames=3 and minnames=1, which set the cite and bib limits together).
main.tex
references.bib
Ready to use this syntax? Continue in the browser editor when you want to adapt the example in a real project.Open LaTeX Cloud Studio

Loading .bib files with \addbibresource

Place \addbibresource in the preamble (before \begin{document}) and include the full filename with its .bib extension: \addbibresource{references.bib}. Unlike BibTeX’s \bibliography{references}, omitting .bib causes Biber to report that it cannot find the file. To load more than one database, call \addbibresource once per file—for example, \addbibresource{books.bib} followed by \addbibresource{articles.bib}—rather than passing a comma-separated list in one command. Keep citation keys unique across all files. With backend=biber, BibLaTeX handles UTF-8 author names natively; entry types such as @online with url and urldate fields are part of BibLaTeX itself and work with either backend.

Citation commands

BibLaTeX separates parenthetical, textual, and style-driven citations into distinct commands. Pass multiple keys separated by commas (\parencite{rivera2023,chen2021}). One optional bracket adds a postnote such as a page number (\parencite[p.~14]{rivera2023}); two optional brackets add a prenote and a postnote (\parencite[see][p.~14]{rivera2023}).
citations.tex
references.bib
You can adjust the reference list heading directly in \printbibliography, such as \printbibliography[title={Works Cited}] or \printbibliography[heading=bibintoc] to add the bibliography to the table of contents. To print every entry in your .bib file even if not cited in the text, add \nocite{*}. To compare BibLaTeX styles such as numeric, authoryear, apa, and ieee side by side with compiled output, see Choosing citation styles.

Controlling “et al.” author limits

BibLaTeX truncates a name list to “et al.” whenever the number of authors exceeds the max threshold, reducing the printed list down to the matching min count:
  • maxcitenames / mincitenames: controls truncation in in-text citations.
  • maxbibnames / minbibnames: controls truncation in the printed bibliography.
  • maxnames / minnames: shorthand that sets both citation and bibliography limits together.
In the example below, maxcitenames=2, mincitenames=1, maxbibnames=6 keeps two-author works (rivera2023) in full, shortens three-author works (chen2021) to Chen et al. inside citations, and still prints all three authors in the reference list.
et-al.tex
references.bib
If two different multi-author papers would shorten to the same list, such as Chen et al., BibLaTeX’s uniquelist feature (on by default in style=authoryear) shows extra author names to tell them apart even when the years differ; pass uniquelist=false if your style guide forbids expanding those citations.

Common mistakes

  • Omitting .bib in \addbibresource: \addbibresource{references} fails under Biber; write \addbibresource{references.bib}.
  • Case mismatch in citation keys: Biber matches keys case-sensitively (RIVERA2023 does not match rivera2023), unlike classic BibTeX.
  • Using \cite under style=authoryear and expecting parentheses: plain \cite prints Rivera and Bowen 2023 with no outer parentheses; use \parencite or \autocite instead.
  • Running BibTeX instead of Biber: locally, run pdflatex -> biber -> pdflatex -> pdflatex. In LaTeX Cloud Studio, biblatex and Biber are included in TeX Live 2026; once references.bib is created or uploaded in the project, a full editor compile runs latexmk and invokes Biber automatically.
For error messages such as Please (re)run Biber or an empty bibliography, see Fix bibliography build errors. Ready to compile a BibLaTeX document in the browser? Start from the Basic Article template in LaTeX Cloud Studio, replace main.tex with the complete example, and add references.bib to the project.