If you have migraines or a family history of migraines, a doctor trained in treating headaches (neurologist) will likely diagnose migraines based on your medical history, symptoms, and a physical and neurological examination.
If your condition is unusual, complex or suddenly becomes severe, tests to rule out other causes for your pain might include:
• Magnetic resonance imaging (MRI): An MRI scan uses a powerful magnetic field and radio waves to produce detailed images of the brain and blood vessels. MRI scans help doctors diagnose tumors, strokes, bleeding in the brain, infections, and other brain and nervous system (neurological) conditions.
• Computerized tomography (CT) scan: A CT scan uses a series of X-rays to create detailed cross-sectional images of the brain. This helps doctors diagnose tumors, infections, brain damage, bleeding in the brain and other possible medical problems that may be causing headaches.
Courtesy: Mayo Clinic