Does Coke Keep You Up at Night? Caffeine & Sleep

A 12-ounce can of Coca-Cola contains 34 mg of caffeine, which is enough to affect your sleep if you drink it in the evening, though it’s far less than a cup of coffee. Whether that amount actually keeps you up depends on when you drink it, how sensitive you are to caffeine, and whether you’re having one can or several.

How Much Caffeine Is in Different Cokes

Not all Cokes are created equal when it comes to caffeine. A 12-ounce can of Classic Coca-Cola has 34 mg, but Diet Coke actually has more at 46 mg per can. If you grab a 20-ounce bottle, you’re getting roughly 50 to 65 mg depending on the variety. For context, an 8-ounce cup of brewed coffee contains about 96 mg of caffeine, nearly three times what’s in an equivalent serving of cola.

Coca-Cola also makes caffeine-free versions of Classic, Diet, and Zero Sugar, so if you want the taste without any sleep risk, those are an option. But if the label doesn’t say “caffeine-free,” assume it has some.

How Caffeine Disrupts Sleep

Throughout the day, your brain builds up a chemical called adenosine. Adenosine is essentially your body’s sleepiness signal: the more it accumulates, the drowsier you feel. Caffeine works by physically blocking the receptors where adenosine is supposed to land. Your brain keeps producing adenosine, but caffeine prevents it from doing its job. The result is that your body’s “time to sleep” signal gets muted.

Research in mice has pinpointed that caffeine promotes wakefulness primarily by blocking a specific subtype of adenosine receptor in the brain. This is also why caffeine doesn’t give you real energy. It masks tiredness rather than eliminating it. Once the caffeine wears off, all that built-up adenosine floods in at once, which is why you sometimes crash hard after it clears your system.

How Long Caffeine Stays in Your Body

The average half-life of caffeine is about 5 hours, meaning that half the caffeine from your Coke is still circulating five hours after you drink it. But that range varies widely from person to person, anywhere from 1.5 to 9.5 hours. Factors like age, liver function, pregnancy, oral contraceptive use, and genetics all shift how quickly you process caffeine.

So if you drink a can of Coke at 7 p.m. and you’re an average metabolizer, you still have about 17 mg of caffeine in your system at midnight. That’s not a huge amount, but for people on the slower end of caffeine metabolism, the number could be closer to 25 to 30 mg at bedtime. That’s enough to interfere with falling asleep, especially if you’re already sensitive to caffeine. Genetic variants in adenosine receptors create real, measurable differences in how strongly caffeine affects any given person’s sleep.

It’s Not Just About Falling Asleep

Even if you manage to fall asleep after drinking Coke, the caffeine may still be doing damage to your sleep quality. A study published in the Journal of Biological Rhythms found that regular caffeine intake delayed the onset of REM sleep, the phase of sleep most closely tied to feeling rested and mentally sharp the next day. Participants who consumed caffeine reported more difficulty waking up and felt more tired in the morning, even when their total sleep time was roughly the same as a caffeine-free period.

This is the sneaky part. You might sleep for seven or eight hours and still wake up feeling unrested because the structure of your sleep was disrupted. One study found that caffeine taken even six hours before bedtime significantly reduced deep sleep duration. So a Coke with dinner at 6 p.m. when you go to bed at midnight isn’t necessarily in the clear.

What About the Sugar?

A 12-ounce Coke has 39 grams of sugar, which is a high-glycemic hit. Interestingly, research on high-glycemic meals and sleep found that they actually shortened the time it took people to fall asleep, particularly when consumed about four hours before bed. The same high-glycemic load eaten just one hour before bed didn’t have the same benefit.

So the sugar in a Coke isn’t likely to be the thing keeping you awake. If anything, a sugar spike followed by a crash could make you feel sleepier. But that doesn’t mean it’s helping. The rapid blood sugar rise and fall can cause restlessness during the night, and the caffeine is still the bigger concern for sleep disruption.

Does Carbonation Play a Role?

Some people worry that the fizz itself causes discomfort that disrupts sleep, particularly acid reflux. A systematic review of the research found that carbonated beverages cause a brief, temporary dip in the pH of the esophagus and a short reduction in the pressure of the valve between the esophagus and stomach. However, the review concluded there is no direct evidence that carbonated drinks promote or worsen reflux disease. If you already have reflux issues, lying down after drinking anything carbonated could aggravate symptoms, but for most people the carbonation alone isn’t a sleep problem.

How Late Is Too Late for a Coke

Based on the research, stopping caffeine at least six hours before bed is a reasonable minimum. Even at that cutoff, some reduction in deep sleep was observed in studies using a 400 mg caffeine dose (much more than a single Coke). With 34 mg from one can, six hours is likely enough buffer for most people. If you’re particularly sensitive to caffeine or tend toward lighter sleep, pushing that window to eight hours or more is safer.

For a practical rule: if you go to bed at 11 p.m., finishing your last Coke by 3 to 5 p.m. gives most people enough clearance. Drinking one with or after dinner is where the risk starts, especially if you’re having more than one can or pairing it with other caffeine sources like chocolate or tea. And if you find yourself reaching for a Coke late at night specifically because you’re tired, the caffeine-free version will give you the same taste without the tradeoff.