Loading...

Why Do I Get a Headache After Working Out Explained

Mofilo TeamMofilo Team
9 min read

The Frustrating Paradox: Why a Good Workout Ends With a Bad Headache

You just crushed your workout. You feel accomplished, strong, and ready to take on the day. But then, a familiar, unwelcome guest arrives: a throbbing, dull, or sharp pain in your head. An exercise-induced headache can turn a feeling of victory into one of misery, and it's a surprisingly common problem. For most people, these headaches aren't a sign of something serious. Instead, they are a direct signal from your body that it's missing a few critical resources.

The reason you get a headache after working out is almost always due to one of three core issues: dehydration, a loss of electrolytes, or low blood sugar. Think of these as the three legs of a stool that supports your workout performance and recovery. If one leg is too short, the whole system becomes unstable, and a headache is often the first sign of that imbalance. This guide is for people experiencing these common, mild to moderate headaches. If your headache is sudden, severe, explosive, or accompanied by symptoms like vision changes or numbness, you should stop exercising and consult a doctor immediately.

Dehydration: The Most Common Culprit

Most people know that sweating causes water loss, but the physiological impact is more dramatic than you might think. During one hour of intense exercise, it's common to lose between 0.8 to 1.4 liters of fluid. When you lose as little as 2% of your body weight in water, your performance can plummet, and your brain feels the effects directly.

When your body is dehydrated, your blood volume decreases. This makes your blood thicker and harder for your heart to pump, reducing the flow of oxygen and nutrients to your brain. In response, your brain tissue can temporarily shrink and pull away from the skull. This movement puts pressure on the delicate nerves and blood vessels surrounding the brain, triggering a classic dehydration headache. It often feels like a dull, all-over ache that worsens with movement. The solution involves more than just chugging water after the fact; it requires a proactive hydration strategy.

The Hidden Reason Drinking Water Isn't Enough: Electrolyte Imbalance

Here’s a critical piece of the puzzle that many people miss: sweat is not just water. It’s a salty fluid containing essential minerals called electrolytes. The most important ones for exercise are sodium, potassium, and magnesium. They are the electrical messengers that control muscle contractions, nerve function, and, crucially, fluid balance.

Sodium: This is the most abundant electrolyte lost in sweat. Sodium is the primary regulator of fluid balance in your body. It tells your kidneys how much water to hold onto. When you sweat heavily and then drink large amounts of plain water, you dilute the remaining sodium in your bloodstream. This dangerous condition, called hyponatremia, can cause headaches, nausea, and confusion. In this scenario, drinking more plain water actually makes the headache worse.

Potassium and Magnesium: Potassium works with sodium to manage fluid balance and is vital for nerve signaling. Magnesium plays a role in over 300 biochemical reactions, including muscle relaxation and energy production. A deficiency in either can lead to muscle cramps and headaches.

Low Blood Sugar: The Energy Crash Headache

Your muscles and brain run on glucose (sugar). During exercise, your muscles burn through their stored glucose (glycogen) for fuel. If you start your workout on an empty tank or exercise for a long time without refueling, your blood sugar levels can drop too low. This condition is called hypoglycemia.

Your brain is a glucose-hungry organ. When it senses a fuel shortage, it triggers the release of stress hormones like adrenaline and cortisol. These hormones can cause blood vessels in your brain to constrict, leading to a headache. A low blood sugar headache often feels throbbing and may be accompanied by feelings of weakness, shakiness, or dizziness. This is why proper pre-workout fueling is not just about performance-it's about preventing a painful crash.

Mofilo

Tired of guessing? Track it.

Mofilo tracks food, workouts, and your purpose. Download today.

Download on the App StoreGet it on Google Play
Dashboard
Workout
Food Log

The Ultimate Pre-, During-, and Post-Workout Checklist to Prevent Headaches

Instead of a vague plan, let's break it down into a clear, actionable checklist. Following these steps consistently addresses the root causes of most exercise-induced headaches. It might seem like a lot at first, but it quickly becomes a simple, powerful habit.

Pre-Workout Checklist (1-3 Hours Before)

  1. Hydrate Early: Don't wait until you're thirsty. Aim to drink 500-600 ml (about 17-20 oz) of water 2 to 3 hours before your workout. This gives your body time to absorb the fluid and for you to use the restroom. Your urine should be a pale yellow color.
  2. Fuel with Smart Carbs: To prevent a blood sugar crash, eat 25-50 grams of easily digestible carbohydrates 60 to 90 minutes before your session. This tops off your energy stores. Great options include a medium banana, a small bowl of oatmeal, a piece of toast with jam, or a handful of dates.
  3. Consider Pre-loading Electrolytes: If you're a heavy sweater or are planning a long workout (over 90 minutes) in the heat, add a pinch of salt (about 1/8 teaspoon) to your pre-workout water or have a small salty snack like pretzels.
  4. Warm-Up Gradually: A proper 10-15 minute warm-up does more than prepare your muscles. It allows your heart rate and blood pressure to rise gradually, preventing sudden changes in blood flow that can stress the vessels in your brain.

During-Workout Checklist

  1. Sip Consistently: Don't gulp water all at once. Aim for 200-300 ml (about 7-10 oz) of fluid every 15-20 minutes. This ensures a steady supply without overwhelming your stomach.
  2. Add Electrolytes for Longer Sessions: For any workout lasting longer than 60 minutes, your water should contain electrolytes. You don't need expensive sports drinks. A simple and effective solution is to add about a quarter teaspoon of table salt (provides ~500 mg of sodium) and a splash of fruit juice for potassium and sugar to each liter of water.
  3. Breathe Correctly: Pay close attention to your breathing, especially during strength training. Exhale forcefully on the hardest part of the lift (the exertion) and inhale during the easier phase. Never hold your breath, as this can cause a rapid spike in blood pressure and trigger an exertion headache.
  4. Check Your Form and Tension: Be mindful of your posture. Are you clenching your jaw? Tensing your neck and shoulders? This muscular tension is a direct cause of tension headaches. Relax your face and keep your shoulders down and back.

Post-Workout Checklist (Within 2 Hours After)

  1. Rehydrate Systematically: This is where you replace what you lost. For a precise measurement, weigh yourself before and after a workout. For every 1 kg (2.2 lbs) of weight lost, you need to drink 1.25-1.5 liters (42-50 oz) of fluid to fully rehydrate. This accounts for continued fluid loss through urine.
  2. Replenish Electrolytes with Food: Your recovery meal is the perfect opportunity to restore lost minerals. Include sodium-rich foods (a sprinkle of salt on your meal), potassium-rich foods (potatoes, bananas, spinach), and magnesium-rich foods (nuts, seeds, dark chocolate).
  3. Refuel with Carbs and Protein: Within 60-90 minutes of finishing your workout, consume a meal with a 3:1 or 4:1 ratio of carbohydrates to protein. This replenishes your muscle glycogen stores and provides the building blocks for repair, stabilizing your blood sugar for the hours to come.

Keeping track of all this-fluid intake, meal timing, electrolytes-can feel overwhelming. The Mofilo app is an optional shortcut that simplifies this process. It lets you log your meals and water in seconds, helping you connect what you consume with how you feel without needing manual spreadsheets or guesswork.

What to Expect When You Fix Your Fueling and Hydration

Once you start implementing this checklist, you should notice a significant reduction in headaches, often within the first week. But the benefits don't stop there. Proper fueling and hydration also lead to increased energy during your workouts, reduced muscle soreness, and faster overall recovery. You'll be able to push harder and feel better doing it.

Pay attention to your body's feedback. If you are still getting headaches despite following this plan, consider other factors. The intensity or type of exercise might be the issue. Sometimes, high-impact activities or exercises that involve straining can be triggers. If the headaches persist, are severe, or change in character, it is important to speak with a healthcare professional to rule out other underlying conditions.

Mofilo

You read this far. You're serious.

Track food, workouts, and your purpose with Mofilo. Download today.

Download on the App StoreGet it on Google Play
Dashboard
Workout
Food Log

Frequently Asked Questions

How long do workout headaches last?

Most common workout headaches from dehydration or low blood sugar resolve within a few hours after you rehydrate, eat, and rest. Tension headaches may last longer if muscle tightness persists. A gentle neck stretch can often help.

Are exertion headaches a sign of something serious?

Usually, they are not. Primary exertion headaches are benign and are caused by the exercise itself. However, a sudden, severe, 'thunderclap' headache during exercise can be a sign of a serious issue, so it is best to get checked by a doctor to be safe, especially if it's your first time experiencing one.

Should I stop my workout if I get a headache?

Yes. If you develop a headache during your workout, it is wise to stop, rest, and address the likely causes like hydration or fuel. Pushing through the pain can make it worse and may be unsafe. Listen to your body; it's telling you to pause.

Can certain types of exercise cause more headaches?

Yes. High-intensity interval training (HIIT), heavy weightlifting (especially with improper breathing), and running in hot weather are more commonly associated with headaches because they place a greater demand on your body's hydration, fuel, and vascular systems.

Share this article

All content and media on Mofilo is created and published for informational purposes only. It is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition, including but not limited to eating disorders, nutritional deficiencies, injuries, or any other health concerns. If you think you may have a medical emergency or are experiencing symptoms of any health condition, call your doctor or emergency services immediately.