What Are the Best Antibiotics for UTIs? UK First-Choice Treatments Explained

What are the best antibiotics for UTIs? - welzo

Written by Dr Muhammad Zeeshan Afzal, independent product reviewer and content creator for Welzo. Reviewed by Dr Sameer Nakedar, MBBS (London), MRCGP, PGCert. Fully rewritten and updated November 2026. Read how we write our content.

The best antibiotics for UTIs in the UK are nitrofurantoin and trimethoprim, which NICE recommends as the first choices for an uncomplicated bladder infection. Nitrofurantoin is usually preferred, because around a quarter of the bacteria that cause UTIs in England are now resistant to trimethoprim. There is no single best antibiotic for everyone, though. The right one depends on your sex, whether you are pregnant, how well your kidneys work, which antibiotics you have had recently and local resistance patterns. This guide explains how prescribers choose, how long a course lasts, what the resistance figures show, and the symptoms that mean you should not wait.

This article is general information about prescription-only medicines. It does not give dosing advice and it is not a substitute for assessment by a GP, pharmacist or NHS 111. Welzo does not prescribe or supply antibiotics.

UTI antibiotics at a glance

Question Short answer
What is the best antibiotic for a UTI? In the UK, nitrofurantoin or trimethoprim are the first choices for a bladder infection
Which is usually preferred? Nitrofurantoin, because trimethoprim resistance is common
How long is the course? 3 days for women who are not pregnant. 7 days for men and pregnant women
How quickly should it work? Symptoms should start to improve within 48 hours
Can I get UTI antibiotics without seeing a GP? Women aged 16 to 64 who are not pregnant or breastfeeding can be assessed and treated by a pharmacist
Can I buy UTI antibiotics over the counter? No. They are supplied only after assessment by a prescriber or pharmacist
Do I always need antibiotics? Not always. A prescriber may suggest waiting 48 hours with a back-up prescription
Do cranberry products or cystitis sachets treat a UTI? The NHS says there is no evidence they ease symptoms or treat an established infection
Who should see a GP urgently? Men, pregnant women, children, people aged 65 and over, and anyone with fever, back pain or blood in their pee

Key statistics

  • E. coli causes about 57% of bacterial UTIs in England.
  • About 26% of tested E. coli urine isolates in England were resistant to trimethoprim in national surveillance covering 2015 to 2019.
  • Nitrofurantoin resistance in E. coli was low over the same period, at under 3%.
  • A study of 193,137 urine samples from 99,635 patients in the East of England found trimethoprim resistance of 27%, nitrofurantoin resistance of 8.8% and cefalexin resistance of 8.3% across the bacteria tested.
  • In the same study, fosfomycin resistance in E. coli was 3.1%.
  • NICE quality standards call for a 3-day course for uncomplicated bladder infections in non-pregnant women and a 7-day course for men and pregnant women.
  • The NHS defines recurrent UTIs as 2 in 6 months or 3 in 12 months.

What is a UTI?

A urinary tract infection is an infection of any part of the urinary system. NICE describes a lower UTI as an infection of the bladder, usually caused by bacteria from the gut entering the urethra and travelling up to the bladder. A lower UTI is also called cystitis. If the infection reaches the kidneys it is an upper UTI, or pyelonephritis, which is more serious and treated differently.

Women get UTIs far more often than men because the urethra is shorter, so bacteria reach the bladder more easily.

Symptoms

  • pain or burning when peeing
  • needing to pee more often or more urgently, including at night
  • cloudy pee or blood in your pee
  • lower tummy pain, or pain in your back just under the ribs
  • a high temperature, feeling hot, cold or shivery, or a very low temperature

In older or frail people, a UTI may show up as new confusion, agitation, worse incontinence or shivering. In children, look for a high temperature, being generally unwell, wetting themselves or being sick. Our guides to UTIs in women and UTIs in children go into more detail.

Terms used in this guide

  • Lower UTI or cystitis: infection of the bladder.
  • Upper UTI or pyelonephritis: infection of the kidneys.
  • Uncomplicated UTI: a bladder infection in an otherwise healthy, non-pregnant woman with a normal urinary tract.
  • Antimicrobial resistance: when bacteria are no longer killed by an antibiotic.
  • Urine culture: a lab test that grows the bacteria and shows which antibiotics work against them.
  • eGFR: a blood test result that estimates how well the kidneys are filtering.
  • Back-up prescription: a prescription to use only if symptoms do not improve.

The antibiotics used for UTIs in the UK

NICE guidance on prescribing for lower UTIs names six antibiotics. Which is chosen depends on the person and the situation.

Antibiotic Place in treatment Key points
Nitrofurantoin First choice Used when kidney function is adequate. Resistance is low
Trimethoprim First choice in some cases Used when the risk of resistance is low and it has not been taken in the past 3 months
Pivmecillinam Second choice Used when first choices have not worked or are unsuitable
Fosfomycin Second choice Resistance in E. coli is low
Amoxicillin Only when the bacteria are known to be sensitive Resistance is common, so it is guided by a urine culture
Cefalexin An alternative in some groups, including pregnancy Chosen by the prescriber where first choices are unsuitable

All are prescription-only. The dose is set by your prescriber and printed on the label.

Nitrofurantoin

Nitrofurantoin concentrates in the urine, which makes it well suited to bladder infections and poorly suited to infections elsewhere in the body. NICE lists it as a first choice provided kidney function is good enough, because it needs working kidneys to reach the bladder in effective amounts. Its main advantage is that resistance remains low.

Trimethoprim

Trimethoprim was for many years the standard UTI antibiotic. NICE still lists it as a first choice, but only where the risk of resistance is low and it has not been used in the previous 3 months. Research published in the journal JAC-Antimicrobial Resistance notes that public health guidance favours nitrofurantoin over trimethoprim as first-line treatment because trimethoprim resistance exceeds 20% in adults. We cover it in depth in is trimethoprim a strong antibiotic?, how quickly trimethoprim takes effect, trimethoprim interactions and trimethoprim compared with other antibiotics.

Second-choice antibiotics

If symptoms have not improved after at least 48 hours on a first-choice antibiotic, or the first choices are unsuitable, NICE recommends moving to a second choice such as pivmecillinam or fosfomycin. A urine culture is often sent at this point so that treatment can be matched to the bacteria.

Why resistance decides which antibiotic is best

The best antibiotic is the one the bacteria are still sensitive to. That is why resistance data, not habit, now drives UK prescribing.

Antibiotic resistance in urinary tract infections, East of England Resistance in UTI samples, East of England (%)Trimethoprim27%Nitrofurantoin8.8%Cefalexin8.3%Fosfomycin (E. coli)3.1%Source: study of 193,137 samples from 99,635 patients, published via PubMed Central (PMC11752643).
Antibiotic Resistance in East of England samples National picture for E. coli
Trimethoprim 27% About 26% resistant
Nitrofurantoin 8.8% Under 3% resistant
Cefalexin 8.3% Not reported here
Fosfomycin 3.1% in E. coli Not reported here

The regional figures cover all the bacteria in the family tested, which is why nitrofurantoin looks higher there than in the national E. coli data. The pattern is consistent: roughly 1 in 4 infections will not respond to trimethoprim, while nitrofurantoin and fosfomycin still work against the great majority. The same study found that 5.5% of samples were resistant to two of the three first-line antibiotics, and 0.6% to all three.

Resistance also explains two things patients often find frustrating: being asked which antibiotics they have had recently, and being told to come back for a urine test if the first course does not work. Both are ways of avoiding an antibiotic the bacteria can already resist. Read more in what antibiotics are and when to use them.

How prescribers choose: the best antibiotic by situation

Who Usual approach under NICE guidance Course length
Woman, not pregnant, with an uncomplicated bladder infection Nitrofurantoin or trimethoprim. A back-up prescription may be offered in place of an immediate one 3 days
Pregnant woman Immediate antibiotic, with a urine sample sent for culture. The choice is reviewed when results are back 7 days
Man Immediate antibiotic, with a urine sample sent for culture 7 days
Child or young person under 16 Urine tested before antibiotics. Managed under separate NICE guidance for under-16s Set by the prescriber
Anyone with signs of kidney infection Treated as an upper UTI, with different antibiotics and often a longer course Set by the prescriber

NICE points out that short 3-day courses are sufficient for uncomplicated bladder infections in non-pregnant women and also reduce the risk of side effects and resistance. Men and pregnant women need longer because the risk of treatment failure and complications is higher. See is 3 days of antibiotics enough for a UTI? and trimethoprim during pregnancy and breastfeeding.

The back-up prescription

For women who are not pregnant, NICE says prescribers can consider a back-up prescription: one you collect but only use if symptoms do not start to improve within 48 hours, or get worse at any time. The NHS describes the same option, saying a GP may suggest waiting 48 hours before starting antibiotics in case symptoms clear up. Some mild bladder infections do settle without antibiotics, and avoiding an unnecessary course protects against resistance.

Where to get UTI treatment

Your situation Where to go
Woman aged 16 to 64, not pregnant or breastfeeding, with typical symptoms A pharmacist, who can provide the same medicines as a GP for a UTI
Man of any age GP or NHS 111
Pregnant GP or NHS 111
Aged 65 or over, or a child aged 15 or under GP or NHS 111
Diabetes, a weakened immune system or a catheter GP or NHS 111
2 UTIs in 6 months, or 3 in 12 months GP

We explain the pharmacy route in can a pharmacist prescribe antibiotics for UTIs in the UK?

What to expect once you start antibiotics

When What usually happens What to do
First 24 to 48 hours Burning and urgency start to ease Drink enough to pass pale urine regularly. Take paracetamol for pain if you need it
After 48 hours with no improvement The bacteria may be resistant, or the diagnosis may be different Contact your GP, pharmacist or NHS 111
End of the course Symptoms have usually gone Take all the medicine prescribed, even if you feel better
Symptoms return soon afterwards Possible recurrent infection See your GP. A urine culture is usually needed

For more on timing, see how long antibiotics take to work and how long cystitis lasts. Antibiotics can upset the gut and sometimes trigger thrush; read probiotics after antibiotics and the link between antibiotics and yeast infections. On drinking, see can you drink alcohol while taking antibiotics? and alcohol and trimethoprim.

What helps alongside antibiotics, and what does not

Measure What the NHS says
Paracetamol Can be taken for pain and a high temperature
Fluids Drink enough to pass pale urine regularly
Rest Recommended
Avoiding fruit juice, coffee and alcohol These can irritate the bladder
Cystitis sachets No evidence they ease symptoms or treat an established infection
Cranberry drinks during an infection No evidence they ease symptoms or treat an established infection

A pharmacist can advise on suitable pain relief. Sachets and other products in the cystitis range are for symptom comfort only. They do not treat the infection and should not delay you getting assessed.

Preventing the next one

The evidence is different for prevention. The NHS says there is some evidence that D-mannose or cranberry products taken daily may help people who keep getting cystitis, with three cautions: both can contain a lot of sugar, you should speak to a doctor before using them in pregnancy, and cranberry should be avoided if you take warfarin. You can browse D-mannose supplements and cranberry supplements, and read are cranberries good for UTI prevention?

Everyday habits matter too:

  • wipe from front to back
  • drink plenty of fluids, mainly water
  • pee as soon as possible after sex
  • do not hold on when you need to go, and empty your bladder fully
  • avoid scented soap around the genitals and wear cotton underwear
  • avoid spermicidal lubricant with condoms, diaphragms or caps

More in how to prevent urinary tract infections and home approaches for UTI symptoms.

Recurrent UTIs

If you have 2 UTIs in 6 months or 3 in 12 months, see your GP. The NHS lists these options:

  1. a different antibiotic, or a low-dose antibiotic taken for up to 6 months
  2. vaginal oestrogen, as a cream, gel, tablet, pessary or ring, if you are in or past the menopause
  3. tablets that treat infection and help prevent it returning
  4. referral to a specialist

Some people have long-term UTI symptoms that do not respond to short courses and do not show up on standard urine tests. If symptoms continue after treatment, ask your GP about a specialist referral. Bladder pain without infection has other causes too, covered in interstitial cystitis.

When a UTI needs urgent help

A bladder infection can spread to the kidneys, and a kidney infection can lead to sepsis if it is not treated.

What you notice What to do
A very high or very low temperature, feeling hot and cold, or shivering Ask for an urgent GP appointment or call NHS 111
Pain in your lower tummy, or in your back just under the ribs Ask for an urgent GP appointment or call NHS 111
Blood in your pee Ask for an urgent GP appointment or call NHS 111
Symptoms getting worse quickly, or no better within 48 hours of treatment Ask for an urgent GP appointment or call NHS 111
You are a man, pregnant, aged 65 or over, or the patient is a child aged 15 or under Ask for an urgent GP appointment or call NHS 111
Confusion, drowsiness or difficulty speaking Call 999 or go to A&E. Do not drive yourself

See also antibiotics for kidney infections.

What to tell the pharmacist or GP

  1. Your symptoms and when they started.
  2. Whether you could be pregnant.
  3. Any antibiotics you have taken in the past 3 months.
  4. How many UTIs you have had in the past year.
  5. Any kidney problems, diabetes or a catheter.
  6. All your regular medicines, and any allergies.

Myths and facts about UTI antibiotics

Myth Fact
There is one best antibiotic for every UTI. The choice depends on sex, pregnancy, kidney function, recent antibiotics and resistance.
Trimethoprim is always the standard treatment. About a quarter of E. coli urine isolates are resistant, so nitrofurantoin is usually preferred.
A longer course is always better. NICE says 3 days is sufficient for uncomplicated infections in non-pregnant women and reduces side effects and resistance.
Cranberry juice cures a UTI. The NHS says there is no evidence it treats an established infection.
You can stop once the burning has gone. Take all the medicine you are prescribed, even if you feel better.
Leftover antibiotics are fine for the next infection. They may be the wrong drug or an incomplete course, and using them drives resistance.
Men get the same treatment as women. Men need a longer course and a urine culture.
Every UTI needs antibiotics straight away. For some women, waiting 48 hours with a back-up prescription is a recognised option.

Frequently asked questions

What is the strongest antibiotic for a UTI?

Strength is the wrong measure. The most effective antibiotic is the one the bacteria are sensitive to. For most bladder infections in the UK that is nitrofurantoin.

What is the first-line antibiotic for a UTI in the UK?

Nitrofurantoin, or trimethoprim where the risk of resistance is low and it has not been used in the past 3 months.

How long do antibiotics take to work for a UTI?

Symptoms should start to improve within 48 hours. If they do not, or they get worse, seek advice.

Is 3 days of antibiotics enough?

For an uncomplicated bladder infection in a woman who is not pregnant, yes. Men and pregnant women need 7 days.

Can I get antibiotics for a UTI from a pharmacy?

Women aged 16 to 64 who are not pregnant or breastfeeding can be assessed by a pharmacist, who can provide the same medicines as a GP for a UTI.

Can I buy UTI antibiotics online without a prescription?

No. Antibiotics are prescription-only and should only be supplied after assessment by a registered prescriber or pharmacist.

Is amoxicillin good for a UTI?

Only when a urine culture shows the bacteria are sensitive to it, because resistance is common.

What if the antibiotics do not work?

Go back to your GP or pharmacist. A urine sample is usually sent for culture and a second-choice antibiotic prescribed.

Can a UTI go away without antibiotics?

Some mild bladder infections in women do settle on their own, which is why a back-up prescription is sometimes offered. Men, pregnant women, children and older people should always be assessed.

Does D-mannose work instead of antibiotics?

No. There is some evidence it may help prevent repeat cystitis, but it is not a treatment for an active infection.

Why does my GP ask which antibiotics I have had recently?

Recent use makes resistance to that antibiotic more likely, so a different one may be chosen.

Is cystitis the same as a UTI?

Cystitis is a bladder infection, which is the most common type of UTI. See the best antibiotics for cystitis.

The bottom line

For most bladder infections in the UK, nitrofurantoin is the best first antibiotic, with trimethoprim as an alternative where resistance is unlikely. The course is short for most women and longer for men and during pregnancy. Because resistance is now common, the right choice depends on you, which is why assessment matters and leftover or unprescribed antibiotics are a bad idea. Seek urgent help for fever, back pain, blood in your pee or confusion.

References

  1. NHS. Urinary tract infections (UTIs).
  2. NICE. Urinary tract infection (lower): antimicrobial prescribing (NG109), recommendations.
  3. NICE. UTI (lower): antimicrobial prescribing, visual summary.
  4. NICE. NG109: other considerations.
  5. NICE. Quality statement 4: Duration of antibiotic treatment for urinary tract infection (QS90).
  6. UK Health Security Agency. Antimicrobial resistance in E. coli bacteriuria: data dashboard.
  7. Resistance to empirical antibiotics in urinary tract infections caused by Enterobacterales in the East of England. PubMed Central PMC11752643.
  8. Study of multidrug resistance in nitrofurantoin-resistant E. coli urinary isolates in England, 2015 to 2019. PubMed Central PMC10655056.
  9. Routine laboratory surveillance of antimicrobial resistance in community-acquired urinary tract infections adequately informs prescribing policy in England. JAC-Antimicrobial Resistance. 2020.
  10. Antimicrobial resistance in community and nosocomial Escherichia coli urinary tract isolates, London 2005 to 2006.

Medical disclaimer: this article is for information only and is not a substitute for professional medical advice, diagnosis or treatment. Antibiotics are prescription-only medicines. Always follow your prescriber's instructions and read the patient information leaflet. In an emergency call 999.