This study characterised the bacterial microbiota of Musca domestica (housefly) through 16S rRNA metabarcoding of paired gut and exogenous (body surface) samples from 39 individual flies, generating a total of 1,601,326 raw reads and 538,665 effective amplicon sequence variants (ASVs) following quality filtering. Taxonomic classification revealed three dominant phyla Firmicutes, Proteobacteria, and Bacteroidota across both sample types, with Firmicutes predominating overall. At the genus level, Vagococcus was the most consistently abundant taxon, particularly in exogenous samples, while potentially pathogenic genera including Salmonella, Klebsiella, Proteus, and Providencia were detected predominantly in gut samples.
Alpha diversity analysis demonstrated that exogenous samples harboured significantly richer and more evenly distributed bacterial communities than gut samples across all three indices assessed (Chao1, Shannon, and Simpson), suggesting that the gut microbiome functions as a selective filter that permits only a subset of environmentally acquired bacteria to establish internally. Beta diversity analysis via PCoA based on Bray-Curtis dissimilarity revealed a partial but notable separation between gut and exogenous communities, with meaningful overlap indicating shared taxa between the two environments. Collectively, these findings demonstrate that M. domestica is exposed to a highly diverse external bacterial reservoir, a proportion of which successfully colonises the gut. The selective colonisation dynamics, combined with the detection of clinically relevant pathogens in gut samples, underscore the vectorial capacity of houseflies in the dissemination of bacterial pathogens, with critical implications for biosecurity and both animal and human health within zoological gardens.