SummarySoftening in fruit adversely impacts their edible quality and commercial value, leading to substantial economic losses during fruit ripening, long‐term storage, long‐distance transportation, and marketing. As the apple fruit demonstrates climacteric respiration, its firmness decreases with increasing ethylene release rate during fruit ripening and postharvest storage. However, the molecular mechanisms underlying ethylene‐mediated regulation of fruit softening in apple remain poorly understood. In this study, we identified a WRKY transcription factor (TF) MdWRKY31, which is repressed by ethylene treatment. Using transgenic approaches, we found that overexpression of MdWRKY31 delays softening by negatively regulating xyloglucan endotransglucosylase/hydrolases 2 (MdXTH2) expression. Yeast one‐hybrid (Y1H), electrophoretic mobility shift (EMSA), and dual‐luciferase assays further suggested that MdWRKY31 directly binds to the MdXTH2 promoter via a W‐box element and represses its transcription. Transient overexpression of ethylene‐induced MdNAC7, a NAC TF, in apple fruit promoted softening by decreasing cellulose content and increasing water‐soluble pectin content in fruit. MdNAC7 interacted with MdWRKY31 to form a protein complex, and their interaction decreased the transcriptional repression of MdWRKY31 on MdXTH2. Furthermore, MdNAC7 does not directly regulate MdXTH2 expression, but the protein complex formed with MdWRKY31 hinders MdWRKY31 from binding to the promoter of MdXTH2. Our findings underscore the significance of the regulatory complex NAC7–WRKY31 in ethylene‐responsive signalling, connecting the ethylene signal to XTH2 expression to promote fruit softening. This sheds light on the intricate mechanisms governing apple fruit firmness and opens avenues for enhancing fruit quality and reducing economic losses associated with softening.