Do Antibiotics Lower Your Immune System?

Antibiotics can weaken several aspects of immune function, both by acting directly on immune cells and by disrupting the gut bacteria that help train and regulate the immune system. The effects vary by antibiotic type, dose, and duration, but the research is clear that these drugs do more than just kill the bacteria making you sick. The tradeoff is almost always worth it when you have a serious infection, but understanding the immune costs helps explain why unnecessary antibiotic use carries real risks beyond the well-publicized problem of resistance.

How Antibiotics Directly Impair Immune Cells

One of the less appreciated facts about antibiotics is that some of them don’t just target bacteria. They also interfere with the energy-producing machinery inside your own cells. Human mitochondria, the structures that power your cells, share an evolutionary ancestry with bacteria. That resemblance means certain antibiotics can inadvertently affect mitochondrial function in immune cells.

Research on the antibiotic linezolid showed that it inhibits a process called mitochondrial translation in T cells, a type of immune cell critical for fighting infections and coordinating immune responses. By disrupting the energy supply chain inside these cells, linezolid progressively compromised their ability to produce cytokines, the signaling molecules that orchestrate immune defenses.1Immunity. Mitochondrial translation is required for T cell stalk function and pathogenicity This isn’t a minor side note. T cells that can’t produce cytokines are essentially muted versions of themselves, unable to call for backup or direct other immune cells.

Ciprofloxacin, one of the most commonly prescribed fluoroquinolone antibiotics, has been shown to impair macrophages in a dose-dependent way. Macrophages are the immune cells that engulf and kill bacteria, and when mouse macrophages were pretreated with ciprofloxacin, they swallowed fewer bacteria and killed fewer of the ones they did engulf.2Cell Host & Microbe. Antibiotic-Induced Changes to the Host Metabolic Environment Inhibit Drug Efficacy and Alter Immune Function The mechanism is the same: the antibiotic hobbles mitochondrial respiration in the macrophage, reducing the energy burst these cells need to do their job. A broader review of the evidence confirms that antibiotics can impair multiple immune-cell functions, including the ability to migrate toward infections, engulf pathogens, present fragments of those pathogens to other immune cells, and proliferate in response to a threat.3PubMed Central. Antibiotic-Induced Immunosuppression-A Focus on Cellular Immunity

The Gut Microbiome and Your Immune System

Your gut houses trillions of bacteria that do far more than help you digest food. These microbes actively shape immune development, calibrate the balance between inflammatory and anti-inflammatory responses, and produce metabolites that immune cells depend on for fuel and signaling. When antibiotics wipe out large portions of this community, the downstream effects on immunity can be substantial and surprisingly long-lasting.

One of the key metabolites produced by gut bacteria is a group of compounds called short-chain fatty acids. These molecules serve as an energy source for the cells lining the gut, but they also act as signals that help keep the immune system balanced, encouraging the production of regulatory immune cells that prevent overreaction. In mouse studies, antibiotic treatment significantly suppressed the production of these fatty acids while simultaneously reducing the number of regulatory immune cells in the gut.4PubMed Central. Antibiotics-Induced Dysbiosis of Intestinal Microbiota Aggravates Atopic Dermatitis in Mice by Altered Short-Chain Fatty Acids The result was a shift toward a more inflammatory, less controlled immune environment.

Research in hospitalized patients echoes these findings. Antibiotic therapy was associated with depletion of the gut bacteria responsible for producing short-chain fatty acids, and when researchers transplanted the resulting disrupted microbiota into mice, those animals had impaired lung defenses against a dangerous drug-resistant bacterium. The problem traced back to monocytes, a class of immune cells in the lungs, whose bacteria-killing capacity depends on receptors that respond to those missing fatty acids.5Nature Communications. Clinically used broad-spectrum antibiotics compromise inflammatory monocyte-dependent antibacterial defense in the lung So the disruption isn’t confined to the gut. Losing the right gut bacteria can weaken immune defenses in distant organs.

Gut Barrier Damage

Beyond changing the composition of gut bacteria, antibiotics can physically damage the barrier that separates your gut contents from the rest of your body. This barrier is normally maintained by tight junctions between cells lining the intestine. When antibiotics disrupt the microbiome, these junctions loosen. In mice treated with antibiotics, researchers found decreased levels of tight junction proteins, disrupted barrier structure, and increased permeability, meaning that molecules and bacteria that should stay inside the gut started leaking through.6PLoS ONE. Antibiotics induced intestinal tight junction barrier dysfunction is associated with microbiota dysbiosis, activated NLRP3 inflammasome and autophagy

What makes this especially concerning is how long the damage persists. Rats given ceftriaxone, a common broad-spectrum antibiotic, still showed roughly double the gut permeability of untreated animals eight weeks after the antibiotic was stopped. Bacteria were leaking from the gut into the portal vein at rates about 60% higher than normal.7PLoS ONE. The long-term consequences of antibiotic therapy: Role of colonic short-chain fatty acids (SCFA) system and intestinal barrier integrity A leaky gut forces the immune system into a state of chronic low-grade activation as it deals with bacterial components that shouldn’t be in the bloodstream. Over time, this can shift the immune system’s baseline in unhelpful ways.

Why Antibiotics Make You Vulnerable to New Infections

One of the most direct consequences of antibiotic-induced immune disruption is increased vulnerability to secondary infections. The normal gut microbiome provides what researchers call colonization resistance: the resident bacteria take up space, compete for nutrients, and produce substances that make it hard for pathogens to gain a foothold. Antibiotics can strip away that defense.8PubMed Central. The intestinal microbiota: Antibiotics, colonization resistance, and enteric pathogens

The most striking example is invasive fungal infection. When broad-spectrum antibiotics wipe out gut bacteria, fungi like Candida, which normally exist in small numbers, can overgrow dramatically. But the problem goes beyond simple overgrowth. Research published in Cell Host & Microbe showed that long-term antibiotic exposure impaired the specific immune responses needed to control fungal infections in the gut. The antibiotics reduced the production of two critical signaling molecules that lymphocytes use to fight fungi. Without those signals, mice couldn’t contain the Candida in their intestines, and bacteria from the gut escaped into the bloodstream, creating a dual infection that significantly increased mortality.9PubMed Central. Long-term Antibiotic Exposure Promotes Mortality After Systemic Fungal Infection by Driving Lymphocyte Dysfunction and Systemic Escape of Commensal Bacteria This wasn’t just a matter of more fungi growing because bacteria were gone. The immune system itself was actively impaired in its ability to respond.

Antibiotics and Vaccine Responses

If antibiotics dampen immune function, you’d expect that to show up in how well the body responds to vaccines. It does. A study of children under two found that those who received antibiotics had lower levels of vaccine-induced antibodies to several routine childhood immunizations. The relationship was dose-dependent: for each additional course of antibiotics a child received, antibody levels dropped further. Specifically, each additional course was associated with roughly a 6% reduction in pre-booster antibodies for diphtheria-tetanus-pertussis antigens, about 7% for Hib, about 11% for polio vaccine, and about 10% for pneumococcal vaccine. After booster doses, the reductions were even steeper, ranging from about 12% to 21%.10PubMed Central. Antibiotic Use and Vaccine Antibody Levels

Adults aren’t exempt. A study published in Cell gave healthy adults a course of broad-spectrum antibiotics before flu vaccination and found impaired antibody responses against one of the influenza strains. Specifically, the antibiotic-treated group showed reduced neutralizing antibody levels at 90 and 180 days post-vaccination and lower levels of strain-specific antibodies.11Cell. Reduction of Gut Microbiota Confers Susceptibility to Attenuation of Human Vaccine Responses The researchers concluded that disrupting the gut microbiome can impair the body’s ability to generate lasting protection from vaccines, particularly when the person doesn’t already have strong pre-existing immunity to the targeted pathogen.

This has practical implications. If you’re scheduled for a vaccination and are also taking antibiotics, the vaccine may still work, but the response could be weaker. There’s no standard guidance yet telling people to delay vaccines because of antibiotic use, but the evidence suggests that the timing matters more than most people realize.

Long-Term Immune Effects in Children

The immune consequences of antibiotics appear most pronounced when exposure happens during early life, when the immune system is still being calibrated by interactions with gut microbes. A study following over 4,000 children found that antibiotic use during the first two years of life was associated with higher odds of asthma by age seven and a half, with the risk rising steeply as the number of courses increased. Children who received four or more courses had nearly three times the odds of developing asthma compared to those who received none.12PubMed Central. Antibiotic exposure in the first two years of life and development of asthma and other allergic diseases by 7.5 yr: a dose-dependent relationship Higher antibiotic use was also associated with increased odds of eczema and hay fever.

Even earlier exposure raises even sharper concerns. Research on neonatal antibiotic use found that systemic antibiotics given during the newborn period were associated with roughly a threefold increase in the risk of food allergies by age six.13PubMed Central. The impact of neonatal antibiotic exposure on the development of childhood food allergies The proposed mechanism involves disruption of the gut microbiome at a critical window when beneficial bacteria are establishing the regulatory immune pathways that teach the body to tolerate harmless substances like food proteins. Without that early microbial education, the immune system is more likely to overreact.

These findings align with the broader “hygiene hypothesis” framing that reduced microbial exposure during childhood may partly explain rising rates of allergic and autoimmune conditions in industrialized countries.14Oxford Academic. Ecological and Evolutionary responses to Antibiotic Treatment in the Human Gut Microbiota Antibiotics may be one of the most potent forms of that reduced exposure, given how thoroughly they can reshape the microbial communities a developing immune system depends on.

How Long the Effects Last

One of the more unsettling findings in this area is that antibiotic-induced immune disruption doesn’t necessarily resolve when you stop taking the drug. Mouse studies show that even after the microbiome partially recovers, the immune system can remain dysfunctional. When antibiotic-treated mice were re-exposed to normal microbiota, instead of simply bouncing back, they developed a long-term increase in inflammatory T cell responses in the colon and sustained susceptibility to infections.15PubMed Central. Antibiotics induce sustained dysregulation of intestinal T cell immunity by perturbing macrophage homeostasis The problem wasn’t just that the right bacteria were missing. The immune cells themselves had been reprogrammed by the period of disruption, and they didn’t reset when the bacteria came back.

As noted in the gut barrier section, physical changes to the intestinal lining can persist for weeks after antibiotic cessation.7PLoS ONE. The long-term consequences of antibiotic therapy: Role of colonic short-chain fatty acids (SCFA) system and intestinal barrier integrity The gut microbiome itself can take months to return to something resembling its original state, and in some cases certain species never fully recover. Each additional course of antibiotics appears to compound the problem, which is part of why the vaccine-response data shows a cumulative, dose-dependent effect.

Not All Antibiotics Act the Same Way

It would be misleading to paint all antibiotics with the same brush. Different classes have different effects on the immune system, and some can even have anti-inflammatory or immune-modulating properties that complicate the picture.

Macrolide antibiotics like azithromycin are a notable case. While they kill bacteria, they also have well-documented immunomodulatory effects: they can dampen excessive inflammation, improve mucus clearance, and interfere with bacterial biofilm formation.16Current Issues in Pharmacy and Medical Sciences. Immunomodulatory and anti-inflammatory properties of macrolides This dual action is why macrolides are sometimes prescribed long-term at low doses for chronic inflammatory lung conditions, not to kill bacteria, but to calm the immune response. In these contexts, the immune-dampening effect is the therapeutic goal.

An interesting population-level observation adds another layer of nuance. A large cohort study found that patients who had taken certain antibiotics, including doxycycline, azithromycin, and several fluoroquinolones, actually had a significantly lower risk of developing chronic fatigue syndrome compared to matched controls.17PubMed Central. Increased risk of chronic fatigue syndrome following infection: a 17-year population-based cohort study The reasons aren’t fully understood. It may be that the antibiotics successfully cleared infections that would otherwise have triggered post-infectious fatigue, or the anti-inflammatory properties of some of these drugs may have played a protective role. Either way, the finding is a reminder that immune suppression and immune harm are not always the same thing. Sometimes a less activated immune system is actually what a patient needs.

The Endotoxin Paradox

Here’s an irony that intensivists and emergency physicians deal with regularly: the very act of killing bacteria with antibiotics can temporarily make immune activation worse before it gets better. When certain antibiotics break apart gram-negative bacteria, the dying bacteria release endotoxin, a component of their cell walls that is a powerful trigger for the immune system. Studies have documented a three- to twenty-fold increase in circulating endotoxin following antibiotic treatment of gram-negative infections.18PubMed. Antibiotic-induced release of endotoxin: a reappraisal

In patients with severe sepsis, this flood of endotoxin can trigger a rapid worsening of symptoms even though the antibiotics are working as intended.19PubMed. Clinical implications of antibiotic-induced endotoxin release in septic shock The immune system responds to the released toxin with a massive inflammatory surge. This isn’t immune suppression; it’s the opposite, a dangerous overactivation that can damage the patient’s own tissues. It illustrates that the relationship between antibiotics and immunity is not a simple dimmer switch turned down. Different effects play out on different timescales, sometimes in opposing directions in the same patient.

Autoimmunity and the Unpredictable Middle Ground

Given that antibiotics reshape the gut microbiome, and the gut microbiome helps regulate whether the immune system attacks the body’s own tissues, you might expect antibiotics to influence autoimmune conditions. The evidence supports this, but not in a simple direction. A systematic review of preclinical studies found that antibiotic therapy improved some autoimmune diseases in animal models while worsening others. Of the eligible studies, the majority showed improvement after antibiotics, often linked to increases in anti-inflammatory immune cells and signaling molecules. But a substantial minority showed the opposite: worsened autoimmune disease, driven by shifts in which bacterial groups dominated the gut after treatment.20PubMed Central. Antibiotic-induced gut dysbiosis and autoimmune disease: A systematic review of preclinical studies

The takeaway is that antibiotics don’t simply suppress or activate the immune system. They reorganize it, and where that reorganization leads depends on the specific antibiotic regimen, the individual’s existing microbiome, and the particular immune pathways involved. For a person with an overactive immune system attacking their own joints, disrupting the microbiome might accidentally push things in a helpful direction. For someone else, the same disruption might remove the bacterial populations that were keeping an autoimmune tendency in check.

Why Individual Responses Vary So Widely

If you’ve ever noticed that one person bounces back quickly after a course of antibiotics while another seems to pick up every cold for months afterward, there are real biological reasons for that variation. Your starting microbiome composition matters enormously: two people taking the same antibiotic will lose different bacterial species depending on what was living in their gut beforehand. Diet, age, prior antibiotic history, and even geography influence which species you harbor.

Genetics also play a role in how your body responds to antibiotics, though the field is still in its early stages. A review of the research on genetic variations and antibiotic-related adverse events found that while defined associations between specific gene variants and specific side effects do exist, very few have been strong enough to warrant screening patients before prescribing.21PubMed Central. Genetic Variations and Antibiotic-Related Adverse Events In most cases, multiple genetic variations contribute to a given adverse effect, making it hard to predict who will have problems based on a single gene test. The science here is real but not yet clinically actionable for most patients.

What is actionable is the dose-response pattern visible across multiple studies. Shorter courses and narrower-spectrum antibiotics tend to cause less immune disruption than prolonged broad-spectrum regimens. The cumulative effect also matters: each additional course appears to compound the microbiome damage and the downstream immune consequences, as the vaccine-response data in children illustrates. When your doctor offers a choice between a narrow-spectrum antibiotic targeted to your specific infection and a broad-spectrum option that covers everything, the narrow choice generally carries less collateral immune damage. And when antibiotics aren’t clearly needed, as with many viral upper respiratory infections, the immune costs are one more reason to skip them.