Heat stressed pigs show typical characteristics of inflammatory bowel disease (IBD). However, little is known about the pathogenesis of heat stress (HS)-induced IBD in pigs. In this study, we determined the effects of HS on colon morphology, intestinal microbiota diversity, transcriptome genes (transcripts), and short chain fatty acids (SCFAs) metabolism in pigs. In addition, the correlation among these parameters was analyzed by weighted gene co-expression network analysis. Results showed that the liver and kidney functions related to blood biochemical indexes were partially changed in pigs under HS. Furthermore, the levels of diamine oxidase and D-lactic acid were significantly increased, whereas the levels of secretory immunoglobulin A were decreased. The integrity of colonic tissue was damaged under HS, as bleeding, lymphatic infiltration, and villi injury were observed. The concentrations of SCFAs in the colon, such as acetic acid and butyric acid, were decreased significantly. In addition, the composition of colon microbiota, such as decrease in Lactobacillus johnsonii, Lactobacillus reuteri and increase in Clostridium sensu stricto 1 of day 7 and 14 while under HS. These changes were associated with changes in the concentration of SCFAs and biochemical indexes above mentioned. Differentially expressed genes were enriched in the nucleotide-binding oligomerization domain-like receptor signaling pathway, Th17 cell differentiation, and IBD pathway, which were also associated with the changes in SCFAs. Thus, the structure, diversity of intestinal microorganisms, and changes in the levels of SCFAs in colon of heat stressed pigs changed significantly, contributing to the activation of immune response and inflammatory signal pathways and causing abnormal physiological and biochemical indexes and intestinal mucosal damage. These results highlight the interconnections between intestinal microbiota, SCFAs, and immune response and their role in the pathogenesis of stress induced IBD therapy.