In this study, we investigated the bacterial and fungal microbiomes of the ant Formica exsecta (Hymenoptera, Formicidae), and assessed whether the microbial communities inside the ants differ from those in their nest material. Furthermore, we investigated whether the microbial communities inside the ants are conserved across time. To achieve this, we sequenced the bacterial 16S rRNA, and the fungal ITS region in entire adult worker ants and their nest material by Illumina MiSeq. We found that both the bacterial, and the fungal microbiomes form communities discrete from those in the surrounding nest material. In addition to the differences in species composition, we also found that bacterial species diversity, species richness, ζ diversity, and evenness were lower in ants than in the nest material. For fungi, only species richness was lower in the ants than in the nest material. The rate of within‐colony species turnover across sampling events was not statistically significant for bacteria, but highly significant for fungi. This suggests that the fungal communities in the ants are less stable than the bacterial ones. Four bacterial taxa (Alphaproteobacteria, Proteobacteria, Staphylococcus, and Streptococcus), and two fungal taxa (Davidiella and Cryptococcus) formed a core microbiome, being consistently present and more abundant in the ants, but absent in the nest material. In all other cases differences in community composition and structure were due to taxa that were more consistently present and more abundant in the nest material, and frequently absent in the ants. Furthermore, we found 36 unique OTUs identified as Proteobacteria, and 82 unique OTUs identified as Alphaproteobacteria in the ants, representing 2.5% and 5.8% of all bacterial OTUs and 24.6% and 41% of the total number of bacterial sequences. This suggests that F. exsecta harbours a considerable bacterial diversity that so far remains unexplored.