Obesity was associated with all-cause mortality and BCSM in patients with ER+ or HER2+ tumors, whereas no clear association was observed in patients with triple-negative tumors. Here, ERBB2 is linked to obesity due to melanocortin 4 receptor deficiency.