A recent research suggests that lifelong regular exercise is the key to improved mental health at old age.

It was noticed that, people who had been exercising regularly every week as a child and as an adult performed better in the tests than those who exercised two or three times a month or even less.
Study leader Dr Alex Dregan, from King's College London, and his team opine that even low intensity exercise for short durations done regularly over long term could contribute to better mental health, though intensive exercise for longer durations provide the best results.
Researchers conclude that further research is required to examine the benefits of varying intensity and frequency of exercise on the cognitive brain functions.
Source-Medindia