Coffee is so ordinary that it is easy to forget caffeine is a drug, processed by the same liver machinery as many medicines. When people search whether they can drink coffee with antibiotics, the honest answer is that it depends on which antibiotic, and the same is true for a number of other medicines. For most common drugs there is no meaningful interaction. For a specific group there is a strong one, and it can run in either direction: the medicine can make caffeine build up, or the coffee can stop the medicine being absorbed.
Why caffeine and medicines interact
About 95% of the caffeine people consume is broken down by a single liver enzyme, CYP1A2, according to a review of caffeine metabolism by Nehlig[1], which is also covered in our article on how long caffeine lasts. A review of clinically significant interactions by Carrillo and Benitez, in Clinical Pharmacokinetics[2], explains that CYP1A2 also handles a number of important medicines, and that drugs which inhibit this enzyme can sharply slow caffeine's breakdown. The review lists potent CYP1A2 inhibitors including certain antidepressants, particularly fluvoxamine, the antiarrhythmic mexiletine, the antipsychotic clozapine, bronchodilators such as theophylline and furafylline, and quinolone antibiotics such as enoxacin.
The same review notes that although people develop tolerance to caffeine, that tolerance can be overwhelmed when caffeine accumulates because its metabolism is blocked. The toxic effects of caffeine are extensions of its normal effects: a racing heart, jitteriness and insomnia at the milder end, and more serious problems such as arrhythmias at the extreme. The authors recommended that dietary caffeine be considered when planning or assessing drug treatment, unless an interaction has been specifically ruled out.
Antibiotics: quinolones are the main concern
Most antibiotics are not known to interact meaningfully with caffeine. The group with good evidence of an interaction is the quinolones, sometimes called fluoroquinolones, which include ciprofloxacin, a widely prescribed antibiotic for urinary and other infections.
Healy and colleagues, in Antimicrobial Agents and Chemotherapy[3], gave ten healthy men 100 mg of caffeine before and during a course of ciprofloxacin at 750 mg every 12 hours. Ciprofloxacin significantly increased caffeine's half-life, from 5.2 to 8.2 hours on average, increased total caffeine exposure from 16.3 to 25.9 microgram-hours per millilitre, and nearly halved caffeine's clearance from the body. The authors said the clinical significance remained to be determined, and also noted a small increase in ciprofloxacin exposure when taken with caffeine.
The quinolones are not all the same. Stille and colleagues[4] studied caffeine in 12 healthy men before and during treatment with three quinolones in a crossover design. Ofloxacin did not noticeably change caffeine's handling. Ciprofloxacin at a lower dose of 250 mg twice daily prolonged caffeine's half-life by 15% and reduced its clearance by 33%. Enoxacin produced striking changes: caffeine's half-life was prolonged by as much as 260%, its peak level rose by 41%, and its clearance fell by 78%.
Laboratory work by Fuhr and colleagues[5] ranked quinolones by how strongly they inhibited the CYP1A2 enzyme in human liver tissue. Enoxacin reduced enzyme activity by 74.9%, ciprofloxacin by 70.4%, and norfloxacin by 55.7%, while others such as ofloxacin, at 11.8%, and fleroxacin, with no effect, were much weaker. That pattern matches the human studies: some quinolones strongly slow caffeine clearance, others barely at all.
In practice, this means that someone taking ciprofloxacin or a similar strong-inhibiting quinolone who drinks several coffees a day may find caffeine building up, with symptoms such as jitteriness, a fast heartbeat or trouble sleeping. It is a reason to cut back on caffeine during the course, not a reason to stop the antibiotic. For antibiotics outside this group, such as the penicillins commonly prescribed for many infections, we did not find evidence of a meaningful caffeine interaction.
The same enzyme matters for theophylline, an older medicine for asthma and chronic lung disease that is chemically related to caffeine. The laboratory ranking by Fuhr and colleagues[5] was built partly from published changes in theophylline's half-life when quinolones were added, because quinolones prolong theophylline's elimination in the same way they prolong caffeine's. Anyone taking theophylline together with a quinolone antibiotic is a case where both the medicine and their coffee may be cleared more slowly at once, which is exactly the kind of combination a pharmacist should check.
Signs that caffeine may be building up
Because the problem with enzyme-inhibiting medicines is accumulation, it helps to know what too much caffeine feels like. The review by Carrillo and Benitez[2] describes caffeine's toxic effects as extensions of its usual effects, ranging from a moderately faster heart rate to more severe heart rhythm problems, and in the most serious cases seizures and delirium. In everyday terms, a usual coffee habit suddenly causing jitteriness, a pounding or racing heart, anxiety or unusual insomnia after starting a new medicine is a reason to cut back and to mention it to your doctor or pharmacist.
Fluvoxamine: the most dramatic interaction
The antidepressant fluvoxamine, used for depression and obsessive-compulsive disorder, produces one of the most extreme caffeine interactions documented. Culm-Merdek and colleagues[6] gave seven healthy volunteers single 250 mg doses of caffeine or placebo together with fluvoxamine or placebo in a double-blind, four-way crossover study.
Fluvoxamine reduced caffeine's clearance from 105 to 9.1 millilitres per minute, and prolonged its half-life from 4.9 hours to 56 hours. That means caffeine that would normally be half gone in five hours took more than two days to fall by half. Interestingly, a single dose of caffeine did not produce stronger effects on performance, alertness or brain activity with fluvoxamine. But the authors warned that the study did not rule out adverse effects from extensive caffeine accumulation with daily coffee drinking, which is exactly the situation most people taking fluvoxamine would be in.
Not every antidepressant does this; the interaction is specific to drugs that strongly inhibit CYP1A2. Anyone starting a new antidepressant should ask their prescriber or pharmacist whether it affects caffeine.
Clozapine: a reported interaction that may matter less than feared
Clozapine, an antipsychotic, is also processed by CYP1A2, and there have been reports that coffee raises clozapine levels. A large analysis by Flanagan and colleagues, in the Journal of Clinical Psychopharmacology[7], looked at drug monitoring samples from more than 8,800 men and more than 3,400 women on clozapine between 1993 and 2017.
Once smoking was taken into account, there was no discernible effect of reported coffee or chocolate intake on clozapine dose or blood levels in men or women. Smoking was associated with higher coffee consumption, which had confused earlier observations. Male non-smokers drinking three or more cups a day did have higher clozapine levels, but they were also prescribed higher doses. The authors concluded that caffeine inhibiting clozapine metabolism at usual intakes is unlikely. People taking clozapine should still keep their coffee intake consistent and tell their team about big changes, because smoking changes, not coffee, can alter clozapine levels significantly.
Lithium: when cutting coffee changes the dose
Some interactions show up when coffee is stopped rather than started. Jefferson[8] described two patients whose lithium-related tremor worsened after they eliminated caffeine from their diets. The proposed explanation was that removing caffeine reduced the kidneys' clearance of lithium, raising lithium levels in the blood. This is a report of two cases, not a controlled study, but it illustrates why people on medicines with a narrow safe range should tell their doctor before making a big change in coffee intake in either direction.
When coffee blocks a medicine's absorption
The second type of interaction happens in the gut, when coffee interferes with a medicine being absorbed. Levothyroxine, the thyroid hormone replacement taken by many people with an underactive thyroid, is a clear example. Benvenga and colleagues, in Thyroid[9], reported eight women whose thyroid levels were poorly controlled when they took levothyroxine with coffee or espresso, and tested absorption in six of them and in nine volunteers.
Compared with taking the tablets with water, taking them with coffee lowered the average rise in blood thyroid hormone by 36% in patients and 29% in volunteers, lowered the total amount absorbed by 36% and 27%, and delayed the peak. When coffee was taken 60 minutes after the tablets with water, absorption was similar to water alone. The authors concluded that coffee should be added to the list of substances that interfere with levothyroxine absorption.
Alendronate, a medicine for osteoporosis, is another. In studies of its oral bioavailability, Gertz and colleagues[10] found that black coffee or orange juice taken with alendronate reduced its bioavailability by about 60%, and that taking it with or up to two hours after breakfast impaired absorption by more than 85%. The recommendation that came out of that research was to take alendronate with plain water after an overnight fast, at least 30 minutes before any other food or drink.
Coffee also reduces the absorption of iron, including iron salts similar to those in supplements. The experiment by Morck, Lynch and Cook[11] found coffee inhibited iron absorption even in tests with no food at all, which is covered in our article on coffee and iron absorption.
Painkillers and cold remedies that already contain caffeine
A less obvious interaction is simple addition. Caffeine is an ingredient in some over-the-counter painkillers, usually alongside paracetamol, aspirin or ibuprofen. A Cochrane review by Derry, Derry and Moore[12] found that most trials of these combinations used 100 to 130 mg of caffeine per dose, and that adding at least 100 mg of caffeine gave a small increase in pain relief. That is a legitimate use, but it means someone taking caffeine-containing tablets several times a day, on top of their usual coffee, may be consuming far more caffeine than they realise.
Checking the ingredients list of headache tablets, cold and flu remedies and some weight-loss or alertness products, and counting that caffeine toward your daily total, is a simple way to avoid accidentally stacking it. This matters most for anyone also taking one of the enzyme-inhibiting medicines above, where that extra caffeine would also be cleared more slowly.
A practical timing guide
Pulling the absorption studies together gives a few simple timing habits. For levothyroxine, the study by Benvenga and colleagues[9] found that taking the tablet with water and having coffee 60 minutes later gave absorption similar to water alone. For alendronate, the recommendation that came out of the bioavailability studies[10] was plain water after an overnight fast, with at least 30 minutes before any other food or drink, including coffee. For iron supplements, keeping coffee away from the dose avoids the inhibition seen with coffee in absorption tests. These are general patterns; the specific instructions on your prescription always come first.
Hormonal contraceptives slow caffeine too
Oral contraceptives are a common medicine that affects caffeine. Patwardhan and colleagues[13] found that caffeine's half-life was 10.7 hours in women taking oral contraceptives compared with 6.2 hours in women not taking them. This is not dangerous at normal intakes, but it explains why some women notice coffee affecting their sleep more after starting the pill.
The limits of this evidence
Most interaction studies are small pharmacokinetic studies in healthy volunteers, often using single doses, and they measure drug levels rather than real-world harm. Many interactions are documented in case reports rather than trials. The clozapine analysis is large but observational and relies on reported coffee intake. This article covers selected well-studied examples and is not a complete list of every medicine that may interact with caffeine.
What to do in practice
For most people taking most medicines, coffee is fine. The interactions worth knowing about are specific: strong CYP1A2 inhibitors such as ciprofloxacin, enoxacin and fluvoxamine can make caffeine build up, so cutting back during treatment is sensible; levothyroxine and alendronate should be taken with water and separated from coffee; iron supplements absorb better away from coffee; and people on lithium or clozapine should keep coffee intake steady and discuss big changes.
The simplest safe habit is to ask your pharmacist whether a new medicine interacts with caffeine, and to read the instructions about taking it with food or drink. Nothing in this article replaces the advice of your doctor or pharmacist, and you should never stop or change a medicine because of a coffee interaction without talking to them first. For caffeine limits in general, see our article on how much caffeine is safe.