Lactate produced by Sertoli cells plays an important role in spermatogenesis, and heat stress induces lactate production in immature boar Sertoli cells. Extracellular signaling regulated kinase 1 and 2 (ERK1/2) participates in heat stress response. However, the effect of ERK1/2 on heat stress-induced lactate production is unclear. In the present study, Sertoli cells were isolated from immature boar testis and cultured at 32 °C. Heat stress was induced in a 43 °C incubator for 30 min. Proteins and RNAs were detected by western blotting and RT-PCR, respectively. Lactate production and lactate dehydrogenase (LDH) activity were detected using commercial kits. Heat stress promoted ERK1/2 phosphorylation, showing a reducing trend with increasing recovery time. In addition, heat stress increased heat shock protein 70 (HSP70), glucose transporter 3 (GLUT3), and lactate dehydrogenase A (LDHA) expressions, enhanced LDH activity and lactate production at 2-h post-heat stress. Pretreatment with U0126 (1 × 10 mol/L), a highly selective inhibitor of ERK1/2 phosphorylation, reduced HSP70, GLUT3, and LDHA expressions and decreased LDH activity and lactate production. Meanwhile, ERK2 siRNA1 reduced the mRNA level of ERK2 and weakened ERK1/2 phosphorylation. Additionally, ERK2 siRNA1 reduced HSP70, GLUT3, and LHDA expressions decreased LDH activity and lactate production. Furthermore, HSP70 siRNA3 downregulated GLUT3 and LDHA expressions and decreased LDH activity and lactate production. These results show that activated ERK1/2 increases heat stress-induced lactate production by enhancing HSP70 expression to promote the expressions of molecules related to lactate production (GLUT3 and LDHA). Our study reveals a new insight in reducing the negative effect of heat stress in boars.