Hypoxia-inducible factor stimulates the expression of apelin, a potent vasodilator, in response to reduced blood arterial oxygen saturation. However, aberrations in the apelin system impair pulmonary vascular function, potentially resulting in the development of high-altitude (HA)-related disorders. This study aimed to elucidate the genetic and epigenetic regulation of apelin, apelin receptor (APLNR), and endothelial nitric oxide synthase (NOS3) in HA adaptation and HA pulmonary edema (HAPE). A genome-wide association study and sequencing identified variants of apelin, APLNR, and NOS3 that were validated in a larger sample size of HAPE-patients (HAPE-p), HAPE-free controls (HAPE-f), and healthy highland natives (HLs). Apelin-13 and nitrite levels and apelin and NOS3 expression were down-regulated in HAPE-p (P < 0.001). Among the several studied polymorphisms, apelin rs3761581, rs2235312, and rs3115757; APLNR rs11544374 and rs2282623; and NOS3 4b/4a, rs1799983, and rs7830 were associated with HAPE (P < 0.03). The risk allele rs3761581G was associated with a 58.6% reduction in gene expression (P = 0.017), and the risk alleles rs3761581G and rs2235312T were associated with low levels of apelin-13 and nitrite (P < 0.05). The latter two levels decreased further when both of these risk alleles were present in the patients (P < 0.05). Methylation of the apelin CpG island was significantly higher in HAPE-p at 11.92% than in HAPE-f and HLs at ≤7.1% (P < 0.05). Moreover, the methylation effect was 9% stronger in the 5′ UTR and was associated with decreased apelin expression and apelin-13 levels. The rs3761581 and rs2235312 polymorphisms and methylation of the CpG island influence the expression of apelin in HAPE.