ObjectiveFibromyalgia (FM) and migraine are common pain disorders that tend to coexist. This study determined whether these two conditions exhibited any mutual influences.SettingCohort study.ParticipantsA retrospective, longitudinal cohort study was conducted using data obtained from a nationwide healthcare database. This study had two arms. Arm 1 comprised 33 216 patients with FM and arm 2 consisted of 7420 patients with migraine; all of these patients were diagnosed between 2000 and 2010. Using the aforementioned database, control subjects who had neither FM nor migraine and were matched with the FM and migraine patients by sex, age and index date of diagnosis were recruited. Each control cohort was four times the size of the corresponding study cohort. Follow-up for the control and study cohorts was conducted until the end of 2011.ResultsThe incidence rates of FM and migraine were calculated in arms 1 and 2, respectively. The overall incidence of migraine was greater in the FM cohort than in the corresponding control cohort (4.39 vs 2.07 per 1000 person-years (PY)); crude HR=2.12, 95% CI=1.96 to 2.30; adjusted HR (aHR)=1.89, 95% CI=1.75 to 2.05). After adjustment for sex, age and comorbidities, the overall incidence of FM in the migraine cohort was 1.57 times greater than that in the corresponding control cohort (7.01 vs 4.49 per 1000 PY; aHR=1.52, 95% CI=1.39 to 1.65).ConclusionsThe present study revealed a bidirectional link between FM and migraine.