The mechanism of exercise for migraine prophylaxis might include increased levels of beta-endorphin, endocannabinoid, and brain-derived neurotrophic factor in plasma after exercise (Amin et al., 2018). This evidence concerns the gene BDNF and migraine disorder.