# Is an MRI necessary to diagnose a migraine headache?

Canonical page: https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache
Language: en
Category: neurology
Publisher: ClinicsJo
Published: 2026-09-13T17:52:51.914Z
Content updated: 2026-09-13T17:52:51.914Z
Translation (ar): https://clinicsjo.com/ar/faq/is-mri-necessary-to-diagnose-migraine-headache

An MRI scan is not always necessary to diagnose a migraine. The diagnosis of migraine is based primarily on a review of the patient's medical history and headache history, in addition to a physical and neurological examination [\[2\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S2>). However, a doctor may request an MRI scan to rule out other medical conditions that may cause headaches, especially if there are certain concerning symptoms.

Imaging scans like an MRI are part of the diagnostic tests that doctors may request to determine the specific cause of a headache [\[2\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S2>).

## When might a doctor recommend an MRI?

A doctor may recommend a brain MRI in certain situations, especially if the headache differs from the typical migraine pattern or if there are warning signs indicating a more serious problem. These situations include:

- A sudden and very severe headache, or what is described as the "worst headache of life" [\[1\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S1>).

- A headache that gradually worsens over days or weeks, or whose pattern changes [\[2\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S2>).

- A headache accompanied by new neurological symptoms such as weakness, vision problems, speech difficulties, or loss of balance [\[1\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S1>).

- A headache accompanied by fever, neck stiffness, confusion, or loss of consciousness [\[1\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S1>).

- A headache that occurs after a head injury [\[1\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S1>).

- A new headache in someone who has not experienced headaches before, especially if they are over fifty years old [\[2\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S2>).

- A headache in a person with a history of cancer or human immunodeficiency virus (HIV/AIDS) [\[2\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S2>).

## The role of MRI in ruling out secondary causes of headaches

Primary headaches, such as migraines, are not caused by another medical condition. Secondary headaches, however, occur due to an underlying medical condition affecting the brain, such as cerebrovascular disorders, brain tumors, brain injuries, or infection [\[2\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S2>). In these cases, an MRI can help detect these issues, guiding the doctor toward the correct diagnosis and treatment [\[2\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S2>).

## The importance of a headache diary

To help diagnose the type of headache and determine the best treatment plan, it is recommended to keep a daily headache diary. This diary can include information such as the time the headache started, its intensity and duration, any sensitivity to light, smells, or sound, activities prior to the headache, medications taken, sleep quality, stress levels, weather changes, food and drinks consumed, and any other health conditions [\[2\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S2>). This diary can help the doctor identify patterns and triggers, which may reduce the need for unnecessary additional tests.

For more information on the different types of headaches, their triggers, and pain management methods, you can visit [Headaches: Different Types, Triggers, and How to Manage Pain (Arabic)](<https://clinicsjo.com/ar/articles/headache-types-triggers-relief>).

## When should emergency help be sought?

Immediate medical attention should be sought if you experience a sudden and severe headache, a headache after a blow to the head, or a headache accompanied by neck stiffness, fever, confusion, loss of consciousness, or eye or ear pain [\[1\]](<https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#source-S1>). These symptoms could be warning signs of a serious condition that requires urgent medical attention.

## Medical references

- [Headache](<https://medlineplus.gov/headache.html>)

- [Headache](<https://www.ninds.nih.gov/health-information/disorders/headache>)

General health education; not a substitute for individualized clinical assessment.

Citation URL: https://clinicsjo.com/en/faq/is-mri-necessary-to-diagnose-migraine-headache#answer
