An yi imani da cewa yana aiki ta hanyar "barin mugayen ruhohi su tsere". William Harvey ya ba da shawarar trepanation a matsayin magani ga migraines a karni na 17. Duk da yake an yi ƙoƙari da yawa don maganin migraines, ba har zuwa 1868 cewa amfani da wani abu wanda a ƙarshe ya zama tasiri ya fara. Wannan abu shi ne naman gwari ergot daga abin da aka ware ergotamine a shekarar 1918. An haɓaka Methysergide a 1959 kuma an fara samar da triptan na farko, sumatriptan, a shekarar 1988. A cikin karni na 20 tare da ingantaccen binciken da aka tsara tare da ingantaccen matakan rigakafi. Tambaya: Wace shekara aka ware ergotamine daga naman gwari?
Shekara ta 1918