To determine the incidence, risk factors, and relative survival of acute myeloid leukemia (AML) secondary to myelodysplastic syndrome (MDS) in the Surveillance, Epidemiology, and End Results (SEER) database. Retrospective analysis of all patients with new MDS onset in the SEER‐18 database from 2001 to 2013. We identified 36 558 patients with primary MDS. The rate of secondary AML (sAML) was 3.7% among patients 40 years or younger and 2.5% among those older than 40 (P = .039). The median transformation interval was significantly shorter for the younger group (4.04 vs 13.1 mo; P < .001). For both age groups, median overall and cancer‐specific survival were significantly longer for patients who did not develop sAML. Although the younger patients survived longer than the older patients, sAML development had a more negative effect on the survival of younger patients. Female sex, age, and World Health Organization (WHO) type MDS with single lineage dysplasia (MDS‐SLD) were associated with a decreased risk of sAML for older but not younger patients. Among older patients with MDS, a married status, Black race, female sex, shorter time to sAML, and WHO type MDS‐SLD or MDS with ringed sideroblasts were favorable prognostic factors for survival. In the SEER database, the rate of sAML among patients with MDS is lower than that in previous reports, but these patients still have worse survival. Risk assessment should include clinical and demographic factors.