Abstract Background Kaposi Sarcoma (KS) is a marker of advanced HIV disease; it is still the most frequent AIDS-associated malignancy in Mexico despite universal access to antiretroviral therapy, reflecting a gap in early HIV diagnosis. Objectives To describe people with HIV (PWH) with KS who died within 30 days of admission at INCan and quantify resources and years of life lost (YLL). Methodology We collected demographic data, HIV-related variables, all diagnostic and therapeutic procedures, hospitalizations, and estimated YLL and Disability-Adjusted Life Years (DALYs). Results Eighteen (6.7 %) PWH with KS from 270 patients admitted at INCan from 2014-2021 were included. The median age was 31 years (IQR 27-36), and the median days from admission to death were 15 (IQR 6-24), and from HIV diagnosis to death, 73 days (IQR 30-857). Upon admission, the median HIV viral load was 314,476 copies/mL (IQR 140,709-695,613), CD4+ T cells count was 93 cells/mL (IQR 35-124), and CD4/CD8 ratio was 0.08 (IQR 0.06-0.12), coinfections were diagnosed in 14 (77.7 %) patients, The average expenditure per patient was 7685.99 USD, and the total YLL was 737.4, a median of 42 years (IQR 37.7-47) per patient. The total care cost was 183,947.48 USD, equivalent to a screening program in key populations, which would have allowed the early detection of 1227 cases and saved 8,410 DALYs. Conclusions Reinforcement of early HIV infection detection in key population programs should be prioritized to reduce KS-associated deaths and YLL and for rational use of health budgets.