Why Have I Been Getting Headaches Lately?

Frequent headaches almost always trace back to one or a handful of identifiable triggers, and the most common culprits are everyday factors like poor sleep, dehydration, stress, too much screen time, or changes in caffeine intake. Headache disorders affect roughly 2.9 billion people worldwide, so if you’ve been dealing with more headaches than usual, you’re far from alone. The key is figuring out which type you’re experiencing and what’s setting it off.

The Two Most Common Types

Most recurring headaches fall into one of two categories: tension-type headaches and migraines. They feel different, behave differently, and respond to different strategies, so identifying which one you’re dealing with is the first step toward fixing it.

Tension-type headaches feel like a band of pressure squeezing both sides of your head. The pain is steady and pressing rather than throbbing, and it’s mild to moderate. You can usually push through your day, even if it’s unpleasant. These headaches last anywhere from 30 minutes to several days, and they aren’t made worse by walking up stairs or other routine physical activity. You won’t feel nauseous, and light or noise sensitivity is minimal.

Migraines are a different beast. The pain is often on one side of your head, feels pulsating, and is moderate to severe. Routine movement like climbing stairs makes it worse. Migraines typically last 4 to 72 hours and come with nausea, vomiting, or a strong sensitivity to light and sound. Some people get visual disturbances beforehand, like flashing lights or blind spots. If your headaches are sending you to a dark, quiet room, you’re likely dealing with migraines.

Lifestyle Triggers That Build Up

The reason you’ve been getting headaches lately often isn’t a single dramatic cause. It’s a stack of small factors that individually seem harmless but together push you past your threshold.

Sleep: Both too little and too inconsistent sleep are strongly linked to tension headaches and migraines. The connection isn’t fully understood, but the correlation is clear, and a nap or a good night’s rest often brings relief on its own.

Dehydration: When you’re not drinking enough water, your brain and surrounding tissues shrink slightly, pulling away from the skull and putting pressure on nearby nerves. That pressure is what you feel as a headache. Aiming for six to eight glasses of water a day (roughly 1.5 to 2 liters) is a good baseline, though you’ll need more if you’re exercising, sweating, or in hot weather.

Stress: This is probably the single most common trigger for tension-type headaches. Stress tightens the muscles in your neck, scalp, and jaw, and that sustained tension translates directly into head pain. If your headaches cluster around workdays or stressful periods, the connection is worth paying attention to.

Diet: Skipping meals can bring on a headache, and specific foods trigger migraines in some people. Common offenders include aged cheese, chocolate, processed meats containing nitrates or nitrites, citrus fruits, and foods with monosodium glutamate (MSG). Not everyone reacts to the same foods, so tracking what you eat before a headache can help you spot your personal triggers.

Screen Time and Eye Strain

If your headaches tend to hit in the afternoon or evening, your screens may be a factor. Spending two or more continuous hours on a computer, phone, or tablet daily increases your risk of developing what’s called computer vision syndrome. The symptoms include headaches, aching behind the eyes, blurry vision, and general eye fatigue.

The problem isn’t just brightness. Your eyes are constantly refocusing to read the tiny pixels that make up on-screen text, and the low contrast between letters and background makes them work harder than they would on paper. On top of that, you blink about a third less often when staring at a screen, which dries your eyes out and compounds the strain. The well-known 20-20-20 rule helps: every 20 minutes, look at something 20 feet away for 20 seconds to give your focusing muscles a break.

Caffeine: Both Cure and Cause

Caffeine has a complicated relationship with headaches. In small doses, it can actually relieve them, which is why it’s an ingredient in some pain relievers. But if you regularly consume coffee, tea, or energy drinks and then cut back or skip a day, withdrawal headaches can start within 12 hours of your last dose. They tend to peak between 20 and 51 hours after your last caffeine fix and can linger for up to 9 days.

This means both increasing and decreasing your caffeine intake can trigger headaches. If you recently changed your coffee routine, started a new job with different break times, or switched to decaf, that shift alone could explain what you’re feeling. Tapering gradually rather than quitting abruptly reduces the withdrawal effect significantly.

Hormonal Shifts

For people who menstruate, the drop in estrogen that happens just before a period is one of the most reliable headache triggers. Many people with migraines report that their worst attacks cluster in the days right before or during menstruation. If you notice your headaches follow a monthly pattern, hormonal fluctuation is the likely driver. Starting or stopping hormonal birth control, pregnancy, and perimenopause can all shift the pattern as well.

Medication Overuse (Rebound Headaches)

This is the trigger most people don’t see coming. If you’ve been taking pain relievers for your headaches on 10 or more days per month for three or more months, the medication itself may be perpetuating the cycle. The result is a headache that occurs on 15 or more days per month, essentially becoming a near-daily problem. Over-the-counter painkillers, prescription medications, and even combination products can all cause this rebound effect.

The frustrating part is that the headache feels like it needs more medication, which only deepens the cycle. Breaking out of it usually requires a supervised period of stopping the overused medication, which temporarily makes headaches worse before they improve.

Other Conditions That Cause Headaches

Most headaches aren’t caused by anything dangerous, but sometimes they’re a symptom of something else going on in your body. Sinus infections cause pressure and pain around the forehead, cheeks, and eyes that worsens when you bend forward. Jaw problems like temporomandibular joint dysfunction (TMJ) cause pain that radiates from the jaw into the temples. High blood pressure, fever from a viral infection, and altitude changes can all produce headaches too.

Less commonly, headaches can signal more serious conditions like blood vessel problems, infections of the brain or its lining, or growths putting pressure inside the skull. These are rare, but certain patterns warrant prompt evaluation.

Patterns Worth Taking Seriously

A headache that comes on suddenly and reaches maximum intensity within seconds, sometimes called a thunderclap headache, is one of the most concerning presentations and should be evaluated immediately. Beyond that, headache specialists watch for several specific warning signs: headaches accompanied by fever, night sweats, or unexplained weight loss; new neurological symptoms like weakness in an arm or leg, numbness, or vision changes; headaches that are clearly getting worse over weeks or months in either severity or frequency; headaches that change with position (worse when standing or lying down) or that are triggered by coughing or straining; and any new headache pattern starting after age 50.

If your headaches are new, worsening, or different from anything you’ve experienced before, that progression itself is a signal worth discussing with a healthcare provider. Primary headaches like tension headaches and migraines, while miserable, don’t typically come with neurological symptoms or a pattern of steady escalation.

Tracking Your Triggers

The most useful thing you can do right now is keep a simple headache diary for two to four weeks. Note when each headache starts, how long it lasts, where the pain is, what it feels like, and what you were doing in the hours before it hit. Record your sleep, water intake, meals, screen time, caffeine, stress level, and where you are in your menstrual cycle if applicable. Patterns usually emerge quickly, and those patterns point directly to the changes that will make the biggest difference.