Pharmacogenomics (PGx) characterizes genetic variation in medication response. 85-95% of the population carries actionable PGx variants. No prior studies have demonstrated the application and feasibility of PGx in prenatal testing. We assessed parental desire for PGx findings from fetal exome sequencing (ES), evaluated PGx variants, and reviewed implications for medically complex neonates. A prospective cohort undergoing ES for nonimmune hydrops fetalis were offered PGx results as a secondary finding. Seven pharmacogenes with Level A evidence, defined by Clinical Pharmacogenetics Implementation Consortium (CPIC) guidelines, were tested and reported to patients and referring providers. Medication administration records were reviewed. Most participants (36/40, 90%) desired PGx testing. 32/36 (89%) had potentially actionable PGx diplotypes in six genes: CYP2C19 (20/36, 56%), CYP2C9 (16/36, 44%), CYP2D6 (10/36, 28%), SLCO1B1 (13/36, 36%), TPMT (6/36, 17%), UGT1A1 (4/36, 11%). 12/13 (92%) live births had PGx variants. Neonatal chart review indicated that three medications with CPIC Level A evidence were administered to four neonates. None of the patients received a medication that aligned with an actionable pharmacogenetic variant as defined by Level A CPIC guidance. Most participants opted to receive PGx results. 89% had actionable variants, consistent with population estimates. Obtaining fetal PGx data is feasible for medically complex neonates. Further studies are needed for broad clinical application of PGx in fetuses with major congenital abnormalities. Our study demonstrates the potential of PGx as useful preemptive clinical information that could be obtained at the time of fetal exome sequencing for other indications. gov Registration: NCT03911531.