Headaches in children

Find out more about this condition, which may or may not be serious. Headaches can often be managed with medicines and healthy habits.

Update Date: 22.12.2025

Overview

Headaches in children are common and usually aren't serious. Like adults, children can develop different types of headaches, including migraines or stress-related headaches, sometimes called tension-type headache (TTH). Children also can have chronic daily headache (CDH). CDH is the term for headaches that occur 15 or more days a month for more than three months.

In some children, headaches can be caused by:

  • Infection.
  • Extreme stress or anxiety.
  • A minor bump to the head or other head injury.

It's important to pay attention to your child's headache symptoms and talk with a healthcare professional if the headache worsens or occurs often.

Most headaches in children can be treated with pain medicines you can buy without a prescription. Having healthy habits such as a regular schedule for sleeping and eating also can help prevent headaches in many children.

Symptoms

Children get the same types of headaches adults do, but symptoms in children may be a little different. For example, migraine pain in adults often lasts at least four hours, but in children, the pain may not last as long.

Differences in symptoms may make it harder to diagnose your child's headache type, especially if your child is too young to describe symptoms. In general, though, certain symptoms tend to fall more often into four main types of headaches in children. These are migraine, tension-type headache (TTH), cluster headache and chronic daily headache.

Migraine

Migraines can cause:

  • Pulsing or throbbing head pain.
  • Worsening pain when moving around.
  • Nausea.
  • Vomiting.
  • Belly pain.
  • Feeling very sensitive to lights or sounds.

Even infants can have migraines. A child who's too young to tell you what's wrong may cry or rock back and forth when in severe pain.

Tension-type headache

The symptoms of TTH are:

  • A pressing tightness in the muscles of the head or neck.
  • Mild to moderate pain on both sides of the head that usually does not pulse or throb.
  • Pain that's not worsened by physical activity, such as walking or climbing stairs.
  • Headache without nausea or vomiting, as is often present with migraine.
  • Being sensitive to either light or sound but not both.

Younger children may not have as much interest in playing and want to sleep more. Tension-type headaches can last from 30 minutes to seven days.

Cluster headache

Children younger than 10 years of age are less likely to have cluster headaches. Cluster headaches often:

  • Occur in groups of five or more episodes, ranging from one headache every other day to eight a day.
  • Involve sharp, stabbing pain on one side of the head that lasts less than three hours.
  • Cause tearfulness, a stuffy or runny nose, sweating or flushing of the forehead and face, and sometimes restlessness in children.

Chronic daily headache

Doctors use the phrase "chronic daily headache" (CDH) for migraines and tension-type headaches that occur more than 15 days a month. CDH may be caused by an infection, minor head injury or use of pain medicines, even nonprescription pain medicines, too often.

When to see a doctor

Most headaches aren't serious, but seek prompt medical care if your child's headaches:

  • Wake your child from sleep.
  • Worsen or become more frequent.
  • Change your child's personality.
  • Follow an injury, such as a blow to the head.
  • Cause persistent vomiting or changes in vision.
  • Happen with fever and neck pain or stiffness.

Talk with your child's healthcare professional if you're worried or have questions about your child's headaches.

Causes

A number of factors can cause your child to have headaches. Factors include:

  • Illness and infection. Common illnesses such as colds, the flu, and ear and sinus infections are some of the most frequent causes of headaches in children. Very rarely, more-serious infections such as meningitis or encephalitis may cause headaches. Meningitis is an infection of the fluid and membranes around the brain and spinal cord. Encephalitis is an infection of the brain.
  • Head injury. Bumps and bruises can cause headaches. Although most of these head injuries are minor, seek prompt medical attention if your child falls hard on the head or gets hit hard in the head. Also, contact a healthcare professional if your child's head pain steadily worsens after a head injury.
  • Emotional factors. Stress and anxiety, perhaps triggered by problems with peers, teachers or others, can influence children's headaches. Children with depression or anxiety may complain of headaches, particularly if they have trouble recognizing feelings of sadness and loneliness.
  • Family history. Headaches, particularly migraines, tend to run in families.
  • Certain foods and drinks. Some children get headaches if they eat or drink too much caffeine. Soda, chocolate and sports drinks can all have caffeine. Following a healthy diet and limiting processed foods can help prevent migraines in some children.
  • Brain conditions. Rarely, a brain tumor, an abscess or bleeding in the brain can press on areas of the brain, causing a chronic, worsening headache. When this happens, however, there are other symptoms, such as trouble with vision, dizziness and lack of coordination.

Risk factors

All children can have headaches, but they're more common in:

  • Girls after puberty, when their bodies start to mature.
  • Children who have a family history of headaches or migraines.
  • Older teens.

Prevention

Making some or all of these changes may help you prevent your child's headaches, or at least make them less severe:

  • Practice healthy behaviors. Behaviors that promote general good health also may help prevent headaches for your child. These lifestyle measures include getting plenty of sleep, staying physically active, eating healthy meals and snacks, drinking up to eight glasses of water daily, and limiting caffeine.
  • Reduce stress. Stress and busy schedules may increase how often your child has headaches. Watch for stress in your child's life, such as schoolwork or problems with friends or classmates. If you notice a connection between your child's headaches and anxiety or depression, consider talking with a counselor.
  • Keep a headache diary. A diary can help you find out what causes your child's headaches. Note when the headaches start, how long they last and what, if anything, provides relief.

    Record whether your child feels better or worse after taking any headache medicine. Over time, keeping a headache diary should help you understand your child's symptoms and how to prevent headaches.

  • Avoid headache triggers. A headache trigger is something that may cause headaches or make them worse. Examples of possible headache triggers in children are a poor night's sleep, stress or not drinking enough water.
  • Follow your healthcare professional's plan. Your healthcare professional may recommend taking medicines to prevent headaches from happening. Certain medicines taken at regular intervals, such as certain antidepressants, antiseizure medicines or beta blockers, may reduce the frequency and severity of headaches.

Diagnosis

Your healthcare professional may collect some information from you to find the correct diagnosis and best treatment for your child's headache. Your appointment may include a:

  • Headache history. Your healthcare professional will likely ask you and your child to describe the headaches in detail. They also may ask you to keep a headache diary to better understand headache triggers. A headache diary also helps identify whether there is a pattern to your child's headaches, such as headaches that happen when your child is overtired.
  • Physical exam. This physical exam usually includes measuring your child's height, weight, head circumference, blood pressure, temperature and pulse and checking your child's eyes, neck, head and spine.
  • Neurological exam. Your healthcare professional checks for any trouble with movement, coordination or sensation.

No further testing is usually needed to make a diagnosis if your child is otherwise healthy and headaches are the only symptom. Sometimes, imaging scans and other tests can help pinpoint a diagnosis or rule out other medical conditions that could be the cause of the headaches. These tests may include:

  • Magnetic resonance imaging (MRI). MRI uses a powerful magnet to produce detailed views of the brain. MRI scans help healthcare professionals diagnose tumors, strokes, aneurysms, neurological diseases and other brain conditions. An MRI can also be used to look at the blood vessels that supply the brain.
  • Computerized tomography (CT) scan. This imaging procedure uses a series of computer-directed X-rays that provide a cross-sectional view of your child's brain. This helps healthcare professionals diagnose tumors, infections and other medical conditions that can cause headaches.
  • Spinal tap, also called lumbar puncture. Your child's care team may suggest a spinal tap, also called a lumbar puncture, if the team thinks an infection such as bacterial or viral meningitis might be causing the headaches. In this test, a healthcare professional uses a thin needle to collect a small amount of the fluid around the brain and spine.

Treatment

Often, you can treat your child's headache at home with rest, a quiet environment, plenty of fluids, balanced meals and pain relievers you can buy without a prescription. These types of medicines also are called over-the-counter (OTC) medicines. If your child is older and has frequent headaches, having your child learn to relax and manage stress through different forms of therapy may help as well.

Medications

  • Over-the-counter (OTC) pain relievers. OTC medicines such as acetaminophen (Tylenol, others) or ibuprofen (Advil, Motrin, others) can often relieve children's headaches. These medicines work better if your child takes them at the first sign of a headache.

    Do not give children or teenagers aspirin. Aspirin has been linked to Reye's syndrome, a rare life-threatening condition, in children or teenagers who have the flu or chickenpox.

    For treatment of fever or pain, consider giving your child infants' or children's over-the-counter fever and pain medicines such as acetaminophen (Tylenol, others) or ibuprofen (Advil, Motrin, others) as a safer alternative to aspirin.

  • Prescription medicines. Triptans, which are prescription medicines used to treat migraines, are effective and can be used safely in children older than 6 years of age.

    If your child experiences nausea and vomiting with migraines, your healthcare professional may prescribe an antinausea drug. The medicines prescribed differ from child to child, however. Ask your healthcare professional or pharmacist about nausea relief.

Caution: Medication overuse headaches are the result of the long-term use of medicines needed to treat headaches such as migraines. It's OK to take pain relievers for headaches sometimes. But people who take them more than a couple of days a week may get medication overuse headaches, previously called rebound headaches. Over time, medicines for pain may stop working as well.

Also, all medicines have side effects. Be sure to tell your care team about all the medicines, including supplements, your child takes.

Therapies

While stress doesn't appear to cause headaches, it can be a trigger for headaches or make a headache worse. Depression also can play a role. For these reasons, your healthcare professional may recommend one or more behavior therapies, such as:

  • Relaxation training. Relaxation techniques include deep breathing, yoga, meditation and progressive muscle relaxation. With progressive muscle relaxation, you tense one muscle at a time. Then you completely release the tension, repeating this for every muscle in the body. An older child can learn relaxation techniques in classes or at home using books or videos.
  • Biofeedback training. Biofeedback is a type of mind-body technique you use to control some of your body's functions, such as your heart rate, breathing patterns and muscle responses. During biofeedback, your child is connected to electrical pads that help give information about the body's response to pain.

    Your child then learns how to reduce muscle tension and slow the heart rate and breathing to reach a more relaxed state. The goal of biofeedback is to help your child enter a relaxed state to better cope with pain.

  • Cognitive behavioral therapy. This therapy can help your child learn to manage stress, painful headaches, and frequent headaches. During this type of talk therapy, a counselor helps your child learn ways to view and cope with life events more positively.

Self care

Pain medicines you can buy without a prescription, such as acetaminophen (Tylenol, others) or ibuprofen (Advil, Motrin, others), often work to reduce headache pain. These are also called over-the-counter (OTC) pain medicines. Before giving your child pain medicine, keep these points in mind:

  • Read labels carefully and use only the dosages recommended for your child.
  • Don't give doses more often than recommended.
  • Don't give your child an OTC pain medicine more than two or three days a week. Daily use can trigger a medication overuse headache, a type of headache caused by using pain medicines too often.
  • Do not give children or teenagers aspirin. Aspirin has been linked to Reye's syndrome, a rare life-threatening condition, in children or teenagers who have flu-like symptoms or chickenpox. Talk with your healthcare professional if you have concerns.

In addition to giving OTC pain medicines, you can help ease your child's headaches with:

  • Rest and relaxation. Encourage your child to rest in a dark, quiet room. Sleeping often helps headaches in children.
  • Use a cool, wet compress. While your child rests, place a cool, wet cloth on the child's forehead.
  • Offer a healthy snack. If your child hasn't eaten in a while, offer a piece of fruit, whole-wheat crackers or low-fat cheese. Not eating can make headaches worse.

Alternative medicine

Although studies in children are limited, research suggests that some dietary supplements may help with headaches. These include:

  • Riboflavin.
  • Magnesium.
  • Coenzyme Q10.
  • Vitamin D.

Check with your child's healthcare professional before trying any herbal products or dietary supplements to be sure they won't interact with your child's medicines or have harmful side effects.

Several alternative treatments also may be helpful for headaches in children, including:

  • Acupuncture. During acupuncture, extremely thin, disposable needles that generally cause little pain or discomfort are placed in the skin at specific spots on the body. Some research suggests that this treatment may help relieve headache symptoms.
  • Massage. Massage can help reduce stress and relieve tension. It also may help ease headaches.
  • Physical therapy. This treatment can help headaches caused by muscle tension around the head, neck and spine.

Preparing for your appointment

Typically, you make an appointment with your family healthcare professional or your child's pediatrician. Depending on how bad your child's headaches are and how often they happen, your care team may refer you to a doctor who specializes in conditions of the brain and nervous system, called a neurologist.

Here's information to help you get ready for your child's appointment and to know what to expect.

What you can do

  • Write down your child's signs and symptoms. It may help to keep a headache diary, listing each headache, when it happens, how long it lasts and what might have caused it.
  • Make a list of all medicines, vitamins and supplements your child takes.
  • Write down questions to ask your care team.

For headaches in children, some basic questions to ask your care team include:

  • What's the most likely cause of the symptoms?
  • Are tests needed to confirm the diagnosis?
  • What are the available treatments and which do you recommend?
  • Does my child need prescription medicine, or would an OTC medicine work?
  • What follow-up, if any, is needed?
  • What can we do at home to help with the pain?
  • What can we do at home to prevent headaches?

What to expect from your doctor

Your healthcare professional is likely to ask you several questions, including:

  • When did the symptoms start? Have they changed over time?
  • How often does your child have these symptoms?
  • How long does the headache usually last?
  • Where does the pain occur? If your child is young, can the child draw a picture of what the headache looks and feels like?
  • Are the symptoms constant or do they come and go?
  • Does your child have other symptoms, such as nausea or dizziness?
  • Does anything make your child's symptoms better?
  • Does anything make the symptoms worse?
  • What treatments have you tried?
  • What medicines does your child take?
  • Do other family members get headaches?

What you can do in the meantime

Until you see your child's healthcare professional, if your child has a headache, place a cool, wet cloth on your child's forehead and encourage the child to rest in a dark, quiet room.

Consider giving your child OTC medicines such as acetaminophen (Tylenol, others) or ibuprofen (Advil, Motrin, others) to ease headache pain.

Children and teenagers recovering from chickenpox or flu-like symptoms should never take aspirin. This is because in these children, there is a link between aspirin and Reye's syndrome, a rare but potentially life-threatening condition. Talk with your healthcare professional if you have concerns.

© 2026 Mayo Foundation for Medical Education and Research. All rights reserved. Terms of Use