Most antibiotic resistance only becomes visible when an infection fails to clear. By then, you are already sick, already on the wrong drug, and racing to find one that works. This test takes a different angle: it looks for resistance genes already living quietly in your gut bacteria, before any infection forces the question.
Trimethoprim, almost always paired with sulfamethoxazole as TMP-SMX (trimethoprim-sulfamethoxazole), is a workhorse antibiotic for urinary tract infections, certain skin infections, and some opportunistic infections. If your gut microbes already carry DNA that lets them survive trimethoprim, those genes can spread to the bacteria that cause your next infection, or you may already be silently carrying a resistant strain.
This is not a test of your own cells or hormones. It is a stool-based DNA test that scans the genetic material of bacteria in your gut for known trimethoprim resistance genes. A positive result means at least one bacterial population in your gut carries DNA that disables or evades the drug.
The genes the test looks for typically work by changing the bacterial enzyme trimethoprim is supposed to block (called dihydrofolate reductase), or by carrying a backup version of that enzyme on a piece of mobile DNA that can jump between bacteria. Sulfonamide resistance genes (called sul1, sul2, and sul3) often travel alongside trimethoprim resistance genes on the same mobile DNA elements, which is why TMP-SMX resistance often clusters with other resistance traits.
This is a research-grade marker. There are no universally agreed clinical cutoffs for what constitutes a worrying gut resistome. The signal is real, but the framework for acting on it in healthy individuals is still being built.
TMP-SMX has been a first-line oral treatment for uncomplicated urinary tract infections for decades. Resistance has eroded that role in many regions. Your gut bacteria, especially E. coli, are the main source of the bacteria that cause UTIs.
Among adolescent and adult women in the United States, about a quarter of urinary E. coli samples were not susceptible to TMP-SMX between 2011 and 2019 (25.4%). Earlier US data showed an increase from 17.2% to 22.2% between 2003 and 2012. In some regions the picture is much worse: in one Ethiopian hospital, 78.3% of Gram-negative urinary bacteria and 83.5% of Gram-positive urinary bacteria were resistant to TMP-SMX. In a Kenyan study, 64% of urinary bacteria were resistant to trimethoprim.
Knowing your own gut carries trimethoprim resistance genes does not diagnose a UTI, but it raises the chance that if you do get one, TMP-SMX will not be the right empirical drug. That information can shape how you and a clinician approach a future infection rather than waiting for a culture to come back days later.
TMP-SMX is also used for prostate infections, certain skin infections caused by Staphylococcus aureus, and several opportunistic infections including Pneumocystis pneumonia and nocardiosis. Genome studies of S. aureus have linked specific trimethoprim resistance mutations (a change called F99Y in a gene called dfrB) more strongly with bloodstream infection than with simple nasal carriage, suggesting these resistance traits are not purely passive.
In contrast, Nocardia (a soil bacterium that can cause serious lung and skin infections in people with weakened immune systems) remains highly susceptible to TMP-SMX in modern surveys, with 97.7% to 99.1% of strains susceptible. Stenotrophomonas maltophilia, an opportunistic pathogen mainly seen in hospitals, is also still largely treated with TMP-SMX globally, although resistance is rising in some regions.
The single strongest driver is direct antibiotic exposure. In children with acute lymphoblastic leukemia who took TMP-SMX prophylactically, gut microbiota carried roughly six times more trimethoprim-sulfamethoxazole resistance genes by the end of induction chemotherapy (about a 5.9-fold rise). In pediatric stem cell transplant patients, broad antibiotic exposures lowered microbiome diversity and reshaped the resistome, with anaerobic-active antibiotics particularly likely to expand resistance gene populations.
Resistance is also strikingly persistent. After a Swedish county dramatically cut trimethoprim prescribing for two years, trimethoprim resistance rates barely budged. Once these genes establish themselves on mobile DNA in the gut, removing the antibiotic pressure does not quickly clear them out.
Selection by other antibiotics matters too. A large UK analysis found that amoxicillin and ampicillin use was independently associated with higher trimethoprim resistance, because the resistance genes often travel together on the same mobile DNA. Replacing trimethoprim with nitrofurantoin, on the other hand, was linked to lower resistance levels.
There are no standardized clinical reference tiers for trimethoprim resistance gene detection in stool. The research uses presence or absence of specific genes, or relative abundance compared with bacterial load, rather than universal numerical cutoffs. The orientation below is drawn from population-level resistance data in clinical isolates, not from individual stool resistome testing.
These ranges describe how clinical microbiology labs report resistance in bacteria isolated from urine cultures in different populations. They are not direct cutoffs for stool resistance gene detection. Your lab will likely report your own result as detected or not detected, possibly with a relative abundance estimate.
| Population context | Approximate TMP-SMX resistance in urinary bacteria | What it suggests |
|---|---|---|
| US women, urinary E. coli, 2011 to 2019 | About 25 out of 100 strains resistant | Empirical TMP-SMX is borderline; resistance gene carriage worth knowing |
| US women, urinary Klebsiella, 2019 | About 10 out of 100 strains resistant | TMP-SMX still often works, but rising |
| High-prevalence regions (parts of Africa and Asia) | 60 to 80 out of 100 strains resistant | Empirical TMP-SMX usually inappropriate; alternative drugs preferred |
Source: Kaye et al. 2021, 2024; Sanchez et al. 2016; Kasew et al. 2022; Kiiru et al. 2023.
Compare your own results within the same lab over time. Different DNA detection methods have different sensitivities, and switching labs can change whether a low-abundance gene is flagged as present or absent.
A single result tells you what your gut resistome looks like at one point in time. The more useful information comes from a sequence of measurements: a baseline now, a follow-up after any antibiotic course, and at least annually if you are actively trying to manage your gut microbiome health. People with frequent UTIs, recent hospital stays, immunocompromise, or recurrent antibiotic use have the most to gain from serial tracking.
Trending matters here for two reasons. First, gut resistance genes can persist for years even after the triggering antibiotic stops, so a single negative result several months after an antibiotic course is more reassuring than a single result at any random time. Second, repeated testing can show whether changes you make (avoiding unnecessary antibiotic courses, treating UTIs with alternative agents, recovering microbiome diversity) are translating into a quieter resistome.
A positive trimethoprim resistance result is not a diagnosis. It means at least one population of bacteria in your gut carries the genetic equipment to resist trimethoprim. Most of the time this is harmless on its own. Where it becomes useful is in three specific situations: when you develop a urinary tract infection, when you face surgery or a procedure that may expose you to TMP-SMX prophylaxis, and when you are deciding which empirical antibiotic to push for after a clinician offers options.
If your result is positive and you have recurrent UTIs, ask any prescribing clinician to send a urine culture with susceptibility testing before starting TMP-SMX. Pair the resistance result with a broader gut microbiome panel if you want to see the wider context. If your gut also harbors other resistance markers (such as ciprofloxacin or beta-lactam resistance genes), that pattern is worth investigating with a clinician who can review your antibiotic history and consider whether targeted stool culture or specialist input is appropriate. People with immunocompromise, frequent infections, or upcoming transplant or surgery should share these results with their infectious disease team.
Several factors can shift this measurement without changing your true infection risk:
Your gut resistome is not a verdict. It is a snapshot of microbial ecology that interacts with how often you take antibiotics, how diverse your microbiome is, and how you handle the next infection that comes your way. Many people carry some resistance genes in their gut without ever experiencing a clinical consequence. The point of testing is to know what you are working with, so that when an infection does happen, the first antibiotic you reach for has the best chance of being the right one.
Evidence-backed interventions that affect your Trimethoprim Resistance level
Trimethoprim Resistance is best interpreted alongside these tests.