Breast cancer is one of the most prevalent cancers in women globally. Its treatment and prognosis are significantly influenced by the tumor microenvironment and tumor heterogeneity. Precision therapy enhances treatment efficacy, reduces unwanted side effects, and maximizes patients’ survival duration while improving their quality of life. Spatial transcriptomics is of significant importance for the precise treatment of breast cancer, playing a critical role in revealing the internal structural differences of tumors and the composition of the tumor microenvironment. It offers a novel perspective in studying the spatial structure and cell interactions within tumors, facilitating more effective personalized treatments for breast cancer. This article will summarize the latest findings in the diagnosis and treatment of breast cancer from the perspective of spatial transcriptomics, focusing on the revelation of the tumor microenvironment, identification of new therapeutic targets, enhancement of disease diagnostic accuracy, comprehension of tumor progression and metastasis, assessment of drug responses, creation of high-resolution maps of tumor cells, representation of tumor heterogeneity, and support for clinical decision-making, particularly in elucidating the tumor microenvironment, tumor heterogeneity, immunotherapy and their correlation with clinical outcomes.