Based on a few studies, heart failure patients with breast cancer were assessed to find potential biomarkers for doxorubicin-induced cardiotoxicity. However, key immune-related transcriptional markers linked to doxorubicin-induced cardiotoxicity in breast cancer patients have not been thoroughly investigated. We used GSE40447, GSE76314, and TCGA BRCA cohorts to perform this study. Then, we performed various bioinformatics approaches to identify the key immune-related transcriptional markers and their association with doxorubicin-induced cardiotoxicity in patients with breast cancer. We found 255 upregulated genes and 286 downregulated genes in patients with doxorubicin-induced heart failure in breast cancer. We discovered that in patients with breast cancer comorbidity doxorubicin-induced cardiotoxicity, the 58 immunological genes are elevated (such as CPA3, VSIG4, GATA2, RFX2, IL3RA, and LRP1), and the 60 genes are significantly suppressed (such as MS4A1, FCRL1, CD200, FCRLA, FCRL2, and CD79A). Furthermore, we revealed that the immune-related differentially expressed genes (DEGs) are substantially associated with the enrichment of KEGG pathways, including B-cell receptor signaling pathway, primary immunodeficiency, chemokine signaling pathway, hematopoietic cell lineage, cytokine-cytokine receptor interaction, Toll-like receptor signaling pathway, MAPK signaling pathway, focal adhesion, dilated cardiomyopathy, cell adhesion molecule, etc. Moreover, we discovered that the doxorubicin-induced immune-related genes are crucially involved in the protein–protein interaction and gene clusters. The immune-related genes, including IFIT5, XCL1, SPIB, BTLA, MS4A1, CD19, TCL1A, CD83, CD200, FCRLA, CD79A, BIRC3, and IGF2R are significantly associated with a poor survival prognosis of breast cancer patients and showed diagnostic efficacy in patients with breast cancer and heart failure. Molecular docking revealed that the survival-associated genes interact with the doxorubicin with appreciable binding affinity. Finally, we validated the expression level of immune-related genes in breast cancer patients-derived cardiomyocytes with doxorubicin-induced cardiotoxicity and found that the level of RAD9A, HSPA1B, GATA2, IGF2R, CD200, ERCC8, and BCL11A genes are consistently dysregulated. Our findings offered a basis for understanding the mechanism and pathogenesis of the cardiotoxicity caused by doxorubicin in breast cancer patients and predicted the interaction of immune-related potential biomarkers with doxorubicin.