Find Information About:

Drugs & Supplements

Get information and reviews on prescription drugs, over-the-counter medications, vitamins, and supplements. Search by name or medical condition.

Pill Identifier

Pill Identifier

Having trouble identifying your pills?

Enter the shape, color, or imprint of your prescription or OTC drug. Our pill identification tool will display pictures that you can compare to your pill.

Get Started

My Medicine

Save your medicine, check interactions, sign up for FDA alerts, create family profiles and more.

Get Started

WebMD Health Experts and Community

Talk to health experts and other people like you in WebMD's Communities. It's a safe forum where you can create or participate in support groups and discussions about health topics that interest you.

  • Second Opinion

    Second Opinion

    Read expert perspectives on popular health topics.

  • Community


    Connect with people like you, and get expert guidance on living a healthy life.

Got a health question? Get answers provided by leading organizations, doctors, and experts.

Get Answers

Sign up to receive WebMD's award-winning content delivered to your inbox.

Sign Up

Migraines & Headaches Health Center

Font Size

Diagnosing Migraines and Headaches With an EEG

An EEG, or electroencephalogram, is a test in which the electrical signals of the brain are recorded. The electrical activity is detected by electrodes, or sensors, placed on a person's scalp and is transmitted to a polygraph that records the activity.

Why Is an EEG Performed to Evaluate Headaches?

EEGs are not a standard part of a headache evaluation. However, an EEG may be done to look for evidence of seizures, which can cause symptoms similar to those in people with migraines or other types of headaches. Some people also have seizures with their headaches. An EEG can indicate a malfunction of the brain, but it does not necessarily pinpoint the exact problem that might be causing a headache.

How Does an EEG Work?

Electrical signals produced by the brain cells or neurons are picked up by the electrodes and transmitted to a polygraph, where they produce separate graphs on moving paper using an ink writing pen or on a computer screen.

How Do I Prepare for an EEG?

  • Discuss any medications that you are taking with your doctor prior to an EEG.
  • Wash your hair the night before the test. Do not use hair cream, oils, or spray afterward.

What Happens During an EEG?

  • For an EEG, you will be asked to lie down on the exam table or bed while about 20 electrodes are attached to your scalp.
  • You will be asked to relax and lie first with your eyes open, and then closed.
  • You may be asked to breathe deeply and rapidly or to stare at a flashing light -- both of these activities produce changes in brain-wave patterns.

What Happens After an EEG?

  • After an EEG, the electrodes are removed and the glue that held them in place is washed away with acetone. You may have to use additional acetone (nail polish remover) at home to completely remove the glue.
  • Unless you are actively having seizures or are restricted by your doctor, you may drive home. If the EEG was performed overnight, you should arrange to have someone drive you home.
  • If you stopped taking anticonvulsant (antiseizure) medication for the EEG, you can usually start taking it again. Talk to your doctor.
  • A neurologist (a doctor who specializes in brain diseases) will examine the EEG recording for abnormalities in the brain-wave pattern, which may reflect a disease of the nerves or brain.

WebMD Medical Reference

Reviewed by David T. Derrer, MD on July 27, 2014

Today on WebMD

Business woman with hand on face and eyes closed
What aura looks like, triggers, and more.
woman with migraine
Get the truth about migraines.
headache in the bedroom
Keep headaches from ruining your sex life.
woman with hands on head
Test your knowledge of triggers, types, and more.
woman with migraine
drinking coffee
Migraines Headaches Basics
acupuncture needles in woman's back
Tired young man
spraying perfume
man with a headache
headache in the bedroom