This research explores the influence of host genotype versus maternal legacy on microbiome composition in laboratory mice across six generations.