In present study, we identified that mutant p53 pattern was a significant prognostic factor in breast cancer with low nuclear YAP1 expression (OS, HR 6.688, 95% CIs 2.187–20.45, P = 0.0009; RFS, HR 2.771, 95% CIs 1.501–5.115, P = 0.0011), and interestingly, mutant p53 pattern showed no prognostic effect on high YAP1 tumors. Here, TP53 is linked to breast cancer.