Multiple posts on this blog have described clinical trials that prove the benefit of exercise for the prevention of migraine headaches.
Simplifying the statistics, compared to no exercise, strength training was 3.55 times more effective, high-intensity aerobic exercise was 3.13 times more effective, and moderate-intensity aerobic exercise was 2.18 times more effective.
For general health and for the prevention of migraines, 2-3 weekly sessions of strength training and 2-3 sessions of aerobic exercise would be an ideal regimen. As I mentioned in a recent post, an additional benefit of exercise is a larger brain volume. The only other intervention that has been shown to expand the brain and prevent its shrinkage with age is meditation.
Exercise and meditation are the first two recommendations on my list of top 10 treatments described in my latest book, The End of Migraines: 150 Ways to Stop Your Pain.