Yes, several antibiotics can raise or lower your potassium levels, sometimes significantly. The most well-documented example is trimethoprim-sulfamethoxazole (commonly sold as Bactrim or Septra), which can push potassium dangerously high, especially in people already taking blood pressure medications. Other antibiotics can pull potassium too low. The direction and severity depend on the specific drug, your kidney function, and what other medications you take.
How Trimethoprim Raises Potassium
Trimethoprim, the active component in one of the most commonly prescribed antibiotics worldwide, blocks sodium channels in the kidneys in a way that is structurally identical to the potassium-sparing diuretic amiloride. Normally, your kidneys filter excess potassium out of your blood and into your urine. Trimethoprim interferes with this process by competitively blocking the channels that allow sodium to be reabsorbed, which in turn reduces the electrical gradient your kidneys need to push potassium out. The result is that potassium builds up in your bloodstream.
For most young, healthy people taking a standard course, this effect is mild. But for certain groups, it can be serious. A large population-based study published in JAMA Internal Medicine found that older patients taking ACE inhibitors or ARBs (common blood pressure and heart failure medications) had a nearly 7-fold increased risk of being hospitalized for dangerously high potassium when prescribed trimethoprim-sulfamethoxazole, compared to those given amoxicillin instead. That’s a striking difference for two routine antibiotics.
People at highest risk include those over 70, anyone with diabetes or heart failure, those with reduced kidney function, and anyone already taking medications that raise potassium. These include ACE inhibitors, ARBs, potassium-sparing diuretics, and potassium supplements. Clinical guidelines recommend potassium monitoring for anyone in these categories who starts a course of trimethoprim-sulfamethoxazole.
Antibiotics That Lower Potassium
The flip side is also real. Amphotericin B, a powerful antifungal antibiotic used for serious infections, damages the tubes inside the kidneys that are responsible for reabsorbing electrolytes. This causes potassium to leak out into the urine at abnormally high rates. In one study of hospitalized patients receiving a newer lipid-based formulation of amphotericin B, 53.8% developed severe low potassium, with blood levels dropping below 3.0 mEq/L (normal is roughly 3.5 to 5.0). That’s a majority of patients experiencing a clinically significant drop.
Aminoglycoside antibiotics like gentamicin have also been associated with electrolyte wasting, though the picture is more nuanced. These drugs primarily cause magnesium and calcium loss through the kidneys. Low magnesium, in turn, makes it harder for your body to hold onto potassium, so the two problems can compound each other. Research in healthy volunteers showed that gentamicin’s direct effect on potassium excretion is actually minimal, but in sicker patients receiving longer courses, the downstream magnesium depletion can indirectly drive potassium levels down.
Potassium Hidden in the Drug Itself
Here’s something most people don’t consider: some antibiotics physically contain potassium as part of their formulation. Penicillin G potassium, given intravenously for serious infections, delivers 65.6 milligrams of potassium per million units. Patients receiving high intravenous doses can accumulate a meaningful potassium load from the drug alone, independent of any effect on the kidneys. The prescribing label explicitly warns that large IV doses can cause “serious and even fatal electrolyte disturbances, i.e., hyperkalemia.” This is primarily a concern in hospital settings where penicillin G is given in multi-million-unit daily doses, not with oral penicillin pills.
Fluoroquinolones and Heart Rhythm
Fluoroquinolones like ciprofloxacin and levofloxacin don’t directly shift potassium levels in the way trimethoprim or amphotericin B do. Their concern is different: they can slightly prolong the heart’s electrical cycle (the QT interval), and if potassium or magnesium happens to already be low when you take them, the risk of a dangerous heart rhythm disturbance increases. This is why electrolyte imbalances show up as a risk factor in case reports of cardiac events with fluoroquinolones. The practical takeaway is that these antibiotics are more dangerous in the presence of an existing potassium problem than they are at creating one.
What Potassium Imbalance Feels Like
The tricky part about potassium shifts is that mild changes often produce no symptoms at all. You can have a mildly elevated or mildly low level and feel perfectly fine, which is why blood tests are the only reliable way to catch it early.
When potassium drops into the moderately low range (roughly 2.5 to 3.0 mEq/L), common symptoms include muscle cramps, general weakness, fatigue, and a vague sense of feeling unwell. One case report described a patient whose main complaints were unusual tiredness, needing more rest breaks than normal, occasional shortness of breath, and loss of appetite with nausea. These symptoms are easy to chalk up to the infection itself rather than the antibiotic treating it.
Severe low potassium (below 2.5 mEq/L) can cause dangerous changes in heart rhythm, including heart block and ventricular fibrillation, along with muscle paralysis. High potassium is equally dangerous at the extreme end, potentially causing cardiac arrest. Both directions carry real risk when levels move far enough from normal.
Who Should Pay Attention
If you’re young, have healthy kidneys, and aren’t taking other medications, a standard course of most antibiotics is unlikely to cause a meaningful potassium problem. The risk concentrates in specific combinations of factors: older age, kidney impairment, diabetes, heart failure, and concurrent use of drugs that already push potassium in one direction.
The highest-risk scenario backed by strong data is the combination of trimethoprim-sulfamethoxazole with an ACE inhibitor or ARB in an older adult. If you fall into this category and are prescribed this antibiotic for a urinary tract infection or other common condition, it’s reasonable to ask whether an alternative antibiotic might be safer, or whether your potassium should be checked during treatment. Many prescribers already account for this, but the interaction is still underrecognized in routine care. A Dutch hospital study found that potassium monitoring was inconsistently performed even in patients with clear risk factors.
For anyone taking a prolonged course of amphotericin B, potassium monitoring is standard practice because the drop is so frequent and so predictable. If you’re on aminoglycosides in a hospital setting, electrolyte panels are typically part of routine monitoring already.

