In order to evaluate the prophylactic effect of oral magnesium, 81 patients aged 18-65 years with migraine according to the International Headache Society (IHS) criteria (mean attack frequency 3.6 per month) were examined. After a prospective baseline period of 4 weeks they received oral 600 mg (24 mmol) magnesium (trimagnesium dicitrate) daily for 12 weeks or placebo. In weeks 9-12 the attack frequency was reduced by 41.6% in the magnesium group and by 15.8% in the placebo group compared to the baseline (p < 0.05). The number of days with migraine and the drug consumption for symptomatic treatment per patient also decreased significantly in the magnesium group. Duration and intensity of the attacks and the drug consumption per attack also tended to decrease compared to placebo but failed to be significant. Adverse events were diarrhea (18.6%) and gastric irritation (4.7%). High-dose oral magnesium appears to be effective in migraine prophylaxis.