Infections

Medicines for E. coli infection

Infection with E. coli bacteria, which can cause food poisoning (some types severe) or urine and other infections — managed by hydration and, where needed, treating the specific infection.

Education and reference only. This explains which medicines are used and why, in plain language — it deliberately contains no doses and is not a substitute for advice from your doctor or pharmacist. Always discuss your own treatment with a qualified clinician, and check the BNF and the product labelling for prescribing detail.

Quick answer

What is E. coli infection?

Escherichia coli (E. coli) is a type of bacteria, many strains of which live harmlessly in the bowel of humans and animals.

  • How it is treated: Management depends on the type of E.
  • Self-care: For food poisoning: stay well hydrated, rest, and practise good hand and food hygiene; stay off work/school until 48 hours after symptoms settle.
  • When to seek help: See a GP for bloody diarrhoea, severe or persistent diarrhoea, signs of dehydration, or if a young child or older person is unwell.

What it is

Escherichia coli (E. coli) is a type of bacteria, many strains of which live harmlessly in the bowel of humans and animals. However, some strains can cause illness. There are two main ways E. coli causes problems. First, certain strains cause food poisoning (gastroenteritis) — caught from contaminated food (such as undercooked meat, especially minced beef, unpasteurised milk, and contaminated vegetables or water) or contact with infected animals or people — causing diarrhoea (sometimes bloody), stomach cramps, and vomiting. Some of these strains (such as certain "Shiga toxin-producing" E. coli, including E. coli O157) can cause more severe, bloody diarrhoea and, importantly, occasionally lead to a serious complication affecting the kidneys and blood (haemolytic uraemic syndrome), particularly in young children and older people. Second, E. coli is also the most common cause of urinary tract infections, and can cause other infections elsewhere in the body. So "E. coli infection" covers a range, from common urine infections and usually self-limiting food poisoning to, less commonly, more severe illness. The approach depends on the type and site of infection.

How it is treated

Management depends on the type of E. coli infection. For E. coli food poisoning (gastroenteritis), the mainstay is supportive care — staying well hydrated to replace fluids lost through diarrhoea and vomiting (with oral rehydration solutions if needed), resting, and eating when able; most cases settle on their own. Importantly, for the strains that can cause severe illness (such as E. coli O157), antibiotics and anti-diarrhoeal medicines are generally avoided, as they may increase the risk of the serious kidney complication — so these infections are managed supportively with careful monitoring, especially in young children and older people, who need watching for signs of the kidney complication and prompt hospital care if it develops. Preventing spread and further cases is important, through thorough handwashing, food hygiene, and staying off work or school until 48 hours after symptoms settle. For E. coli urinary tract infections, treatment is with appropriate antibiotics, as for other UTIs. Other E. coli infections are treated according to their site and severity. Prevention centres on food hygiene (thorough cooking, avoiding cross-contamination, washing produce), hand hygiene, and care around animals and farms. The reassuring message is that most E. coli food poisoning settles with good hydration, that severe strains are managed carefully with monitoring (avoiding certain treatments), and that E. coli urine and other infections are treated with appropriate antibiotics.

For this condition, these medicines

Medicine classes used for E. coli infection

Each links to a full, dose-free guide — what it is, how it works, who can and cannot use it, side effects, interactions and FAQs.

Beyond medication

Lifestyle and self-care

For food poisoning: stay well hydrated, rest, and practise good hand and food hygiene; stay off work/school until 48 hours after symptoms settle. Prevent infection by cooking meat thoroughly, avoiding cross-contamination, washing produce, and washing hands (including after contact with animals and farms).

When to get help

When to see a doctor

See a GP for bloody diarrhoea, severe or persistent diarrhoea, signs of dehydration, or if a young child or older person is unwell. Seek urgent care for reduced urine output, unusual bruising or paleness, or severe illness (possible kidney complication). Urine infection symptoms should be assessed for treatment.

999Emergency — call 999 or go to A&E
111Urgent advice — call NHS 111 or use 111 online
GPNon-urgent — see your GP or pharmacist

Not sure how urgent it is? It is always OK to call NHS 111 for advice, day or night.

Answers

E. coli infection: frequently asked questions

Is E. coli dangerous?

Many E. coli strains are harmless gut bacteria. Some cause food poisoning, usually self-limiting, but certain strains (such as E. coli O157) can cause severe bloody diarrhoea and, occasionally, a serious kidney complication, especially in young children and older people. E. coli also commonly causes urine infections.

How is E. coli food poisoning treated?

Mainly with supportive care — staying hydrated and resting — as most cases settle on their own. Importantly, for severe strains like E. coli O157, antibiotics and anti-diarrhoeal medicines are generally avoided, and careful monitoring is used, especially in children and older people.

Building a patient-information or formulary resource?

We create evidence-led, dose-free clinical references and decision aids for teams.

☎ Call Get a Proposal