ObjectivesBacterial infection of the root canal system causes apical periodontitis. Less is known about the role of fungi in these infections. This study aimed to assess the fungal prevalence, abundance, and diversity of root canal infections, as well as the relation between fungi and bacteria present in different parts of the root canal.Materials and methodsTwenty-six teeth with primary apical periodontitis were extracted, split in apical and coronal root segments, and cryo-pulverized. Bacteriome profiles of 23 teeth were analyzed based on the V3-V4 hypervariable region of the 16S ribosomal RNA gene. Mycobiome profiles of six teeth were analyzed based on the internal transcribed spacer (ITS) 1 or ITS2 region. Samples were sequenced on the Illumina MiSeq platform.ResultsA total of 338 bacterial operational taxonomic units (OTUs), 28 ITS1 OTUs, and 24 ITS2 OTUs were identified. Candida and Malassezia were the most frequently identified fungi. No differences could be found between the bacteriome and mycobiome profiles of the apical and coronal root segments. The bacteriome of fungi-positive root segments contained more Actinomyces, Bifidobacterium, four different Lactobacillus OTUs, Propionibacterium, and Streptococcus. A Spearman correlation matrix between bacteriomes and mycobiomes identified no correlations, but separate clusters could be observed.ConclusionsA considerable proportion of the root canal infections contain fungi, although fungal diversity is limited. However, when fungi are present, the composition of the bacteriome is clearly different.Clinical relevanceInteraction between bacteria and fungi in root canal infections may complicate the infection and require alternative treatment strategies.Electronic supplementary materialThe online version of this article (doi:10.1007/s00784-016-1980-3) contains supplementary material, which is available to authorized users.