Pulmonary arterial hypertension (PAH) is a malignant pulmonary vascular disease characterized by increased pulmonary vascular resistance, pulmonary vasoconstriction, and right ventricular hypertrophy. Recent developments in genomics and metabolomics have gradually revealed the roles of the gut microbiota (GM) and its metabolites in cardiovascular diseases. Accumulating evidence reveals that the GM plays important roles in the occurrence and development of PAH. Gut microbiota dysbiosis directly increases the gut permeability, thereby facilitating pathological bacterial translocation and allowing translocation of bacterial products such as lipopolysaccharides from the gut into circulation. This process aggravates pulmonary perivascular inflammation and exacerbates PAH development through the endothelial–mesenchymal transition. Additionally, a shift in the composition of PAH also affects the gut metabolites. Changes in gut metabolites, such as decreased short-chain fatty acids, increased trimethylamine N-oxide, and elevated serotonin, contribute to pulmonary perivascular inflammation and pulmonary vascular remodeling by activating several signaling pathways. Studies of the intestinal microbiota in treating pulmonary hypertension have strengthened linkages between the GM and PAH. Probiotic therapy and fecal microbiota transplantation may supplement existing PAH treatments. In this article, we provide new insight for diagnosing, preventing and treating PAH by adding to the current knowledge of the intestinal flora mechanisms and its metabolites efficacy involved in PAH.