Citation keys in BibTeX

The citation key is a unique identifier in BibTeX that is used to identify a specific source in your bibliography file. The citation key is used in the \cite{key} command to generate a citation in your LaTeX document, as well as in the bibliography file to refer to the source, or in pandoc-based markdown files, such as when using Quarto or R Markdown with [@key].

Need a simple solution for managing your BibTeX entries? Explore CiteDrive!

  • Web-based, modern reference management
  • Collaborate and share with fellow researchers
  • Integration with Overleaf
  • Comprehensive BibTeX/BibLaTeX support
  • Save articles and websites directly from your browser
  • Search for new articles from a database of tens of millions of references
Try out CiteDrive

To define a citation key in a BibTeX bibliography file, use the @ command followed by the entry type (e.g., @article, @book, etc.), followed by the citation key enclosed in curly braces. As an example:

@article{key,
author = {John Smith},
title = {The Great Article},
journal = {Journal of Great Articles},
year = {2021},
volume = {1},
number = {2},
pages = {3-4}
}

In this example, the citation key is “key.” You can choose any unique identifier you want as the citation key as long as it does not contain any spaces or special characters. It is a good idea to choose a descriptive citation key that is easy to remember so that it is easy to use in your LaTeX document. It is frequently formed from the first author’s surname, the date, and the first non-stopper word in the source’s title.