How long a headache lasts depends on its type: A tension-type headache may last anywhere from half an hour to a week Cluster headaches tend to last between 45 and 90 minutes The painful phase of a migraine can last up to about 72 hours Primary exercise headaches usually last less than 24 hours Primary cough headaches typically last for a few seconds or maybe a minute