Background There is lack of data on opioid (over)use for migraine in Europe. Methods We performed a cross-sectional study in a large Dutch cohort using a web-based questionnaire to assess opioid use in individuals with migraine. Primary outcome was to assess opioid use for the treatment of migraine attacks. As secondary outcomes we specified use of opioids (duration of use, type of opioids, prescriber) and compared between persons with episodic migraine versus chronic migraine. Descriptive statistics, unpaired T-tests, Chi-square and Mann-Whitney U tests were used. Results In total n = 3712 patients participated, 13% ever used opioids for headache. In opioid users, 27% did this for >1 month, and 11% for >1 year, and 2% without prescription. The majority of prescribing physicians were general practitioners (46%), followed by neurologists (35%), other specialists (9%), or emergency room doctors (8%). Opioids were used as acute treatment in 63%, in 16% as preventive treatment, and in 21% for both indications. Chronic migraine patients reported more opioid use compared with episodic migraine (22% versus 12%, p < 0.001), with also more prolonged use (>1 month: 34% chronic migraine versus 24% episodic migraine, p < 0.003). Conclusion Opioid use is more frequent and prolonged in chronic migraine patients. Further education for both doctors and migraine subjects and providing multimodal pain management strategies are needed to reduce opioid use in persons with migraine.