Patient outcome in primary myelofibrosis (PMF) is significantly influenced by karyotype. We studied 879 PMF patients to determine the individual and combinatorial prognostic relevance of somatic mutations. Analysis was performed in 483 European patients and the seminal observations were validated in 396 Mayo Clinic patients. Samples from the European cohort, collected at time of diagnosis, were analyzed for mutations in ASXL1, SRSF2, EZH2, TET2, DNMT3A, CBL, IDH1, IDH2, MPL and JAK2. Of these, ASXL1, SRSF2 and EZH2 mutations inter-independently predicted shortened survival. However, only ASXL1 mutations (HR: 2.02; P<0.001) remained significant in the context of the International Prognostic Scoring System (IPSS). These observations were validated in the Mayo Clinic cohort where mutation and survival analyses were performed from time of referral. ASXL1, SRSF2 and EZH2 mutations were independently associated with poor survival, but only ASXL1 mutations held their prognostic relevance (HR: 1.4; P = 0.04) independent of the Dynamic IPSS (DIPSS)-plus model, which incorporates cytogenetic risk. In the European cohort, leukemia-free survival was negatively affected by IDH1/2, SRSF2 and ASXL1 mutations and in the Mayo cohort by IDH1 and SRSF2 mutations. Mutational profiling for ASXL1, EZH2, SRSF2 and IDH identifies PMF patients who are at risk for premature death or leukemic transformation.