Genetic factors contribute to the high inter-individual variability in response to anti-epileptic drugs.
Other metabolic pathways include CYP3A4, CYP3A5, HLA-B*15:02, HLA-A*31:01 and UGT1A1.
Your genes are the main factor determining the level of these enzymes found primarily in your liver — if you have too much of the enzyme, you process the medication too quickly, too little of the enzyme and the medication builds up in your bloodstream potentially causing adverse reactions or side effects.
Without knowing your genetics, your physician may need to go through months of trial-and-error prescribing.
Population Frequency of Cytochrome P450 (CYP) Metabolizer Types 
(no or low enzyme levels)
(reduced enzyme levels)
(normal enzyme levels)
*CYP2C19 variability depends on ethnicity.
Some epilepsy medications that are impacted by your genetics: