From a few hours to a few days.
Chronic migraine may be characterized as more than fifteen headache days per month over a three-month period where more than nine or more are migrainous (a long-lasting migraine that does not go away by itself).
Episodic migraine is characterized as 14 or fewer headache days in a month.