PurposeTo analyze the prescription patterns and sociodemographic factors associated with the use of antipsychotic, antidepressant, and antiepileptic drugs during pregnancy in Belgium, and to investigate their potential association with congenital anomalies.MethodsUsing a nationwide linked database, we identified antidepressants, antipsychotics, and antiepileptics via the Anatomical Therapeutic and Chemical Classification (ATC) codes. For each medication group, we calculated the overall prevalence and prevalence for the three most used medications at the fifth ATC level. Sociodemographic factors influencing medication use during pregnancy were analyzed, and potential associations with congenital anomalies were investigated through logistic regression models based on generalized estimating equations.ResultsOverall, 828 016 live births pregnancies associated with 611 094 mothers were identified. We found that the use of antidepressants, antipsychotics, and antiepileptics was decreasing with the arrival of pregnancy. Mothers with a less favorable sociodemographic status were more likely to be exposed to these medications. Antiepileptics used in the first trimester were associated with an increased risk of congenital anomalies (aOR = 1.65, 95% CI 1.11–2.45) compared with unexposed women. The three most used antiepileptics were lamotrigine, valproate, and levetiracetam, among them, we found an association with congenital anomalies only for valproate (aOR = 3.92, 95% CI 2.30–6.67).ConclusionsPsychotropic and antiepileptic drug use decreased during pregnancy. Pregnant women with a less favorable sociodemographic status were more likely to be exposed to psychotropics and antiepileptics during pregnancy. The elevated risk of congenital anomalies associated with antiepileptics use, particularly valproate, underscores the need for targeted interventions and increased awareness to improve maternal and fetal health outcomes.