Background: Pleurotus ostreatus is easily affected by temperature during its cultivation. Nitric oxide (NO) plays an important regulatory role in the response to abiotic stress, and previous studies have found that NO can induce alternative oxidase (aox) in response to heat stress (HS) by regulating aconitase. However, the regulatory pathway of NO is complex, and the function and regulation of the aox gene in the response to HS remain unclear.Results: In this study, we found that NO affected the NADH and ATP levels, reduced the H2O2 and O2- contents, and slowed the production of O2-. Further RNA-Seq results showed that NO regulated the oxidation-reduction process and oxidoreductase activity, affected the cellular respiration pathway and activated aox gene expression. The function of aox was determined by constructing overexpression (OE) and RNA interference (RNAi) strains. The results showed that the OE-aox strains showed obvious advantages in experiencing growth recovery after exposure to HS. During exposure to HS, the OE-aox strains exhibited reduced levels of NADH, the product of the TCA cycle, and decreased synthesis of ATP, which reduced the production and accumulation of ROS, whereas the RNAi-aox strains exhibited the opposite result. In addition, aox mediated the expression of antioxidant enzyme genes in the mycelia of P. ostreatus under HS through the retrograde signaling pathway. Conclusions: This study shows that the aox gene in P. ostreatus mycelia can be induced by NO under HS, regulates the TCA cycle and cell respiration to reduce the production of ROS, and can mediate the retrograde signaling pathway involved in the mycelial response to HS.