Clinical evidence has shown that physical exercise during pregnancy may alter brain development and improve cognitive function of offspring. However, the mechanisms through which maternal exercise might promote such effects are not well understood. The present study examined levels of brain-derived neurotrophic factor (BDNF) and absolute cell numbers in the hippocampal formation and cerebral cortex of rat pups born from mothers exercised during pregnancy. Additionally, we evaluated the cognitive abilities of adult offspring in different behavioral paradigms (exploratory activity and habituation in open field tests, spatial memory in a water maze test, and aversive memory in a step-down inhibitory avoidance task). Results showed that maternal exercise during pregnancy increased BDNF levels and absolute numbers of neuronal and non-neuronal cells in the hippocampal formation of offspring. No differences in BDNF levels or cell numbers were detected in the cerebral cortex. It was also observed that offspring from exercised mothers exhibited better cognitive performance in nonassociative (habituation) and associative (spatial learning) mnemonic tasks than did offspring from sedentary mothers. Our findings indicate that maternal exercise during pregnancy enhances offspring cognitive function (habituation behavior and spa tial learning) and increases BDNF levels and cell numbers in the hippocampal formation of offspring.