This dataset is a custom Kraken2 formatted database for the identification of Fungi from shotgun metagenomic data. Kraken2 is a k-mer based read classifier (Wood et al. 2019; https://genomebiology.biomedcentral.com/articles/10.1186/s13059-019-1891-0). The dataset was built with the default k-mer length (k=35) from all publicly available fungal genomes at JGI Mycocosm ( https://mycocosm.jgi.doe.gov/mycocosm/home), and all archaea, bacteria, viral, plasmid, human, fungi, plant, and protozoa genomes, as well as the UniVec Core and nt reference database at NCBI ( https://www.ncbi.nlm.nih.gov/). The reference genomes and sequences were downloaded from JGI and NCBI in March 2020.