The development of cancer was determined by not only the intrinsic properties of cancer cells, but also the communication between cancer cells and tumor microenvironment (TME). We applied ESTIMATE and CIBERSORT algorithms to calculate the immune/stromal component and tumor-infiltrating immune cells (TICs) in TME of BC. The results showed that immune component in TME predicted patients’ survival and associated with progression of BC. Differentially expressed genes (DEGs) were primarily enriched in immune-related activities. Finally, CCL19 was acquired which shared the leading nodes in PPI network and was associated with patients’ survival. High expression of CCL19 predicted better prognosis and participated in progression of BC. Genes in CCL19 up-regulated group were enriched in immune-related activities and these functions might depend on the communications between CCL19 and multiple TICs in TIME. In conclusion, CCL19 functioned as a potential prognostic biomarker and a modulator of TIME in BC through communicating with various TICs.