Why Does My Head Hurt and I Feel Like Throwing Up?

A headache paired with nausea is one of the most common symptom combinations in medicine, and the most likely explanation is a migraine. About 80% of people with migraines experience nausea, and roughly half vomit during an attack. But migraines aren’t the only cause. Depending on when the symptoms started, how severe they are, and what else is going on in your body or environment, the explanation could range from something routine to something that needs immediate attention.

Migraine Is the Most Common Cause

Migraine attacks do more than cause head pain. They activate a network of nerves and brain regions that also control your gut, which is why nausea and vomiting are core features of the condition, not just side effects. During a migraine, your stomach essentially slows down. Food sits longer, absorption drops, and the signals your brain sends to your digestive tract become disordered. This is why you may also lose your appetite or feel repulsed by food during an attack.

A typical migraine lasts 4 to 72 hours. The nausea usually builds as the attack progresses rather than hitting all at once. You might also notice sensitivity to light and sound, pain on one side of your head, or a pulsing quality to the pain. If your headaches with nausea happen repeatedly and fit this pattern, migraines are the most likely answer, even if you’ve never been formally diagnosed.

Other Common Reasons for Both Symptoms

Several everyday conditions can produce a headache and nausea at the same time:

  • Dehydration. Losing fluids through heat, exercise, illness, or simply not drinking enough can trigger both symptoms quickly. The headache is often dull and all over, and it improves within an hour or two of rehydrating.
  • Viral illness. A stomach bug, flu, or COVID infection can cause head pain alongside nausea. If you also have a fever, body aches, or diarrhea, an infection is more likely than a migraine.
  • Tension headache with stomach upset. Stress and poor sleep can independently produce both head pain and nausea. The headache usually feels like pressure or tightness around your forehead rather than a throb.
  • Hangover. Alcohol causes dehydration, inflammation, and irritation of the stomach lining, making headache plus nausea its signature calling card.

Medication Overuse Can Make It Worse

If you’re taking pain relievers regularly for headaches and finding that the headaches keep coming back, the medication itself may be part of the problem. This is called a rebound headache, and it creates a frustrating cycle: you take something for the pain, the drug wears off, and the headache returns, often with nausea, fatigue, and trouble concentrating.

The threshold depends on the type of medication. Common over-the-counter pain relievers like ibuprofen or acetaminophen can cause rebound headaches if used 15 or more days per month. Combination products that contain caffeine or stronger ingredients can trigger the cycle at 10 or more days per month. If this sounds familiar, reducing the frequency of pain medication, ideally with guidance from a doctor, is the path out.

Concussion and Head Injuries

If you hit your head recently, even mildly, a headache with nausea could be a sign of concussion. These symptoms sometimes appear right after the injury but can also develop hours or even days later. The CDC notes that headache and nausea tend to be among the earliest concussion symptoms, with other effects like memory problems or mood changes showing up further into recovery. Any headache with nausea following a blow to the head warrants medical evaluation, especially if the symptoms are worsening rather than improving.

Carbon Monoxide: An Overlooked Danger

One cause people rarely consider is carbon monoxide exposure. This odorless, colorless gas produces symptoms that feel like the flu: headache, nausea, dizziness, weakness, and confusion. If multiple people in your household have the same symptoms, or if you feel better when you leave the building, carbon monoxide should be on your radar. Gas furnaces, portable generators, charcoal grills used indoors, and cars running in enclosed garages are common sources. If you suspect exposure, get into fresh air immediately and call emergency services.

Warning Signs That Need Urgent Attention

Most headaches with nausea are uncomfortable but not dangerous. A few specific patterns, however, signal something more serious:

  • Sudden, severe headache unlike anything you’ve had before. A “thunderclap” headache that peaks within seconds can indicate bleeding in the brain.
  • High fever with a stiff neck. This combination alongside headache and nausea raises concern for meningitis, an infection of the membranes surrounding the brain. Meningitis often starts with flu-like symptoms but progresses to intense head pain, neck rigidity, and high fever. Unlike migraine, a significant fever is a key distinguishing feature.
  • Worsening symptoms after a head injury. Increasing confusion, repeated vomiting, or loss of consciousness after hitting your head requires emergency evaluation.
  • New neurological symptoms. Weakness on one side, slurred speech, vision changes, or seizures alongside headache and nausea need immediate attention.

What Helps Right Now

When you’re dealing with both a headache and nausea, the nausea can actually make the headache harder to treat. A sluggish stomach absorbs oral medication poorly, so a pill you swallow during an attack may not work as well as it normally would.

A few strategies can help. Taking an anti-nausea medication alongside a pain reliever improves how well the pain reliever is absorbed. In clinical trials, combining an anti-nausea drug with a standard pain reliever worked significantly better than a placebo for reducing both symptoms, partly because the anti-nausea drug helps restore normal stomach movement so the pain reliever can actually get into your system.

Ginger has real evidence behind it for this specific situation. A meta-analysis of randomized controlled trials found that ginger extract at around 400 mg reduced both migraine pain and the incidence of nausea and vomiting compared to control groups. Ginger tea, ginger chews, or ginger capsules are all reasonable options when you’re too nauseated to take much else.

Beyond medication, lying down in a dark, quiet room helps if migraine is the cause. Cold compresses on the forehead or back of the neck can ease pain intensity. Sipping small amounts of water or an electrolyte drink addresses dehydration without overwhelming your stomach. Eating is usually the last thing you want to do during an attack, and that instinct is fine to follow. Focus on fluids until the nausea passes.

Patterns Worth Tracking

If headaches with nausea happen to you more than occasionally, keeping a simple log can reveal triggers you might not notice otherwise. Write down when the headache started, what you ate and drank that day, how much sleep you got, where you are in your menstrual cycle if applicable, and how long the episode lasted. Even two to three weeks of tracking can expose a pattern, whether it’s skipped meals, poor sleep, caffeine withdrawal, or hormonal timing. That information becomes extremely useful if you eventually see a doctor, because the diagnosis of migraine and other headache disorders relies heavily on your description of what happens and how often.