Variations in available energy among cereal grains for growing pigs may originate from digestive and fermentative heterogeneities. This study employed an intestinal dual-cannulation to investigate the segmental disappearance of energy and nutrients along the gastrointestinal tract (GIT) and the gut microbial responses, aiming to elucidate how such heterogeneity influences available energy. Fourteen dual-cannulated pigs (21.91 ± 4.00 kg) were allotted to a replicated 3 × 7 incomplete Latin square design with seven iso-digestible energy and protein diets containing barley, brown rice, corn, oats, paddy rice, sorghum, and wheat as the sole grain, , and three 14-d periods consisting of 8 d adaptation and 2 d collection of feces, cecal digesta, and ileal digesta collection. The brown rice diet showed greater apparent digestibility and pre-ileal disappearance of dry matter (DM), organic matter (OM), and gross energy (GE) than the oat and paddy rice diets (P<0.05), contributing more available energy. High-fermentability wheat fiber was degraded mainly in the cecum, while low-fermentability oat and paddy rice fibers were degraded primarily in the colon. Distinct cereals selectively modulated gut microbiota: barley increased ileal and fecal Lactobacillus and cecal Bacteroidota; oats increased ileal Actinobacillus; corn elevated cecal Turicibacter and Romboutsia; and paddy rice increased cecal Phascolarctobacterium. Correlation analysis indicated that Bacteroidota, Prevotella, Alloprevotella, Anaerovibrio, and Phascolarctobacterium were positively associated with cecal soluble dietary fiber (SDF) disappearance, whereas Clostridium_sensu_stricto_1, Turicibacter, Escherichia-Shigella, Romboutsia, and Terrisporobacter were positively correlated with cecal insoluble dietary fiber (IDF) and cellulose disappearance. Short-chain fatty acid (SCFA) production was closely related to Bacteroidota, Clostridium_sensu_stricto_1, Actinobacillus, Veillonella, and Prevotella in the ileum; Turicibacter and Romboutsia in the cecum; and Lactobacillus in the feces. In conclusion, digestive and fermentative heterogeneities among cereal grains alter energy supply patterns: brown rice efficiently supplies energy via foregut digestion, while oats and paddy rice show low energy supply efficiency owing to poor digestibility and fermentability. Distinct cereals selectively regulate gut microbiota and metabolic outputs, underpinning their differential energy availability.