BACKGROUND: The development of anti-islet cell autoimmunity precedes clinical type 1 diabetes and occurs very early in life. During this early period, dietary factors strongly impact on the composition of the gut microbiome. At the same time, the gut microbiome plays a central role in the development of the infant immune system. A functional model of the association between diet, microbial communities, and the development of anti-islet cell autoimmunity can provide important new insights regarding the role of the gut microbiome in the pathogenesis of type 1 diabetes. RESULTS: A novel approach was developed to enable the analysis of the microbiome on an aggregation level between a single microbial taxon and classical ecological measures analyzing the whole microbial population. Microbial co-occurrence networks were estimated at age 6 months to identify candidates for functional microbial communities prior to islet autoantibody development. Stratification of children based on these communities revealed functional associations between diet, gut microbiome, and islet autoantibody development. Two communities were strongly associated with breast-feeding and solid food introduction, respectively. The third community revealed a subgroup of children that was dominated by Bacteroides abundances compared to two subgroups with low Bacteroides and increased Akkermansia abundances. The Bacteroides-dominated subgroup was characterized by early introduction of non-milk diet, increased risk for early autoantibody development, and by lower abundances of genes for the production of butyrate via co-fermentation of acetate. By combining our results with information from the literature, we provide a refined functional hypothesis for a protective role of butyrate in the pathogenesis of type 1 diabetes. CONCLUSIONS: Based on functional traits of microbial communities estimated from co-occurrence networks, we provide evidence that alterations in the composition of mucin degrading bacteria associate with early development of anti-islet cell autoimmunity. We hypothesize that lower levels of Bacteroides in favor of increased levels of Akkermansia lead to a competitive advantage of acetogens compared to sulfate reducing bacteria, resulting in increased butyrate production via co-fermentation of acetate. This hypothesis suggests that butyrate has a protective effect on the development of anti-islet cell autoantibodies.