Why Have I Been Getting Headaches Lately: Causes

New or increasing headaches almost always have an identifiable trigger, and the most common culprits are everyday habits you may not connect to head pain: poor sleep, dehydration, too much screen time, stress, or hormonal shifts. Less often, the pattern points to something that needs medical attention. Understanding what type of headache you’re experiencing and what’s changed in your life recently is the fastest way to figure out what’s going on.

What Type of Headache You’re Likely Dealing With

The vast majority of recurring headaches fall into two categories: tension-type and migraine. Knowing which one you have narrows down the likely causes considerably.

Tension-type headaches feel like a band of pressure on both sides of your head. The pain is mild to moderate, pressing or tightening rather than throbbing, and it doesn’t get worse when you walk or climb stairs. These headaches can last anywhere from 30 minutes to several days. They don’t cause nausea or vomiting. If you’re getting them between 1 and 14 days per month, that’s considered “frequent episodic,” and something in your routine is probably driving them.

Migraines are different. They tend to hit one side of the head with a pulsating or throbbing quality, last 4 to 72 hours untreated, and get worse with normal physical activity. You’ll often feel nauseous, and light or sound becomes unbearable. Some people get an aura beforehand: visual disturbances like zigzag lines, tingling in the hands or face, or difficulty finding words. These symptoms build gradually over 5 minutes or more and typically resolve within an hour.

Sleep Problems Are a Top Trigger

If your sleep has changed recently, that alone can explain a new headache pattern. Research from the University of Arizona found that disrupted sleep significantly increases the likelihood of migraine-like pain, and the relationship is one-directional: bad sleep triggers headaches, but headaches don’t disrupt sleep. This means sleep is a cause, not just a symptom.

Early morning is one of the most common times people experience migraine attacks, which makes sense if overnight sleep quality is the issue. It’s not just about total hours. Fragmented sleep, where you wake repeatedly or don’t cycle properly through deep and REM stages, is enough to lower your headache threshold. If you’ve recently started sleeping poorly due to stress, schedule changes, a new medication, or even a partner’s snoring, that’s a strong candidate for your recent headaches.

Dehydration and Missed Meals

Your brain is exquisitely sensitive to fluid balance. When you’re dehydrated, the resulting shift in your body’s salt and water concentration causes certain brain cells (astrocytes, which manage water movement between different compartments in your brain) to shrink. This contraction is thought to pull on pain-sensitive structures, producing a headache that’s often dull and worsens when you stand up or move around.

You don’t need to be severely dehydrated for this to happen. Drinking less water than usual, increasing your coffee or alcohol intake, exercising more without compensating, or spending time in hotter weather can all tip the balance. Skipping meals works similarly: drops in blood sugar destabilize the same pain pathways.

Screen Time and Posture

Two hours of continuous screen time per day is enough to increase your risk of computer vision syndrome, which causes aching pain behind the eyes along with eye fatigue and blurred vision. If you’ve recently started a new job, taken on more desk work, or simply increased your phone use, this could be the source.

Posture plays a related but distinct role. Spending hours hunched over a screen can strain the joints and muscles in your upper neck, producing what’s called a cervicogenic headache. This type starts at the base of your skull and radiates up one side of your head or wraps forward behind one eye. A key giveaway is that moving your neck makes it worse, or that your neck feels stiff alongside the headache. You may or may not have noticeable neck pain at the same time. If your headaches consistently start after long periods of sitting, posture is a likely contributor.

Stress and Muscle Tension

Stress is the single most commonly reported trigger for tension-type headaches. When you’re under sustained stress, the muscles in your scalp, jaw, neck, and shoulders tighten, sometimes without you noticing. Over time, this constant low-grade contraction irritates the nerve fibers running through those muscles, producing the classic band-like pressure that tension headaches are known for. A new job, financial pressure, relationship changes, or even positive stress like planning a move can set off a pattern that feels like it came out of nowhere.

Hormonal Changes

For people who menstruate, the drop in estrogen just before a period is a well-established headache trigger. These headaches tend to hit in the day or two before bleeding starts and can feel like migraines, with throbbing one-sided pain and sensitivity to light. If you’ve recently started or stopped hormonal birth control, entered perimenopause, or are pregnant or postpartum, the resulting estrogen fluctuations can create a headache pattern where none existed before.

Food and Drink Triggers

Certain compounds in food can trigger headaches in susceptible people, and a dietary change you haven’t thought twice about could be responsible. The main chemical culprits are tyramine and nitrates.

  • Nitrate-rich foods: hot dogs, bacon, salami, pepperoni, bologna, beef jerky, smoked fish, and other cured or preserved meats.
  • High-tyramine foods: aged cheeses, beef and chicken liver, overripe fruits, bananas, dried fruits like raisins, fermented or pickled foods.
  • Alcohol: red wine is a particularly common trigger, partly due to its tyramine content.

If you’ve recently changed your diet, started eating more processed meats, or increased your alcohol intake, try an elimination approach: cut the suspected trigger for two to three weeks and see if the headaches improve.

Pain Medication That Backfires

This one catches a lot of people off guard. If you’ve been reaching for over-the-counter painkillers like ibuprofen or acetaminophen to manage your headaches, the medication itself can start causing them. Using simple painkillers more than 15 days a month raises your risk of medication overuse headaches, which feel like a dull, constant pressure that’s there when you wake up and improves briefly after taking another dose, only to return.

The threshold matters: keeping painkiller use under 14 days per month significantly reduces this risk. If you suspect this cycle has started, cutting back is the fix, but the first week or two after reducing use can temporarily feel worse before it gets better.

Supplements That May Help

Two over-the-counter supplements have enough evidence behind them that the American Headache Society includes them in prevention recommendations. Magnesium oxide at 400 to 500 milligrams daily and vitamin B2 (riboflavin) at 400 milligrams daily have both shown benefit for reducing migraine frequency. These aren’t instant fixes. Most people need six to eight weeks of consistent daily use before noticing a difference. They work best as part of a broader approach that includes identifying and managing your triggers.

Warning Signs That Need Urgent Attention

Most new headache patterns are benign, but a few specific features signal something more serious. Headache specialists use a set of red flags worth knowing.

A sudden-onset headache that hits maximum intensity within seconds, sometimes called a thunderclap headache, is the most concerning. This can point to a vascular emergency like a ruptured aneurysm and needs immediate evaluation. A headache accompanied by fever, night sweats, or unexplained weight loss suggests a systemic illness driving the pain. New neurological symptoms alongside the headache, such as weakness in an arm or leg, new numbness, or vision changes that aren’t a familiar aura, also warrant urgent assessment.

If you’re over 50 and experiencing a new type of headache for the first time, the likelihood of a secondary cause (meaning the headache is a symptom of another condition) goes up. The same is true if your headaches are clearly progressing, becoming more severe or more frequent week over week with no plateau. New headaches during or shortly after pregnancy also need evaluation for conditions like blood pressure changes or vascular abnormalities.