Why Can’t I Sleep When I’m Sick?

Illness disrupts sleep due to biological conflict. Get actionable strategies to minimize symptoms and optimize your environment for better rest.

Your immune system, not your stuffy nose or sore throat alone, is the main reason sleep falls apart when you are sick. The same inflammatory molecules your body releases to fight an infection also rewire how your brain regulates sleep, tilting the balance toward lighter, more fragmented rest. The result is a frustrating paradox: you feel exhausted and desperately need sleep, yet you keep waking up, toss for hours, or drift only into shallow dozing that never feels restorative. Understanding why this happens involves several overlapping systems, from the chemicals your immune cells pump out to the fever cooking inside you, the stress hormones surging through your bloodstream, and even the cold medicine on your nightstand.

Your Immune System Talks Directly to Your Sleep Centers

When you catch a virus or bacterial infection, immune cells ramp up production of signaling molecules called cytokines. Two of the most studied are interleukin-1 beta (IL-1β) and tumor necrosis factor alpha (TNF-α). These aren’t just general alarm signals; they cross into the brain and directly change how neurons fire. Glia, the support cells in your brain, release IL-1β and TNF-α in response to infection signals, and these molecules then alter the sensitivity of neurons to normal sleep-wake chemicals like adenosine and glutamate. The effect is a kind of forced state change in local brain networks that ripples outward to alter your overall sleep pattern.

Here is where it gets counterintuitive. IL-1β actually increases one type of sleep, called non-REM sleep (the deeper, slow-wave kind), in virtually every species studied. But it simultaneously suppresses REM sleep, the dreaming phase. So your body tries to push you into heavier slow-wave sleep (which is thought to support immune function), but at the expense of REM sleep. Since a healthy night involves cycling through both stages multiple times, losing REM means your sleep architecture is lopsided. You may spend more total time in bed but wake up feeling unrefreshed because the balance between sleep stages is off.

Fever Works Against the Conditions Your Brain Needs for Sleep

Your body temperature normally drops slightly in the evening as part of the signal that it is time to sleep. Fever flips that script. When your core temperature rises, the brain has a harder time initiating and maintaining certain sleep stages, especially REM sleep. Research on women whose body temperatures were naturally elevated found that higher nocturnal temperatures were associated with less REM sleep, suggesting that REM is particularly sensitive to heat.

This creates a double hit when you are sick. The cytokines already suppressing REM are joined by a fever that independently makes REM harder to reach. Meanwhile, the chills, sweating, and general thermal discomfort of a fever add a physical layer of misery that keeps dragging you back to wakefulness. You kick off the blankets because you are overheating, then pull them back because you are shivering minutes later. Each of those micro-awakenings chips away at sleep continuity.

Congestion, Coughing, and Pain Each Disrupt Sleep in Their Own Way

Beyond the immune-brain signaling and fever, plain old physical symptoms play a huge role. They deserve separate attention because they operate through mechanical disruption rather than brain chemistry, and they each have slightly different patterns.

Nasal congestion forces mouth breathing, which dries out your throat, promotes snoring, and can trigger brief awakenings you may not even remember. People with chronic sinus inflammation experience sleep disruption at dramatically higher rates than the general population. Research puts the figure somewhere around 60 to 75 percent of chronic rhinosinusitis patients reporting disrupted sleep, compared with roughly 8 to 18 percent of the general population. And the sleep disruption in those patients goes beyond what physical blockage alone would explain, hinting that the underlying inflammation contributes independently. Even a temporary cold can produce a milder version of this effect for a week or two.

Coughing follows a different pattern. Healthy people rarely cough at night, but about half of patients with chronic cough report that it disrupts their sleep. Interestingly, cough frequency is actually lower at night than during the day, partly because the cough reflex naturally dampens while you sleep. But when a cough does break through, it is more disruptive because it pulls you out of a sleep cycle entirely. A single productive cough at 3 a.m. does more damage to your rest than a dozen coughs during lunch.

Pain, whether it is a sore throat, body aches, headache, or ear pressure, adds yet another layer. Pain and sleep deficiency have a bidirectional relationship: pain makes it harder to fall and stay asleep, and poor sleep lowers your pain threshold, making the aches feel worse the next day. This feedback loop can make even a moderate illness feel grinding after two or three nights of bad sleep, because your sensitivity to pain has been ratcheted up by the sleep loss itself.

Stress Hormones Surge When You Are Sick

Illness is a stressor, and your body treats it like one. The hypothalamic-pituitary-adrenal (HPA) axis, the same system that fires up when you are anxious or in danger, activates during infection. The result is a cascade of hormones, including cortisol, noradrenaline, and adrenaline, all of which promote wakefulness and alertness. In an evolutionary context, this makes some sense: if your body is under threat, being fully unconscious could be dangerous. But in the modern world, where the threat is a rhinovirus rather than a predator, the arousal response mostly just keeps you staring at the ceiling.

This stress-hormone effect explains why some people feel “wired but tired” when they are sick. You are physically drained, your muscles ache, your eyelids are heavy, but when you lie down, your mind races or you feel an uncomfortable restless alertness. That disconnect comes from the immune system and the stress system sending conflicting signals: one says “sleep to recover,” the other says “stay alert, something is wrong.”

Your Internal Clock Gets Scrambled by Infection

Your circadian rhythm, the roughly 24-hour cycle governing when you feel sleepy and when you feel awake, depends on a set of clock genes and on the hormone melatonin. Infection can disrupt both. Research on patients with sepsis (an extreme systemic infection) shows that pro-inflammatory cytokines directly interfere with the molecular clock. In septic patients, expression of key clock genes was significantly decreased, while inflammatory cytokines like TNF-α and IL-6 were sharply elevated. Melatonin secretion was also shifted earlier in the day in septic patients, peaking around 6 p.m. instead of the usual 2 a.m.

Sepsis is obviously far more severe than a cold. But the underlying mechanism, inflammatory molecules interfering with clock gene function and melatonin production, operates on a spectrum. A bad flu or a nasty respiratory infection can produce enough inflammation to nudge your circadian timing out of alignment, making you drowsy at odd hours and wide awake at bedtime. If you have ever felt inexplicably alert at midnight during a bout of illness and then crashed at noon, this circadian disruption is a likely culprit.

Your Cold Medicine Might Be Part of the Problem

Many people reach for over-the-counter remedies hoping to sleep better, but some of these medications can actually interfere with sleep quality in ways that are not obvious.

Decongestants containing pseudoephedrine are a common example. Pseudoephedrine is a sympathomimetic, meaning it mimics the effects of your sympathetic (“fight or flight”) nervous system. It works by constricting blood vessels in your nasal passages to reduce swelling, but it also raises heart rate and blood pressure and promotes alertness. Taking a decongestant close to bedtime is essentially asking your body to clear your nose and rev your engine at the same time. Nighttime cold formulations often swap pseudoephedrine for a sedating antihistamine for this reason, but not all of them do, and daytime formulas taken too late in the afternoon can still affect sleep.

Antihistamines like diphenhydramine (the active ingredient in many “PM” or “nighttime” products) do make you drowsy, which sounds helpful. But they alter sleep architecture in a lopsided way. Research comparing diphenhydramine to prescription sleep aids found that while diphenhydramine produced comparable improvements in overall sleep quality, it significantly prolonged the time it took to enter REM sleep and reduced the total percentage of REM sleep. It also tended to increase next-day grogginess and reduce psychomotor performance. In animal studies, standard doses of diphenhydramine increased non-REM sleep and reduced REM sleep, but at higher doses the drug actually reduced non-REM sleep and promoted wakefulness.

The practical takeaway: antihistamines can help you fall asleep, and for a miserable sick night that may be worthwhile. But the sleep you get is not the same as natural sleep. You are trading REM sleep and next-day sharpness for the ability to pass out despite your congestion. If you are already losing REM because of cytokines and fever, layering on a REM-suppressing antihistamine makes the deficit worse. For a night or two during acute illness that is probably fine, but it helps to understand why you can still feel foggy even after a “full” medicated night of rest.

Why Evolution May Have Favored Lighter Sleep During Illness

It is tempting to think of sick-sleep disruption as purely a malfunction, your body getting in its own way. But some researchers view it through an evolutionary lens. Sleep is a state of extreme vulnerability: you are less aware of your surroundings, slower to react, and easier to ambush. A number of variations in human sleep patterns may have evolved to reduce that vulnerability.

When you are sick, you are even more vulnerable than usual because your physical capacity to flee or fight is diminished. One interpretation is that the lighter, more fragmented sleep that accompanies illness is partly an adaptive response: staying closer to the surface of wakefulness so you can rouse quickly if threatened. The hypervigilance and sleep disruption seen in acute stress responses are excessive versions of otherwise functional vigilance behaviors. In an ancestral environment where sick individuals were easy prey, sleeping lightly and waking frequently could have been a survival advantage, even if it slowed recovery somewhat.

This does not mean the sleep disruption is “good for you” in a modern context. It means your body may be running an ancient program that prioritizes not-getting-eaten over optimal immune recovery. The mismatch between that ancestral pressure and your actual situation (lying safely in a temperature-controlled bedroom) is part of what makes being sick at night so maddening.

When Sleep Problems Linger After the Infection Clears

For most common illnesses, sleep returns to normal within a few days of symptom resolution. But some infections, particularly viral ones, can leave a lingering footprint on sleep quality that outlasts the acute illness by weeks or months. This became a widely discussed phenomenon during the COVID-19 pandemic. Research on post-COVID conditions identified sleep disturbance as one of the more common persistent symptoms, with mechanisms thought to include ongoing low-grade inflammation, immune system dysregulation, and mitochondrial dysfunction.

Post-viral sleep disruption is not unique to COVID. Influenza, Epstein-Barr virus, and other infections have long been associated with prolonged fatigue and disordered sleep in a subset of patients. The general pattern is that the acute immune response resolves, but some downstream effects on brain inflammation or circadian signaling persist. If your sleep still feels off several weeks after recovering from an illness, persistent low-level neuroinflammation is a plausible explanation, and it is worth mentioning to a doctor rather than writing it off as stress or bad habits.

Practical Things That Actually Help

You cannot fully override the immune-driven sleep disruption, but you can reduce the stacking of problems that makes it worse. Keeping your bedroom cool is more important when you are sick than when you are healthy, because your thermoregulation is already compromised by fever. A room that feels comfortable when you are well may feel stifling when your core temperature is elevated. Elevating your head with an extra pillow can reduce nasal congestion and post-nasal drip without medication. Staying hydrated thins mucus and reduces the severity of cough and throat pain.

If you use medications, timing matters. Take decongestants earlier in the day and let sedating antihistamines handle the nighttime shift. Be aware that “nighttime” cold formulations often combine an antihistamine with acetaminophen, a cough suppressant, and sometimes a decongestant; read the label rather than assuming the whole product is sleep-friendly. Over-the-counter pain relievers like ibuprofen or acetaminophen taken before bed can reduce fever and body aches enough to get you through a longer stretch of uninterrupted sleep, and since they work partly by dampening the inflammatory signals driving sleep disruption, they address the problem closer to its source.

Napping during the day is a reasonable strategy when you are sick, even though sleep experts generally discourage napping for people with insomnia. Illness is a different situation: your total sleep need is higher, your nighttime sleep is going to be fragmented regardless, and supplementing with daytime rest helps your immune system do its job. The usual concerns about napping (that it reduces sleep pressure at night) are less relevant when cytokines and fever are already disrupting your nighttime sleep architecture independently. Let yourself sleep when your body asks for it, and do not worry about maintaining a rigid schedule until you are well enough that your normal sleep rhythms can reassert themselves.