Taking anti-seizure medications, including Dilantin, during pregnancy has been linked to both physical and mental birth defects. Nevertheless, seizure control during pregnancy is essential to keeping the mother and baby safe. There may be other anti-seizure treatment options with a lower rate of birth defects.