Our findings demonstrate that maternal anesthesia impairs interneuron migration through the CXCL12/CXCR4 signaling pathway, and influences the interneuron properties, leading to the increased epilepsy susceptibility in adolescent offspring. Here, CXCL12 is linked to epilepsy.