Exercise increases brain-derived neurotrophic factor (BDNF), a protein that protects neurons and is important for learning and memory. In a study of mice who were trained to find objects, sedentary mice could not discriminate between familiar object locations and novel ones 24 hours after receiving weak training, while mice who had voluntarily taken part in exercise over a 3-week period could easily distinguish between these locations after the weak training.
Mice who received sodium butyrate (NaB) after training behaved similarly well to those who had exercised. Sodium butyrate is a histone deacetylase (HDAC) inhibitor, meaning it helps keep acetyl groups on histones, around which DNA is wrapped, making the DNA easier to transcribe. In this case the easy transcription of DNA enables learning under conditions in which it might not usually take place.
Both sodium butyrate and exercise promote learning through their effects on BDNF in the hippocampus. They make the DNA for BDNF easier to transcribe, suggesting that exercise can put the brain in a state of readiness to create new or more lasting memories.