Why Can’t I Sleep at Night? Common Causes Explained

Trouble sleeping at night is remarkably common, affecting roughly one-third of adults at any given time, with 6% to 10% meeting the criteria for chronic insomnia. The reasons range from stress hormones firing at the wrong time to a bedroom that’s too warm to caffeine you drank hours ago and forgot about. Most causes are fixable once you identify them, and the solutions rarely require medication.

Your Stress Hormones May Be Misfiring

The most common reason people lie awake feeling “tired but wired” is a cortisol rhythm that’s out of sync. Cortisol, your body’s main stress hormone, is supposed to peak in the morning and gradually decline through the evening, reaching its lowest point around midnight. When chronic stress keeps cortisol elevated at night, your brain stays in alert mode even though your body is exhausted.

This isn’t just about having a stressful day. Ongoing pressure from work, finances, relationships, or health worries can reprogram your stress response so that cortisol spikes at inappropriate times, pulling you out of deep sleep or preventing you from falling asleep in the first place. Over time, elevated cortisol also disrupts the brain chemicals responsible for sleep regulation, including serotonin and GABA, creating a self-reinforcing cycle where poor sleep increases stress, which further worsens sleep.

If you notice that your mind races the moment your head hits the pillow, or that you wake at 3 or 4 a.m. with a jolt of alertness, cortisol dysregulation is a likely culprit.

Caffeine Stays in Your System Longer Than You Think

Caffeine has a half-life of three to six hours, meaning half the caffeine from your afternoon coffee is still circulating in your bloodstream well into the evening. A 2024 clinical trial published in the journal SLEEP found that a large dose of caffeine (around 400 mg, roughly the amount in two strong coffees or a large energy drink) can disrupt sleep when consumed within 12 hours of bedtime. Even a smaller dose of about 100 mg, one regular cup of coffee, can cause problems if you drink it less than four hours before bed.

The tricky part is that caffeine tolerance varies widely. You might feel fully alert and assume the caffeine has worn off, but it can still reduce deep sleep stages without making you feel obviously wired. If you’re struggling to sleep, try cutting off all caffeine by noon for two weeks and see if anything changes.

Your Bedroom Temperature Matters More Than You’d Expect

Your body needs to drop its core temperature by about one degree to initiate sleep. A warm bedroom fights that process. Sleep researchers at the Cleveland Clinic recommend keeping your bedroom between 60 and 67°F (15 to 19°C), which feels cooler than most people set their thermostat. For babies and toddlers, the ideal range is slightly warmer, between 65 and 70°F.

If 60°F sounds cold, consider that you can always add blankets while keeping the ambient air cool. A warm room with lighter covers will almost always produce worse sleep than a cool room with a heavier blanket, because the cool air helps your body release heat while the blanket provides comfort without trapping it against your skin.

Screens and Light Exposure

Your brain uses light as its primary cue for when to be awake and when to sleep. Bright light in the evening, especially the blue-toned light from phones, tablets, and laptops, suppresses melatonin production and signals to your brain that it’s still daytime. The effect isn’t subtle: even 30 to 60 minutes of screen use before bed can delay the point at which you feel naturally sleepy.

The fix doesn’t require giving up screens entirely. Dimming your phone’s brightness, using a warm-toned night mode, and stopping screen use 30 to 60 minutes before your target bedtime can all help. Equally important is getting bright light exposure during the day, especially in the morning. People who spend most of their day indoors under dim artificial light often have weaker circadian signals overall, making it harder to feel alert during the day and sleepy at night.

Sleep Apnea: The Hidden Cause

An estimated 15 to 30% of men and 10 to 15% of women have some degree of obstructive sleep apnea, a condition where the airway partially collapses during sleep. Many of them don’t know it. Sleep apnea causes repeated brief awakenings throughout the night, sometimes dozens of times per hour, that are too short to remember but long enough to prevent deep, restorative sleep.

The classic signs are loud snoring, gasping or choking during sleep (often noticed by a partner), waking with a dry mouth or headache, and feeling exhausted despite spending enough hours in bed. Sleep apnea is more common in people who carry extra weight, but it also occurs in lean individuals, particularly in certain ethnic groups. Black Americans under 35, for example, have higher rates independent of body weight, and prevalence in Asia matches that of the United States despite lower obesity rates.

If you snore heavily, wake up feeling unrefreshed no matter how long you sleep, or have been told you stop breathing at night, a sleep study can confirm or rule out sleep apnea. Treatment typically involves a device that keeps your airway open during sleep, and the improvement in sleep quality can be dramatic.

Restless Legs and Iron Levels

If your legs feel uncomfortable, tingly, or restless right as you’re trying to fall asleep, and the sensation improves when you move them, you may have restless legs syndrome. One of the most overlooked causes is low iron. You don’t need to be anemic for this to be a problem. Harvard Health notes that restless legs symptoms often increase when ferritin (your body’s iron storage marker) drops to 50 mcg/L or below, a level that most standard blood tests would consider “normal.”

If this sounds familiar, ask for a ferritin test specifically, not just a standard iron panel. Increasing dietary iron through red meat, lentils, spinach, and fortified cereals, or taking an iron supplement when levels are low, can significantly reduce or eliminate restless legs symptoms for many people.

What Actually Works Long-Term

If you’ve addressed the basics (caffeine, temperature, light, stress) and still can’t sleep, the most effective treatment isn’t a pill. Cognitive behavioral therapy for insomnia, known as CBT-I, is a structured program that retrains your sleep habits and addresses the thought patterns that keep insomnia going. It’s typically delivered over four to eight sessions, either in person or through online programs.

CBT-I works as well as sleeping pills in the short term, but the results last far longer. A follow-up study from Karolinska Institutet tracked patients ten years after completing CBT-I and found they were still sleeping well. Sleeping medications, by contrast, tend to lose effectiveness over time and can cause dependence. CBT-I works by breaking the cycle of sleep anxiety: the more you worry about not sleeping, the more your brain associates the bed with wakefulness, which makes the problem worse. The therapy systematically reverses that association.

Common CBT-I techniques include restricting your time in bed to match the hours you actually sleep (counterintuitive but effective), keeping a consistent wake time regardless of how the night went, and learning to get out of bed when you’ve been lying awake for more than 15 to 20 minutes. These changes feel uncomfortable at first but typically produce noticeable improvement within two to four weeks.

A Simple Starting Point

If you’re reading this at 2 a.m. and want something to try tonight, keep it simple. Get out of bed and sit somewhere dim and boring until you feel genuinely sleepy, then return to bed. Resist the urge to check the time. Tomorrow, set a fixed wake time and stick to it regardless of how the night goes. Move your last caffeine to before noon. Cool your bedroom to 65°F or lower. These four changes alone resolve a surprising number of sleep problems within a couple of weeks.