BackgroundPediatric epilepsy is a complicated neuropsychiatric disorder that is characterized by recurrent seizures and unusual synchronized electrical activities within brain tissues. It has a substantial effect on the quality of life of children, thus understanding of the hereditary considerations influencing epilepsy susceptibility and the response to antiepileptic medications is crucial. This study focuses on assessing the correlation of the ABCB1, ABCC2, CYP1A2, and CYP2B6 genetic polymorphisms with the susceptibility to epileptic seizures and their contributions to antiepileptic medication throughout the course of the disease. MethodsThis study included 134 Egyptian epileptic children, comprising 67 drug-responsive and 67 drug-resistant patients, along with 124 healthy controls matching for age, gender, and geographical district. Genotyping of the rs2032582, rs717620, rs2273697, rs762551, and rs3745274 variants was performed using the PCR technique. Statistical analyses, including haplotype, multivariate, logistic regression, and bioinformatics approaches, were conducted to evaluate the associations within the disease. ResultsThe ABCC2*rs717620 (T allele) revealed an increased risk of epilepsy compared to healthy controls (OR = 2.12, p-value < 0.001), with the rs717620 (C/T + T/T genotypes) showing significant differences between drug-responsive and drug-resistant patients (p-value < 0.05). Moreover, the ABCC2*rs2273697 (A allele) indicated a decreased risk of epileptic seizures compared to healthy controls (OR = 0.51, p-value = 0.033), with the rs2273697 (G/A + A/A genotypes) indicating a significant association with drug-resistant patients (OR = 0.21, p-value = 0.002). The rs717620*T/rs2273697*G haplotype was significantly correlated with an elevated risk of epileptic seizures within drug-responsive patients (OR = 2.26, p-value = 0.019). Additionally, the CYP1A2*rs762551 (A allele) represented a protective effect against epilepsy susceptibility (OR = 0.50, p-value < 0.001), with the rs762551 (G/A + A/A genotypes) disclosing a substantial association with a decreased risk of epileptic seizures among drug-resistant patients compared to drug-responsive patients (OR = 0.07, p-value < 0.001). Conversely, the ABCB1*rs2032582 (G allele) and the CYP2B6*rs3745274 (T allele) did not attain a significant difference with the epilepsy risk compared to healthy controls (p-value > 0.05). ConclusionsThe findings of our study emphasize the importance of pharmacogenetic screening in epilepsy research, particularly regarding to drug-resistant patients. The ABCC2*rs717620 variant conferred a significant correlation with elevated risk of epileptic seizures, while the ABCC2*rs2273697 and CYP1A2*rs762551 variants confirmed their contributions as protective markers against epilepsy development. Conversely, the ABCB1*rs2032582 and CYP2B6*rs3745274 alleles were not considered as independent risk factors with the course of epilepsy disease.