This study aimed to investigate the prognostic value of AR in HER2+ nonmetastatic breast invasive ductal carcinoma (IDC) and its relationship with the immune microenvironment. The gene discussed is AR; the disease is invasive ductal breast carcinoma.