Background: To classify triple-negative breast cancer (TNBC) immunotyping using the public database, analyze the differences between subtypes in terms of clinical characteristics and explore the role and clinical significance of immune subtypes in TNBC immunotherapy.Methods: We downloaded TNBC data from the cBioPortal and GEO databases. The immune genes were grouped to obtain immune gene modules and annotate their biological functions. Log-rank tests and Cox regression were used to evaluate the prognosis of immune subtypes (IS). Drug sensitivity analysis was also performed for the differences among immune subtypes in immunotherapy and chemotherapy. In addition, dimension reduction analysis based on graph learning was utilized to reveal the internal structure of the immune system and visualize the distribution of patients.Results: Significant differences in prognosis were observed between subtypes (IS1, IS2, and IS3), with the best in IS3 and the worst in IS1. The sensitivity of IS3 to immunotherapy and chemotherapy was better than the other two subtypes. In addition, Immune landscape analysis found the intra-class heterogeneity of immune subtypes and further classified IS3 subtypes (IS3A and IS3B). Immune-related genes were divided into seven functional modules (The turquoise module has the worst prognosis). Five hub genes (RASSF5, CD8A, ICOS, IRF8, and CD247) were screened out as the final characteristic genes related to poor prognosis by low expression.Conclusions: The immune subtypes of TNBC were significantly different in prognosis, gene mutation, immune infiltration, drug sensitivity, and heterogeneity. We validated the independent role of immune subtypes in tumor progression and immunotherapy for TNBC. This study provides a new perspective for personalized immunotherapy and the prognosis evaluation of TNBC patients in the future.