Heat stress can impair the rabbit immune system, induce oxidative stress, and cause many complications. These diseases are characterized by metabolic disorders, but the underlying mechanism is unknown. As a result, the current research determines the effects of HS on intestinal microorganisms in rabbits and the metabolic pathway disorders caused by HS. Twelve rabbits were randomly assigned to one of two groups: CON (22–24°C) and HS (30°C–32°C). Both the groups were treated for 15 days. Blood and fecal samples were collected on day 15. Serum immune oxidation indices were determined using a commercial ELISA kit, and the microbiome of rabbit feces was studied using 16S rRNA gene sequencing. Non-targeted metabolomics was analyzed using ultra-high-performance liquid chromatography-mass spectrometry (UHPC MS/MS). The findings revealed that HS significantly increased IgG and T-AOC levels in serum, whereas it decreased TNF-α and IL-10. NMDS analysis revealed a substantial difference in bacterial community composition between HS and CON groups. At the phylum level, the abundance of Firmicutes, Protobacteria, and Verrucomicrobiota was significantly higher in the HS group, whereas the abundance of Bacteriodota was reduced in the CON group. V9D2013 group, Haloplasma, Comamonas, Clostridium sensu stricto 1, Ruminiclostridium, Syntrophus Lutispora, at the genus level Syntrophorhabdus, Paeniclostridium, Clostridium sensu stricto 6, Candidatus Caldatribacterium, Spirochaeta Synergistaceae, Syner-01, [Eubacterium] xylanophilum group, Cellulosilyticum, ADurb.Bin120, and Devosia were significantly upregulated in the HS group. The metabolism of the HS group was considerably upregulated compared with the metabolism of the CON group, according to principal component analysis (PCA) and least-squares discriminant analysis (PLS-DA). HS increased the concentrations of 4-pyridoxic acid, kynurenine, 20-OH-leukotriene B4, and dopamine and decreased the concentration of pyridoxal. In the rabbit gut, these compounds primarily impact the metabolic pathways of vitamin B6, tryptophan, neutrophil activation, and prolactin. 4-Pyridoxic acid, pyridoxal, kynurenine, 20-OH-leukotriene B4, and dopamine are essential inflammatory response markers and oxidative stress.