Attention-deficit/hyperactivity disorder (ADHD) is a common childhood mental disorder with undetermined pathophysiological mechanisms. The gut microbiota and immunological dysfunction may influence brain functions and social behaviours. In the current study, we aimed to explore the correlation of gut microbiome imbalance and inflammation in the pathophysiology of ADHD. Forty-one children with ADHD and thirty-nine healthy-control (HC) individuals were recruited. Faecal samples from all participants were collected and submitted for 16 S rRNA V3–V4 amplicon microbiome sequencing analysis. The plasma levels of 10 cytokines, including TNF-α, IL-6, IL-1β, IL-2, IL-10, IL-13, IL-17A, IFN-α2, IFN-γ, and MCP-1, were determined using a custom-made sandwich enzyme-linked immunosorbent assay (ELISA) developed by Luminex Flowmetrix. There was no significant difference between the ADHD and HC groups in species diversity in the faeces, as determined with α-diversity and β-diversity analysis. In the ADHD group, three differentially abundant taxonomic clades at the genus level were observed, namely Agathobacter, Anaerostipes, and Lachnospiraceae. Top differentially abundant bacteria and representative biological pathways were identified in children with ADHD using linear discriminant analysis (LDA) effect size (LEfSe), and the phylogenetic investigation of communities by reconstruction of unobserved states (PICRUSt) analysis, respectively. The plasma levels of TNF-α were significantly lower in children with ADHD than in HCs. Within the ADHD group, the levels of TNF-α were negatively correlated with ADHD symptoms and diversity of the gut microbiome. Our study provides new insights into the association between gut microbiome dysbiosis and immune dysregulation, which may contribute to the pathophysiology of ADHD.