Further, our study reveals that tumor proliferation and immune response features, represented by spatial Ki67 expression and CD8+ cell density profiles, have independent prognostic value in both ER+HER2– BC and TNBC. Here, ESR1 is linked to breast cancer.