BackgroundThe awareness of the association between the gut microbiota and human intelligence levels is increasing, but the findings are inconsistent. Furthermore, few research have explored the potential role of gut microbial metabolites in this association. This study aimed to investigate the associations of the gut microbiota and fecal metabolome with intelligence quotient (IQ) in preschoolers.MethodsThe 16 S rRNA sequencing and widely targeted metabolomics were applied to analyze the gut microbiota and fecal metabolites of 150 children aged 3–6 years. The Wechsler Preschool and Primary Scale of Intelligence, Fourth Edition (WPPSI-IV) was used to assess the cognitive competence.ResultsThe observed species index, gut microbiome health index, and microbial dysbiosis index presented significant differences between children with full-scale IQ (FSIQ) below the borderline (G1) and those with average or above-average (all P < 0.05). The abundance of Acinetobacter, Blautia, Faecalibacterium, Prevotella_9, Subdoligranulum, Collinsella, Dialister, Holdemanella, and Methanobrevibacter was significantly associated with preschooler’s WPPSI-IV scores (P < 0.05). In all, 87 differential metabolites were identified, mainly including amino acid and its metabolites, fatty acyl, and benzene and substituted derivatives. The differential fecal metabolites carnitine C20:1-OH, 4-hydroxydebrisoquine, pantothenol, creatine, N,N-bis(2-hydroxyethyl) dodecanamide, FFA(20:5), zerumbone, (R)-(-)-2-phenylpropionic acid, M-toluene acetic acid, trans-cinnamaldehyde, isonicotinic acid, val-arg, traumatin, and 3-methyl-4-hydroxybenzaldehyde were significantly associated with the preschooler’s WPPSI-IV scores (P < 0.05). The combination of Acinetobacter, Isonicotinic acid, and 3-methyl-4-hydroxybenzaldehydenine may demonstrate increased discriminatory power for preschoolers in G1.ConclusionThis study reveals a potential association between gut microbiome and metabolites with IQ in preschoolers, providing new directions for future research and practical applications. However, due to limitations such as the small sample size, unclear causality, and the complexity of metabolites, more validation studies are still needed to further elucidate the mechanisms and stability of these associations.