Temperature is a key environmental factor in determining the population size of Cnaphalocrocis medinalis in summer. High temperatures inhibit survival, development and fecundity of this insect. However, biological responses of female and male adults to heat shock, and physiological mechanism of high temperature suppressing population development are still ambiguous. We experimentally tested the impact of heat shock (5 h day−1) on biological traits, spermatogenesis and sperm transfer of adults of C. medinalis. The result showed that heat exposure to 39 and 40 °C for 5 h reduced longevity and copulation frequency of adults, and hatchability of eggs. Immediate survival rate of males was lower than that of females after 3 days of exposure to 41 °C. The oviposition period, copulation frequency, fecundity of adults and hatchability of eggs were significantly lower when male adults were exposed to 40 or 41 °C for 3 days. Heat shock decreased frequency and success rate of mating when males were exposed, and it also resulted in postponement of mating behaviour and prolongation of mating duration as both the female and male adults were exposed. Heat shock did not affect spermatogenesis, but significantly inhibited sperms maturation. Moreover, males could not ejaculate sperm into females during copulation when these male moths received heat shock. Heat shock remarkably suppressed mating behaviour and sperm transfer, which led to a dramatic decline of rice leaf folder populations.