Most healthy adults can safely drink up to about 400 milligrams of caffeine a day, roughly two to three 12-ounce cups of coffee, according to the FDA. But several groups of people need to cut back significantly or skip coffee altogether because of how caffeine interacts with their body, their medications, or a specific health condition. Here’s who needs to be careful and why.
Pregnant and Breastfeeding Women
Caffeine crosses the placenta, and a developing fetus lacks the enzymes to break it down efficiently. Research consistently links caffeine intake during pregnancy to restricted fetal growth and lower birth weight. In one study, babies born to women who drank caffeinated coffee weighed an average of 16 grams less than those born to women who switched to decaf. That may sound small, but the effect scales with intake, and higher consumption has been tied to premature birth and miscarriage as well.
The American College of Obstetricians and Gynecologists recommends pregnant women cap caffeine at 200 milligrams per day, about two standard cups of coffee. Many practitioners suggest going even lower, especially in the first trimester. If you’re pregnant or trying to become pregnant, treating 200 milligrams as a hard ceiling rather than a target is the safer approach.
People With Panic Disorder or Severe Anxiety
Caffeine is a stimulant that activates your body’s stress response, raising heart rate and triggering the same physical sensations that mimic a panic attack. For most people, a normal cup or two won’t cause problems. But if you have diagnosed panic disorder, the relationship between caffeine and anxiety follows a clear dose-response curve. At doses above 400 milligrams, roughly four cups of coffee, about half of people with panic disorder experience a full panic attack in controlled studies. Even at lower doses like 150 milligrams, researchers have observed increased behavioral avoidance in panic disorder patients, meaning caffeine may subtly reinforce the habit of avoiding situations that feel threatening.
Genetics play a role here too. Variations in a gene called ADORA2A influence how sensitive your brain is to caffeine’s stimulating effects. People who carry certain versions of this gene are more prone to caffeine-induced anxiety and sleep disruption, regardless of whether they have a diagnosed anxiety disorder. If coffee consistently makes you feel jittery, wired, or on edge, your biology may be telling you something worth listening to.
People With Overactive Bladder or Interstitial Cystitis
Caffeine acts on your bladder in two ways. First, it’s a mild diuretic, increasing urine production. Second, and more importantly, it directly stimulates the smooth muscle of the bladder wall, increasing both the strength and duration of contractions. Research shows caffeine also activates nerve centers in the brain that control the urge to urinate, which can make an already overactive bladder significantly harder to manage.
If you have overactive bladder, urinary incontinence, or interstitial cystitis, coffee is one of the most common dietary triggers for symptom flare-ups. Reducing or eliminating caffeine is typically one of the first lifestyle changes recommended, and many people notice a meaningful improvement in urgency and frequency within a few weeks.
Postmenopausal Women With Low Calcium Intake
Every 112 milligrams of caffeine you consume causes your body to lose up to 10 milligrams of calcium through urine. That’s a modest amount from a single cup, but it accumulates over time. The real risk depends on how much calcium you’re getting in your diet. In a prospective study of postmenopausal women, those who consumed adequate calcium (above about 744 milligrams per day) showed no difference in bone loss regardless of how much coffee they drank. But among women with calcium intake below that threshold, those drinking the caffeine equivalent of two to three cups of brewed coffee per day experienced significantly accelerated bone loss.
The practical takeaway: if you’re postmenopausal and your calcium intake is low, either through diet or supplementation, keeping coffee to under two cups daily is a reasonable precaution. Better yet, bring your calcium intake up to recommended levels and the coffee-bone connection largely disappears.
People With Genetically High Eye Pressure
The relationship between coffee and glaucoma is more nuanced than a simple yes-or-no. A large study using data from the UK Biobank found that for most people, higher caffeine intake was actually associated with slightly lower eye pressure. But genetics change the picture dramatically. Among people with the strongest genetic predisposition to high intraocular pressure, consuming more than 480 milligrams of caffeine daily was linked to a 0.35 mmHg increase in eye pressure, and those in this high-risk group who drank more than 321 milligrams per day had a 3.9-fold higher prevalence of glaucoma compared to low-risk individuals who avoided caffeine.
You likely won’t know your exact genetic risk score, but if you have a strong family history of glaucoma or have been told your eye pressure runs high, limiting heavy coffee consumption is a reasonable precaution to discuss with your eye doctor.
Slow Caffeine Metabolizers
Caffeine’s half-life, the time it takes your body to clear half of it, varies enormously from person to person. The primary driver is a liver enzyme encoded by the CYP1A2 gene. “Fast metabolizers” break down caffeine quickly and tend to tolerate coffee well. “Slow metabolizers” process it much more gradually, meaning a cup of coffee at noon can still be circulating at bedtime.
If you’ve ever noticed that even a small amount of coffee keeps you up at night, makes your heart race, or leaves you feeling wired for hours longer than your friends, you’re likely a slow metabolizer. For this group, even moderate coffee intake has been linked to worse sleep quality and, in some studies, higher cardiovascular risk. You don’t need a genetic test to figure this out: your own response to coffee is a reliable guide. If afternoon coffee ruins your sleep, your body is processing it slowly, and cutting off caffeine by mid-morning (or switching to tea) makes a real difference.
People Taking Certain Medications
Caffeine is metabolized by the same liver pathways as many common drugs, which means it can either amplify a medication’s effects or interfere with how your body processes it. A few categories worth knowing about:
- Stimulant-containing medications: Caffeine combined with stimulants found in some weight-loss supplements, decongestants, or energy products can push heart rate and blood pressure to dangerous levels.
- Bronchodilators for asthma: Caffeine has a similar chemical structure to certain asthma medications and can intensify side effects like rapid heart rate and tremors.
- Some diabetes medications: In animal studies, caffeine increased blood levels of certain diabetes drugs by more than 35%, potentially altering their effectiveness and side-effect profile.
- Certain antibiotics: Some commonly prescribed antibiotics slow caffeine metabolism significantly, meaning your usual two cups of coffee can suddenly hit like four or five.
If you’re on any long-term medication, checking whether caffeine interacts with it is worth the 30-second conversation with your pharmacist.
Children and Adolescents
The FDA has not set a formal caffeine limit for children but notes that pediatric health organizations generally discourage caffeine consumption in this age group. Children are smaller, metabolize caffeine differently, and are more susceptible to its effects on sleep, anxiety, and heart rate. The growing popularity of energy drinks and coffeehouse culture means many teens are consuming adult-level doses of caffeine in bodies that aren’t equipped to handle them. For children under 12, most pediatric guidelines recommend avoiding caffeine entirely. For teenagers, keeping intake well below adult limits is the general consensus.
People With Arrhythmias: The Surprise
Here’s one that may surprise you: despite what you’ve probably heard, coffee does not appear to increase the risk of most heart rhythm problems. More than 80% of U.S. physicians routinely tell patients with palpitations or arrhythmias to cut back on caffeine, but the clinical evidence doesn’t support this advice for most people. In a controlled study, researchers gave caffeine to patients with supraventricular tachycardia (a common type of fast heart rhythm) and found no effect on the heart’s electrical properties or the ability to trigger the arrhythmia. A large population study found that higher coffee intake was actually associated with lower rates of atrial fibrillation, with people drinking six to seven cups daily showing a 21% lower risk compared to nondrinkers.
That said, individual responses vary. If you notice that coffee reliably triggers palpitations or worsens an existing arrhythmia, your personal experience outweighs population-level data. But if you’ve been avoiding coffee purely because of a general warning about heart rhythm, the evidence suggests you may not need to.

