Children have regional dynamics in the gut microbiota development trajectory. Hitherto, the features and influencing factors of the gut microbiota and fecal and plasma metabolites in children from Northwest China remain unclear. Shotgun metagenomic sequencing and untargeted metabolomics were performed on 100 healthy volunteers aged 2-12 years. Age, body mass index (BMI), regular physical exercise (RPE), and delivery mode (DM) significantly affect gut microbiota and metabolites. Lactobacillus, Butyricimonas, Prevotella, Alistipes, and predicted pathway propanoate production were significantly increased with age while Bifidobacterium breve, B. animalis, B. pseudocatenulatum, Streptococcus infantis, and carbohydrate degradation were decreased. Fecal metabolome revealed that the metabolism of caffeine, amino acids, and lipid significantly increased with age while galactose metabolism decreased. Noticeably, BMI was positively associated with pathogens including Erysipelatoclostridium ramosum, Parabacteroides distasonis, Ruminococcus gnavus, and amino acid metabolism but negatively associated with beneficial Akkermansia muciniphila, Alistipes finegoldii, Eubacterium ramulus, and caffeine metabolism. RPE has increased probiotic Faecalibacterium prausnitzii and Anaerostipes hadrus, acetate and lactate production, and major nutrient metabolism in gut and plasma, but decreased pathobiont Bilophila wadsworthia, taurine degradation, and pentose phosphate pathway. Interestingly, DM affects the gut microbiota and metabolites throughout the whole childhood. Bifidobacterium animalis, Lactobacillus mucosae, L. ruminis, primary bile acid, and neomycin biosynthesis were enriched in eutocia, while anti-inflammatory Anaerofustis stercorihominis, Agathobaculum butyriciproducens, Collinsella intestinalis, and pathogenic Streptococcus salivarius, Catabacter hongkongensis, and amino acid metabolism were enriched in Cesarean section children. Our results provided theoretical and data foundation for the gut microbiota and metabolites in preadolescent children's growth and development in Northwest China.