A headache, also known as cephalalgia, is the symptom of pain in the face, head, or neck. It can occur as a migraine, tension-type headache, or cluster headache. There is an increased risk of depression in those with severe headaches.

Headaches can occur as a result of many conditions. There are a number of different classification systems for headaches. The most well-recognized is that of the International Headache Society, which classifies it into more than 150 types of primary and secondary headaches. Causes of headaches may include dehydration; fatigue; sleep deprivation; stress; the effects of medications (overuse) and recreational drugs, including withdrawal; viral infections; loud noises; head injury; rapid ingestion of a very cold food or beverage; and dental or sinus issues (such as sinusitis).

Treatment of a headache depends on the underlying cause, but for mild to moderate headaches, pain relievers are often used. A headache is one of the most commonly experienced of all physical discomforts.

About half of adults have a headache in a given year. Tension headaches are the most common, affecting 24.9% of the population followed by migraine headaches which affect 14.1%.

Causes There are more than 200 types of headaches. Some are harmless and some are life-threatening. The description of the headache and findings on neurological examination determine whether additional tests are needed and what treatment is best.

Headaches are broadly classified as "primary" or "secondary". Primary headaches are benign, recurrent headaches not caused by underlying disease or structural problems. For example, migraine is a type of primary headache. While primary headaches may cause significant daily pain and disability, they are not dangerous from a physiological point of view. Secondary headaches are caused by an underlying disease, like an infection, head injury, vascular disorders, brain bleed, stomach irritation, or brain tumor. Secondary headaches can be dangerous. Certain "red flags" or warning signs indicate a secondary headache may be dangerous.

Primary Ninety percent of all headaches are primary headaches. Primary headaches usually first start when people are between 20 and 40 years old. The most common types of primary headaches are migraines and tension-type headaches. They have different characteristics. Migraines typically present with pulsing head pain, nausea, photophobia (sensitivity to light) and phonophobia (sensitivity to sound). Tension-type headaches usually present with non-pulsing "bandlike" pressure on both sides of the head, not accompanied by other symptoms. Such kind of headaches may be further classified into-episodic and chronic tension type headaches Other very rare types of primary headaches include: cluster headaches: short episodes (15–180 minutes) of severe pain, usually around one eye, with autonomic symptoms (tearing, red eye, nasal congestion) which occur at the same time every day. Cluster headaches can be treated with triptans and prevented with prednisone, ergotamine or lithium. trigeminal neuralgia or occipital neuralgia: shooting face pain hemicrania continua: continuous unilateral pain with episodes of severe pain. Hemicrania continua can be relieved by the medication indomethacin. primary stabbing headache: recurrent episodes of stabbing "ice pick pain" or "jabs and jolts" for 1 second to several minutes without autonomic symptoms (tearing, red eye, nasal congestion). These headaches can be treated with indomethacin. primary cough headache: starts suddenly and lasts for several minutes after coughing, sneezing or straining (anything that may increase pressure in the head). Serious causes (see secondary headaches red flag section) must be ruled out before a diagnosis of "benign" primary cough headache can be made. primary exertional headache: throbbing, pulsatile pain which starts during or after exercising, lasting for 5 minutes to 24 hours. The mechanism behind these headaches is unclear, possibly due to straining causing veins in the head to dilate, causing pain. These headaches can be prevented by not exercising too strenuously and can be treated with medications such as indomethacin. primary sex headache: dull, bilateral headache that starts during sexual activity and becomes much worse during orgasm. These headaches are thought to be due to lower pressure in the head during sex. It is important to realize that headaches that begin during orgasm may be due to a subarachnoid hemorrhage, so serious causes must be ruled out first. These headaches are treated by advising the person to stop sex if they develop a headache. Medications such as propranolol and diltiazem can also be helpful. hypnic headache: a moderate-severe headache that starts a few hours after falling asleep and lasts 15–30 minutes. The headache may recur several times during the night. Hypnic headaches are usually in older women. They may be treated with lithium.

Secondary

Headaches may be caused by problems elsewhere in the head or neck. Some of these are not harmful, such as cervicogenic headache (pain arising from the neck muscles). The excessive use of painkillers can paradoxically cause worsening painkiller headaches.

More serious causes of secondary headaches include the following: meningitis: inflammation of the meninges which presents with fever and meningismus, or stiff neck ischemic stroke or a previous stage of the same hemorrhagic stroke or a previous stage of the same intracranial hemorrhage (bleeding inside the brain) because of any origin subarachnoid hemorrhage (with acute, severe headache, stiff neck without fever) because of any origin intraparenchymal hemorrhage (with headache only) because of any origin ruptured aneurysm or aneurysm brain tumor (a form of cancer): dull headache, worse with exertion and change in position, accompanied by nausea and vomiting. Often, the person will have nausea and vomiting for weeks before the headache starts. temporal arteritis: inflammatory disease of arteries common in the elderly (average age 70) with fever, headache, weight loss, jaw claudication, tender vessels by the temples, polymyalgia rheumatica acute closed-angle glaucoma (increased pressure in the eyeball): a headache that starts with eye pain, blurry vision, associated with nausea and vomiting. On physical exam, the person will have red eyes and a fixed, mid-dilated pupil. arteriovenous malformation (AVM) post-ictal headaches: Headaches that happen after a convulsion or other type of seizure, as part of the period after the seizure (the post-ictal state) traumatic brain injury

Gastrointestinal disorders may cause headaches, including Helicobacter pylori infection, celiac disease, non-celiac gluten sensitivity, irritable bowel syndrome, inflammatory bowel disease, gastroparesis, and hepatobiliary disorders. The treatment of the gastrointestinal disorders may lead to a remission or improvement of headaches.

Migraine headaches are also associated with Cyclic Vomiting Syndrome (CVS). CVS is characterized by episodes of severe vomiting, and often occur alongside symptoms similar to those of migraine headaches (photophobia, abdominal pain, etc.).

Pathophysiology The brain itself is not sensitive to pain, because it lacks pain receptors. However, several areas of the head and neck do have pain receptors and can thus sense pain. These include the extracranial arteries, middle meningeal artery, large veins, venous sinuses, cranial and spinal nerves, head and neck muscles, the meninges, falx cerebri, parts of the brainstem, eyes, ears, teeth, and lining of the mouth. Pial arteries, rather than pial veins are responsible for pain production.

Headaches often result from traction or irritation of the meninges and blood vessels. The pain receptors may be stimulated by head trauma or tumours and cause headaches. Blood vessel spasms, dilated blood vessels, inflammation or infection of meninges and muscular tension can also stimulate pain receptors. Once stimulated, a nociceptor sends a message up the length of the nerve fibre to the nerve cells in the brain, signalling that a part of the body hurts.

Primary headaches are more difficult to understand than secondary headaches. The exact mechanisms which cause migraines, tension headaches and cluster headaches are not known. There have been different hypotheses over time that attempt to explain what happens in the brain to cause these headaches.

Migraines are currently thought to be caused by dysfunction of the nerves in the brain. Previously, migraines were thought to be caused by a primary problem with the blood vessels in the brain. This vascular theory, which was developed in the 20th century by Wolff, suggested that the aura in migraines is caused by constriction of intracranial vessels (vessels inside the brain), and the headache itself is caused by rebound dilation of extracranial vessels (vessels just outside the brain). Dilation of these extracranial blood vessels activates the pain receptors in the surrounding nerves, causing a headache. The vascular theory is no longer accepted. Studies have shown migraine head pain is not accompanied by extracranial vasodilation, but rather only has some mild intracranial vasodilation.

Currently, most specialists think migraines are due to a primary problem with the nerves in the brain. Auras are thought to be caused by a wave of increased activity of neurons in the cerebral cortex (a part of the brain) known as cortical spreading depression followed by a period of depressed activity. Some people think headaches are caused by the activation of sensory nerves which release peptides or serotonin, causing inflammation in arteries, dura and meninges and also cause some vasodilation. Triptans, medications that treat migraines, block serotonin receptors and constrict blood vessels.

People who are more susceptible to experiencing migraines without headaches are those who have a family history of migraines, women, and women who are experiencing hormonal changes or are taking birth control pills or are prescribed hormone replacement therapy.

Tension headaches are thought to be caused by the activation of peripheral nerves in the head and neck muscles.

Cluster headaches involve overactivation of the trigeminal nerve and hypothalamus in the brain, but the exact cause is unknown.

Diagnosis + Differential diagnosis of headachesTension headacheNew daily persistent headacheCluster headacheMigraine mild to moderate dull or aching pain severe pain moderate to severe pain duration of 30 minutes to several hours duration of at least four hours daily duration of 30 minutes to 3 hours duration of 4 hours to 3 days Occur in periods of 15 days a month for three months may happen multiple times in a day for months periodic occurrence; several per month to several per yearlocated as tightness or pressure across head located on one or both sides of the head located one side of head focused at eye or temple located on one or both sides of head consistent pain pain describable as sharp or stabbing pulsating or throbbing painno nausea or vomitingnausea, perhaps with vomiting no aurano auraaurasuncommonly, light sensitivity or noise sensitivity may be accompanied by running nose, tears, and drooping eyelid, often only on one sidesensitivity to movement, light, and noise exacerbated by regular use of acetaminophen or NSAIDS may exist with tension headache

Most headaches can be diagnosed by the clinical history alone. If the symptoms described by the person sound dangerous, further testing with neuroimaging or lumbar puncture may be necessary. Electroencephalography (EEG) is not useful for headache diagnosis.