Cancer stem cells (CSCs) have the potential to self-renew and induce cancer, which may contribute to a poor prognosis by enabling metastasis, recurrence, and therapy resistance. Hence, this study was performed to identify the association between CSC-related genes and triple-negative breast cancer (TNBC) development. Stemness gene sets were downloaded from StemChecker. Based on the online databases, a consensus clustering algorithm was conducted for unsupervised classification of TNBC samples. The variations between subtypes were assessed with regard to prognosis, tumor immune microenvironment (TIME), and chemotherapeutic sensitivity. The stemness-related gene signature was established and random survival forest analysis was employed to identify the core gene for validation experiments and tumor sphere formation assays. 499 patients with TNBC were classified into three subgroups and the Cluster 1 had a better OS than others. After that, WGCNA study was performed to identify genes important for Cluster 1 subtype. Out of all 8 modules, the subtype of Cluster 1 and the yellow module with 103 genes demonstrated the largest positive association. After that, a four-gene stemness-related signature was established. Based on the yellow module, the 39 potential pivotal genes were subjected to the random forest survival analysis to find out the gene that was relatively important for OS. KIF15 was confirmed as the targeted gene by LASSO and random survival forest analyses. In vitro experiments, the downregulation of KIF15 promoted the stemness of TNBC cells. The expression levels of stem cell markers Nanog, SOX2, and OCT4 were found to be elevated in TNBC cell lines after KIF15 inhibition. A stemness-associated risk model was constructed to forecast the clinical outcomes of TNBC patients. The downregulation of KIF15 expression in a subpopulation of TNBC stem cells may promote stemness and possibly TNBC progression.