Here, using the UK Biobank cohort, we carried out a GWAS of loci associated with the ICD-10 diagnostic code for primary pulmonary hypertension (I27.0), which encompasses IPAH and hereditary PAH but not other forms of associated PAH, and found novel genetic variants, including those in the PIM1 and LINC01491 genes, associated with it. The gene discussed is PIM1; the disease is idiopathic pulmonary arterial hypertension.