This study aimed to investigate the impact of heat stress (HS) and the effects of dietary soluble fiber from beet pulp (BP) on gene expression (differentially expressed genes, DEGs) of the porcine jejunum. Out of the 82 DEGs, 47 genes were up-regulated, and 35 genes were downregulated between treatments. The gene ontology (GO) enrichment analysis showed that the DEGs were related mainly to the actin cytoskeleton organization and muscle structure development in biological processes, cytoplasm, stress fibers, Z disc, cytoskeleton, and the extracellular regions in cellular composition, and actin binding, calcium ion binding, actin filament binding, and pyridoxal phosphate binding in the molecular function. The KEGG pathway analysis showed that the DEGs were involved in hypertrophic cardiomyopathy, dilated cardiomyopathy, vascular smooth muscle contraction, regulation of actin cytoskeleton, mucin type O-glycan biosynthesis, and African trypanosomiasis. Several of the genes (HSPB6, HSP70, TPM1, TAGLN, CCL4) in the HS group were involved in cellular oxidative stress, immune responses, and cellular differentiation. In contrast, the DEGs in the dietary BP group were related to intestinal epithelium integrity and immune response to pathogens, including S100A2, GCNT3, LYZ, SCGB1A1, SAA3, and ST3GAL1. These findings might help understand the HS response and the effect of dietary fiber (DF) regarding HS and be a valuable reference for future studies.