Can You Drink Coffee While Taking Antibiotics?

Coffee is the morning beverage, required by many to even consider getting out of bed. However, can your coffee interact with your antibiotic prescription?

Although you can drink coffee while taking most antibiotics, there are a few, called quinolone antibiotics, that can interact with it. These antibiotics make it so your body breaks down caffeine at a slower rate, leaving you jittery and with a headache or fast heart rate.

Furthermore, some antibiotics can also interact with the milk or cream you put in your coffee because of its calcium content. So, checking for all possible interactions before starting a new medication is always best.

Key Takeaways:

  • It is safe to drink coffee with most antibiotics, just not quinolones.
  • Quinolone antibiotics share a breakdown pathway with caffeine, making it so the body takes longer to break down caffeine.
  • Drinking coffee while taking a quinolone antibiotic can leave you jittery and with a higher heart rate.
  • The dairy products you add to your coffee may also make some antibiotics less effective.

Table of Contents

Can You Drink Coffee While Taking Antibiotics?

In general, it is okay to drink coffee while taking antibiotics. However, it is not recommended if you are taking quinolone antibiotics because they can affect how your body metabolizes the caffeine in the coffee, keeping it in your system for longer. 

If you’d still like a cup of coffee while taking a quinolone antibiotic, you can always opt for a decaf version. Still, make sure that coffee is not your only beverage—you should still be drinking plenty of water to aid the antibiotic.

Additionally, it’s not just coffee itself to be aware of. Many people put some form of dairy into their coffee, whether milk, half and half, or cream. However, these dairy products contain calcium, which can interact with some antibiotics and make them less effective. If this is the case for your antibiotic, avoiding any calcium at least 6 hours before or 2 hours after you take your antibiotic is generally recommended. Depending on the time of day you need to take your medication, this will influence when you can have your cup of coffee. 

Potential Interactions Between Caffeine and Antibiotics

The possible interaction between antibiotics and coffee revolves around the interaction between your antibiotic and caffeine. 

Caffeine helps to increase alertness, which is why many people crave it in the morning, sometimes needing it to even think about functioning in those early morning hours. However, while you may want the caffeine in the morning, you definitely don’t want it in your system when you’re trying to go to sleep, which is why the breakdown of caffeine is so important. 

Unfortunately, some antibiotics can affect how your body processes caffeine, slowing down its breakdown. This is because these antibiotics share the same breakdown pathway as caffeine, and when the breakdown pathway has to be shared, it takes longer to break down the compounds. 

A longer breakdown time can leave you jittery and unable to sleep, which your body desperately needs when ill so that it can heal and recover. Additionally, caffeine left in your system for too long can cause headaches, another symptom you don’t want to add when you’re already feeling under the weather. 

Yet another interaction between caffeine and antibiotics has to do with their shared side effects. Specifically, an upset stomach is a common side effect of antibiotics, which can manifest as nausea, diarrhea, or vomiting. Drinking a caffeinated beverage, such as coffee, can worsen these symptoms. 

It’s important to remember that it’s not just coffee that contains caffeine––it can be found in some teas, soda, and even chocolate. Because quinolone antibiotics can interact with caffeine, you’ll also want to avoid these foods and beverages if your antibiotic may interact with them. 

Specific Antibiotics and Coffee

Three categories of medications can interact with caffeine: antibiotics, drugs to slow blood clotting (e.g., antiplatelets, anticoagulants), and estrogen-containing medications.

As for antibiotics, those belonging to the quinolone antibiotic class are generally known to interact with caffeine. 

Some quinolone antibiotics that can interact with caffeine include:

  • levofloxacin
  • ciprofloxacin
  • enoxacin
  • grepafloxacin
  • norfloxacin
  • trovafloxacin

However, research has also shown that caffeine can enhance the antibacterial activity of certain antibiotics. This study included cefepime, ticarcillin, azithromycin, gentamicin, and novobiocin, and while all five of these antibiotics showed increases in antibacterial properties, azithromycin and cefepime saw the most significant effects. Even more, these improvements were seen in gram-negative bacteria, which possess an outer membrane that notoriously makes it more challenging to target these bacteria types. The ability of caffeine to improve antibiotic effectiveness against these bacterial strains is significant. 

How to Safely Drink Coffee While Taking Antibiotics?

When it comes to safely drinking coffee while on antibiotics, it is always best to discuss with your doctor if your antibiotic has any known interactions with caffeine. Generally, it is the quinolone antibiotics that possess this possible interaction. 

You do not have to avoid caffeine if you have been prescribed one of these antibiotics. Still, limiting how much of it you consume per day is recommended. An even better option is to opt for decaf coffee instead. 

However, it is not only the caffeine interaction with your antibiotic that you need to be aware of. Some antibiotics should not be taken with calcium because calcium decreases the body’s absorption of the antibiotic, meaning it won’t work as effectively. Antibiotics in this category include tetracycline, levofloxacin, ciprofloxacin, and norfloxacin. Of note, levofloxacin, ciprofloxacin, and norfloxacin are also quinolone antibiotics that interact with caffeine. So, drinking coffee with milk would result in a less effective antibiotic and caffeine lingering in your system for longer. 

If you are taking an antibiotic that interacts with calcium, you do not have to avoid calcium entirely, but make sure you take your antibiotic 2 hours before or 6 hours after you have any calcium.

In Conclusion

When it comes to medications, there’s more to be aware of than their interactions with other drugs. For instance, what you drink may interact with your medicine, as is the case with coffee. 

The caffeine in coffee interacts with some antibiotics, with the antibiotics slowing down how quickly the body breaks down the caffeine, leaving you jittery and with a fast heart rate or headache. 

Generally, quinolone antibiotics interact with caffeine, but it’s always best to check with your doctor before starting any new medication to review all possible interactions. 


  • Woziwodzka, A., Krychowiak-Maśnicka, M., Gołuński, G., Łosiewska, A., Borowik, A., Wyrzykowski, D., & Piosik, J. (2022). New Life of an Old Drug: Caffeine as a Modulator of Antibacterial Activity of Commonly Used Antibiotics. Pharmaceuticals (Basel, Switzerland), 15(7), 872.
  • Olajuyigbe, O. O., Adeoye-Isijola, M. O., Okon, V., Adedayo, O., & Coopoosamy, R. M. (2017). In vitro pharmacological interaction of caffeine and first-line antibiotics is antagonistic against clinically important bacterial pathogens. Acta biochimica Polonica, 64(2), 255–263. 
  • Staib, A. H., Stille, W., Dietlein, G., Shah, P. M., Harder, S., Mieke, S., & Beer, C. (1987). Interaction between quinolones and caffeine. Drugs, 34 Suppl 1, 170–174. 
  • Carbó, M., Segura, J., De la Torre, R., Badenas, J. M., & Camí, J. (1989). Effect of quinolones on caffeine disposition. Clinical pharmacology and therapeutics, 45(3), 234–240.
  • Woziwodzka, A., Krychowiak-Maśnicka, M., Gołuński, G., Felberg, A., Borowik, A., Wyrzykowski, D., & Piosik, J. (2021). Modulatory Effects of Caffeine and Pentoxifylline on Aromatic Antibiotics: A Role for Hetero-Complex Formation. Molecules (Basel, Switzerland), 26(12), 3628. 
  • Walden, D. M., Khotimchenko, M., Hou, H., Chakravarty, K., & Varshney, J. (2021). Effects of Magnesium, Calcium, and Aluminum Chelation on Fluoroquinolone Absorption Rate and Bioavailability: A Computational Study. Pharmaceutics, 13(5), 594. 

Content on the DrHouse website is written by our medical content team and reviewed by qualified MDs, PhDs, NPs, and PharmDs. We follow strict content creation guidelines to ensure accurate medical information. However, this content is for informational purposes only and not a substitute for professional medical advice, diagnosis, or treatment. For more information read our medical disclaimer.

Always consult with your physician or other qualified health providers about medical concerns. Never disregard professional medical advice or delay seeking it based on what you read on this website.

If you are experiencing high fever (>103F/39.4C), shortness of breath, difficulty breathing, chest pain, heart palpitations, abnormal bruising, abnormal bleeding, extreme fatigue, dizziness, new weakness or paralysis, difficulty with speech, confusion, extreme pain in any body part, or inability to remain hydrated or keep down fluids or feel you may have any other life-threatening condition, please go to the emergency department or call 911 immediately.



on your schedule

Skip the unnecessary waiting room,
see a board-certified clinician now.

Start an Online Visit
Available in 50 states. No insurance needed.
Screenshot of DrHouse Mobile App: Virtual Doctor Appointment in Progress

Prescriptions as needed
Renew or get a new Rx.

On-demand virtual visits
See a physician 24/7.

24/7 care support
We are here to help you.

  • 1

    Download the DrHouse app.
    Set up your free account in a minute.

  • 2

    Start a visit with an online doctor. Wait time is less than 15 minutes.

  • 3

    Get an Rx from your preferred pharmacy. Pick up a Rx nearby or get it delivered to you.

Download our app
Image of a doctor wearing a white lab coat, representing the DrHouse telehealth service