To understand the cause, the doctor needs to know not only where the head hurts and how severe the pain is, but also how often it occurs, how long it lasts, whether it changes over time and whether other symptoms accompany it.
Most children with headaches do not need an MRI or a large panel of laboratory tests. However, some warning signs require urgent medical assessment.
Most headaches in children are primary headaches or occur with common conditions such as viral infections.
Even so, it is important to assess not only the pain itself but also how it changes over time.
Situations warranting closer attention include:
headaches becoming more frequent or more severe;
a noticeable change in the character of the pain;
pain regularly interfering with school, play, sleep or normal daily activities;
headaches occurring mainly in the morning together with repeated unexplained vomiting;
pain triggered by coughing, straining or changes in body position;
changes in vision, walking or other neurological symptoms.
A sudden, extremely severe headache, especially with altered consciousness, seizures or focal neurological symptoms, requires emergency care.
Types of headache in children
Migraine
Migraine does not occur only in adults. It can begin as early as the preschool years.
Migraine is characterized by repeated headache attacks that may be accompanied by:
nausea or vomiting;
sensitivity to light;
sensitivity to sounds;
feeling worse during physical activity;
wanting to lie down in a quiet, dark room.
Migraine in children often differs from migraine in adults.
For example, the pain may affect both sides of the head rather than just one. Attacks can also be relatively short in younger children.
Some children feel considerably better after sleeping.
Sometimes temporary visual disturbances, such as flickering dots or zigzag lines, occur before or during a headache. This is called an aura.
But not every headache accompanied by nausea is a migraine. The diagnosis is based on the pattern of attacks and the child's clinical assessment.
Tension-type headache
This type of headache usually:
is mild to moderate in intensity;
feels like pressure or tightness;
may affect both sides of the head;
does not necessarily worsen with ordinary movement;
is generally not accompanied by marked nausea or vomiting.
Inadequate sleep, emotional stress, irregular meals and other factors can affect how often headaches occur.
However, recurring headaches should not automatically be attributed solely to tiredness or school-related stress without assessing their characteristics.
Headache as a symptom of another condition
Sometimes a headache occurs in the setting of:
a viral infection;
fever;
an injury;
certain ear or sinus conditions;
a side effect of medication;
other illnesses.
Much less often, the cause is a serious neurological condition.
That is why the doctor needs to distinguish common primary headaches from secondary headaches caused by another condition.
What matters in a headache history
At the consultation, the doctor asks:
when the pain first appeared;
how often attacks recur;
how long an episode lasts;
where the head hurts;
how severe the pain is;
whether it worsens with movement;
whether nausea, vomiting or sensitivity to light occurs;
whether there are visual disturbances;
whether the pain disrupts sleep;
whether the child misses school or usual activities;
what helps relieve the symptoms;
which medicines the child takes and how often.
It is particularly important to establish whether the headache pattern remains stable or gradually changes.
For example, similar migraine attacks recurring over several months and a new headache that becomes worse almost every day call for different approaches.
During the examination, the doctor assesses general health, blood pressure, neurological function, gait and coordination. If necessary, the doctor examines the fundus of the eye or refers the child to an ophthalmologist.
When is a neurologist needed?
A pediatrician can usually be the first clinician to see the child. The pediatrician assesses the symptoms and determines whether a pediatric neurologist is needed.
A planned consultation with a neurologist is particularly helpful if:
headaches recur regularly;
attacks interfere with school, play or daily activities;
headaches become more frequent or severe;
migraine is suspected but has not yet been diagnosed;
the prescribed treatment is not helping enough;
pain relievers are needed too often;
unusual symptoms need clarification;
the doctor needs to consider preventive treatment for migraine.
If a headache is clearly progressing, regularly wakes the child from sleep, occurs during coughing or straining, or is accompanied by unexplained vomiting, do not wait several weeks for an ordinary routine appointment. The child should be assessed sooner.
A new persistent or unusual headache in a young child who has difficulty describing symptoms needs particularly careful assessment.
When is emergency care needed?
Some symptoms may indicate conditions that require emergency diagnostic assessment.
Call emergency medical services immediately if the child has:
a sudden, extremely severe headache that reaches its maximum intensity within seconds or minutes;
altered consciousness, pronounced drowsiness or confusion;
seizures;
new weakness in an arm or leg, difficulty speaking or marked loss of coordination;
headache accompanied by high fever, marked neck stiffness and a severely ill appearance;
a worsening headache, repeated vomiting, altered consciousness or other neurological symptoms after a head injury.
Urgent in-person assessment is also needed for a new severe headache with double vision, persistent visual impairment, repeated unexplained vomiting or a marked deterioration in the child's condition.
At the same time, it is important not to go to the opposite extreme.
Vomiting or waking up because of a headache does not, by itself, mean a brain tumor. For example, vomiting can accompany an ordinary migraine attack, and migraine can sometimes interrupt sleep.
The combination of signs, changes in symptoms and examination findings is what matters.
But assessment must not be delayed when new warning signs appear.
Is an MRI always necessary?
No.
In many cases, a detailed history and examination are sufficient to diagnose migraine and tension-type headache.
If headaches have typical migraine features, remain stable, the neurological examination is normal and there are no warning signs, routine brain MRI is usually not recommended.
Additional imaging may be needed if the doctor finds:
abnormalities on the neurological examination;
new seizures;
suspected increased intracranial pressure;
an unusual or progressive headache pattern;
other signs suggesting a possible secondary cause.
When imaging is needed in a stable child, MRI is often preferred because it does not use ionizing radiation.
In an emergency, CT may be needed, for example to quickly rule out intracranial bleeding.
The choice of imaging depends on the clinical question.
An ordinary headache alone is also not an indication for EEG, ultrasound of the head and neck vessels, or a large panel of laboratory tests.
What to do during a usual headache attack
If the headache is familiar, moderate, the child is otherwise feeling reasonably well and there are no warning signs, simple measures may help:
resting in a quiet room;
having an opportunity to sleep;
drinking enough fluids;
eating a regular meal if the child has not eaten for some time;
reducing bright light and noise if the child is sensitive to them.
To relieve pain, a doctor may recommend acetaminophen (paracetamol) or ibuprofen at a dose appropriate for the child's age and body weight.
In migraine, treatment is usually more effective if it begins early in the attack rather than waiting until the pain reaches its maximum intensity.
Some children with confirmed migraine need specific anti-migraine medicines. The doctor selects these based on the child's age and the characteristics of the attacks.
Why pain relievers should not be taken too often
Taking headache medicines too frequently can itself contribute to headaches becoming more frequent. This is called medication-overuse headache.
If a child regularly needs pain relievers on several days each week, discuss this with a doctor instead of simply increasing how often the medicines are taken.
For frequent attacks, the treatment plan may need to change or preventive therapy may be considered.
How to keep a headache diary
A simple diary can be helpful for recurring attacks.
It can record:
the date and time the headache started;
how long the attack lasted;
the approximate pain intensity;
associated symptoms;
whether the child missed school or usual activities;
which medicine was used;
how much it helped;
any unusual circumstances, such as inadequate sleep or skipping a meal.
A diary helps the doctor recognize patterns over time and assess how well treatment works.
However, there is no need to turn the diary into a constant search for a 'culprit food' or another trigger. Not every headache has an identifiable trigger.
Common mistakes and myths
'If a child has a headache, an MRI is always necessary.'
No. With a typical stable primary headache and a normal neurological examination, MRI is usually unnecessary.
'Migraine occurs only in adults.'
No. Children also experience migraine, and their symptoms may differ from those in adults.
'If a child feels nauseated with a headache, the cause must be dangerous.'
No. Nausea and vomiting can accompany migraine. However, a new, unusual or progressive headache with repeated vomiting requires medical assessment.
'If the pain goes away after sleep, no examination will ever be necessary.'
No. Sleep can indeed relieve migraine, but recurrent or changing attacks should still be assessed in the context of the overall clinical picture.
'With frequent headaches, you can simply give pain relievers more often.'
No. Excessive use of medication can make the problem worse.
'A headache caused by stress is not real.'
No. Emotional and behavioral factors can affect pain, but that does not make it imaginary.
'If a child's MRI is normal, there is no need to look for the cause of headaches any further.'
No. Migraine and tension-type headache are often not associated with structural abnormalities on MRI. Clinical criteria are important for their diagnosis and treatment.
The key point: the characteristics of headache attacks, how they change over time and any associated symptoms matter. Most cases do not require complex investigations, but new neurological deficits and other danger signs must not go without urgent medical assessment.

