Photosynthesis is not only a primary generator of reactive oxygen species (ROS) but also a component of plant defence. To determine the relationships among photosynthesis, ROS, and defence responses to powdery mildew in wheat, we compared the responses of the Pm40-expressing wheat line L658 and its susceptible sister line L958 at 0, 6, 12, 24, 48, and 72 h post-inoculation (hpi) with powdery mildew via analyses of transcriptomes, cytology, antioxidant activities, photosynthesis, and chlorophyll fluorescence parameters. The results showed that H2O2 accumulation in L658 was significantly greater than that in L958 at 6 and 48 hpi, and the enzymes activity and transcripts expression of peroxidase and catalase were suppressed in L658 compared with L958. In addition, the inhibition of photosynthesis in L658 paralleled the global downregulation of photosynthesis-related genes. Furthermore, the expression of the salicylic acid-related genes non-expressor of pathogenesis related genes 1 (NPR1), pathogenesis-related 1 (PR1), and pathogenesis-related 5 (PR5) was upregulated, while the expression of jasmonic acid- and ethylene-related genes was inhibited in L658 compared with L958. In conclusion, the downregulation of photosynthesis-related genes likely led to a decline in photosynthesis, which may be combined with the inhibition of peroxidase (POD) and catalase (CAT) to generate two stages of H2O2 accumulation. The high level of H2O2, salicylic acid and PR1 and PR5 in L658 possible initiated the hypersensitive response.