The present study demonstrates that maternal nonobstetric surgery during mid-pregnancy exacerbates hippocampus-dependent spatial learning and memory impairment in offspring rats caused by propofol anesthesia, which is associated with increased expression of HDAC2 and decreased levels of synapse-associated proteins p-CREB, and BDNF-TrkB. This evidence concerns the gene NTRK2 and memory impairment.