A locus near SOX17 (rs10103692, odds ratio 1·80 [95% CI 1·55–2·08], p=5·13 × 10–15) and a second locus in HLA-DPA1 and HLA-DPB1 (collectively referred to as HLA-DPA1/DPB1 here; rs2856830, 1·56 [1·42–1·71], p=7·65 × 10–20) within the class II MHC region were associated with pulmonary arterial hypertension. Here, SOX17 is linked to pulmonary arterial hypertension.