A headache after an MRI is not unusual, and in most cases it is not a sign that anything went wrong. The scan itself does not use radiation, and the magnetic field is not known to cause lasting harm. Most post-scan headaches are mild and pass on their own. A small number are linked to the contrast dye used in some scans, and those deserve attention.
Understanding why your head hurts after an MRI starts with knowing which kind of scan you had. A scan without contrast is very different from one with a gadolinium-based dye. The two produce different side effects and different levels of concern.
Is It Normal To Have A Headache After An MRI?
Yes, a mild headache after an MRI is a recognized and fairly common complaint. It is not the expected result of the scan, but it happens often enough that radiologists and referring doctors see it regularly.
Most headaches that follow an MRI are tension-type. They feel like a dull band of pressure around the head. Lying still for 30 to 60 minutes on a hard table, holding your neck in one position, and feeling anxious about the machine can all tighten the muscles around your scalp and neck. That muscle tension is a well-established trigger for tension headaches.
Noise is another factor. MRI machines produce loud knocking sounds, and the ear protection you are given reduces but does not eliminate them. Some people leave with a lingering sense of head pressure afterward.
What an MRI does not do is damage brain tissue. There is no ionizing radiation involved, unlike a CT scan. For the vast majority of people, a headache in the hours after the scan is a temporary discomfort, not a warning sign.
Can MRI Contrast Dye Cause A Headache?
Contrast dye is the most important factor to check. If your scan used gadolinium-based contrast, your headache may be a known side effect of the dye rather than the scan itself.
Headache is listed among the more commonly reported side effects of gadolinium contrast. So are nausea, a metallic taste in the mouth, and a feeling of warmth or flushing during the injection. These reactions are usually mild and short-lived.
Gadolinium contrast is generally well tolerated, and serious reactions are uncommon. That said, the evidence on exactly how often headaches occur after contrast is not precise. Reported rates vary across studies, so no single number is reliable. If you had contrast and developed a headache within hours, the timing points toward the dye as a likely contributor.
One detail matters here. Most MRI scans do not use contrast at all. Brain and spine scans are often done without it, while scans looking at certain organs, blood vessels, or tumors may require it. If you are unsure, check your scan report or ask the imaging center. This single fact changes how you should read your symptoms.
When Should A Headache After An MRI Worry You?
Most post-MRI headaches settle within a day or so. Some patterns are different and warrant a call to your doctor.
Seek medical advice if you notice any of the following:
- A severe headache that comes on suddenly and peaks within seconds to minutes
- A headache that is much worse when you sit or stand and eases when you lie flat
- Headache along with fever, stiff neck, confusion, weakness, vision changes, or vomiting
- A headache that keeps getting worse over hours rather than fading
- Any new neurological symptom, such as numbness, trouble speaking, or a seizure
The pattern of a headache that is worse upright and better lying down has a specific name: a postural headache. It can occur after a lumbar puncture or after certain spinal procedures, and it is linked to low pressure of the cerebrospinal fluid. It is not a typical consequence of a standard MRI, but it is a pattern doctors take seriously. If your headache behaves this way, tell your doctor.
This is not a reason to panic. It is a reason to get checked. The distinction between a routine tension headache and something that needs evaluation usually comes down to severity, timing, and whether other symptoms are present.
What About The Dye Used In Some Scans?
Gadolinium-based contrast agents are the standard dye used in MRI. They work by changing how nearby water molecules respond to the magnetic field, which makes certain tissues show up more clearly.
The kidneys clear gadolinium from the body. For people with healthy kidney function, this happens within hours to days. For people with significant kidney disease, the clearance is slower, and this is why kidney function is checked before contrast is given in some cases. A rare condition called nephrogenic systemic fibrosis has been associated with older gadolinium agents in people with severe kidney impairment. Newer agents and screening practices have made this far less common.
Some people report lingering symptoms after gadolinium contrast, sometimes described as gadolinium deposition. Trace amounts of gadolinium have been found to remain in body tissues after contrast exposure. What is not established is whether these trace deposits cause symptoms. The evidence linking them to persistent headaches or other complaints is limited and debated. Regulatory agencies continue to monitor the issue, and current guidance generally holds that the benefits of contrast-enhanced MRI outweigh the risks when a scan is clinically needed.
If you have had contrast and develop symptoms you are worried about, report them to your doctor rather than trying to interpret them alone.
How Do You Treat A Headache After An MRI?
For a mild tension-type headache, ordinary measures usually help. Rest, hydration, and a quiet environment are reasonable first steps. Over-the-counter pain relievers such as acetaminophen or ibuprofen are commonly used for tension headaches.
Be careful with pain relievers if you have kidney problems, stomach ulcers, or take blood thinners. Ibuprofen and similar drugs are not appropriate for everyone. If you are unsure whether a medication is safe for you, ask a pharmacist or your doctor before taking it.
If your headache followed contrast dye, drinking fluids supports the kidneys as they clear the dye. This is general guidance, not a specific treatment protocol.
Do not assume you need imaging or a specialist visit for a mild headache that is already improving. Most resolve without any intervention beyond rest and time.
Does The MRI Machine Itself Cause Headaches?
The magnetic field of an MRI does not cause headaches through any established mechanism. The static magnetic field is far stronger than Earth’s, but there is no evidence it produces headache by acting on brain tissue.
The practical triggers are indirect. The enclosed space can provoke anxiety, and anxiety tightens muscles and raises stress. The noise is loud. The table is hard. The position is still. These are the realistic sources of a post-scan headache, not the magnetic field itself.
People who are prone to migraines or tension headaches may be more likely to notice one after a stressful or uncomfortable experience. That does not mean the scan caused a new problem. It means the conditions around the scan were enough to trigger a familiar pattern.
If you have had headaches after previous scans, mention it to the imaging team. They can adjust positioning, offer better ear protection, or help you manage anxiety before the scan starts.
Frequently Asked Questions
How long does a headache after an MRI usually last?
Most mild post-MRI headaches ease within a few hours to a day. A headache that lasts longer or keeps worsening should be checked by a doctor.
Can an MRI with contrast cause a headache?
Yes, headache is among the more commonly reported side effects of gadolinium-based contrast dye. Most reactions are mild and short-lived, but any concerning symptom should be reported to your doctor.
Should I worry about a headache after a brain MRI?
Not if it is mild and improving. Seek medical advice if the headache is severe, comes on suddenly, is worse when upright, or comes with fever, weakness, vision changes, or confusion.
Does the MRI magnetic field cause headaches?
No established mechanism links the magnetic field itself to headaches. Muscle tension, noise, anxiety, and lying still are more likely explanations.

