Using unique signatures in 129Xe MR 3D gas exchange imaging and dynamic spectroscopy, we tested an algorithm to detect pulmonary hypertension (PH). The algorithm was developed using a training cohort (n=105) and tested on 25 subjects whose PH status was determined via right heart catheterization. Two expert readers rated scan quality and interpreted each subject’s 129Xe MRI/MRS to determine PH status. Using the 16 patients for which readers rated scan diagnostic quality as 4-5/5, the diagnostic accuracy was 0.84 (sensitivity=0.78, specificity=0.93). This model demonstrates the ability to distinguish subjects with pre-capillary PH from those without PH or with post-capillary PH.