ObjectivesDespite the improved survival of patients with AIDS and Kaposi's sarcoma (KS), competing events are a non‐negligible issue affecting the survival of such patients. In this study, we explored the prognostic factors of KS‐specific and non‐KS‐specific mortality in patients with AIDS‐related KS (AIDS‐KS), accounting for competing risk.MethodsWe identified 17 103 patients with AIDS‐KS aged 18–65 years between 1980 and 2016 from the Surveillance, Epidemiology, and End Results (SEER) 18 registry database. Prognostic factors for KS‐specific and non‐KS‐specific mortality were determined by the Fine and Grey proportional subdistribution hazard model. We built competing risk nomograms and assessed their predictive performance based on the identified prognostic factors.ResultsIn total, 12 943 (75.68%) patients died, 1965 (15.50%) of whom died from competing events. The KS‐specific mortality rate was 14 835 per 100 000 person‐years, and the non‐KS specific mortality rate was 2719 per 100 000 person‐years. Specifically, age >44 years was associated with an 11% decrease in the subdistribution hazard of KS‐specific mortality compared with age <43 years but a 50% increase in the subdistribution hazard of non‐KS‐specific mortality. Being male was associated with a 26% increase in the subdistribution hazard of KS‐specific mortality compared with being female but a 32% decrease in the subdistribution hazard of non‐KS‐specific mortality. Notably, being in the antiretroviral therapy (ART) era consistently showed a decrease in the subdistribution hazard of both KS‐specific and non‐KS‐specific mortality than being in the pre‐ART era.ConclusionsCompeting events commonly occurred among patients with AIDS‐KS, which deserves further attention to improve the prognosis of these patients.