Bactrim (Co-trimoxazole): A Guide to This Antibiotic
Reviewed by the Kam4eu Pharmacy Team on 17 April 2026 · Next review June 2027
Bactrim is a well-known brand name for co-trimoxazole, an antibiotic made up of two active ingredients: sulfamethoxazole and trimethoprim. Combining them gives it activity against a range of bacterial infections. This guide explains what it is used for and the safety points worth understanding.
What co-trimoxazole is and how it works
Co-trimoxazole pairs two medicines that block different steps in the way bacteria produce folate, a substance they need to grow. By attacking two points at once, the combination can be effective against bacteria and reduce the chance of them adapting. It is the combination, rather than either ingredient alone, that defines co-trimoxazole.
What it is used for
Co-trimoxazole is used for a variety of bacterial infections, and it has some particular roles where it is especially valued, including:
- Certain urinary tract infections
- Some chest and respiratory infections
- The prevention and treatment of a specific type of pneumonia in people with weakened immune systems
- Some other less common infections, as decided by a clinician
Which infections it suits depends on the bacteria involved and local resistance patterns, which is why it is prescribed selectively rather than as a general-purpose antibiotic.
Important allergy warning
Co-trimoxazole contains a sulfonamide ("sulfa") component, and sulfonamide allergy is relatively common. Anyone with a known sulfa allergy should not take it, as reactions can be serious. Co-trimoxazole is also associated, though rarely, with severe skin reactions. You should seek urgent medical attention for any spreading rash, blistering, peeling skin, mouth sores, or swelling of the face or throat. Always tell your doctor about any previous reactions to antibiotics.
Other cautions and interactions
Co-trimoxazole needs particular care in certain situations:
- It can interact with several medicines, including some blood thinners and certain heart and diabetes medicines.
- It may not be suitable in pregnancy, in very young infants, or in people with significant kidney or liver problems.
- It can affect blood cells and potassium levels, so monitoring is sometimes needed, especially with longer courses.
- Staying well hydrated is generally advised while taking it.
Because of these considerations, a full picture of your health and medicines is important before starting.
Finish the course and use responsibly
As with all antibiotics, take co-trimoxazole exactly as directed and finish the complete course, even once you feel better. Stopping early can allow the infection to return and encourages antibiotic resistance, which makes future infections harder to treat for everyone. Never use leftover antibiotics or someone else's prescription.
For related products, you can browse the antibiotics range or the wider shop all catalogue.
The bottom line
Bactrim (co-trimoxazole) is a two-ingredient antibiotic with valuable but specific uses. Its sulfonamide content makes allergy awareness essential, it interacts with several medicines, and like all antibiotics it must be taken as a full course to work properly and protect against resistance. Always read the patient information leaflet and consult a doctor or pharmacist before starting any medication.
General information only — not medical advice. Always read the patient information leaflet and consult a doctor or pharmacist before starting any medication.
Related treatments
Browse the medicines and conditions related to this guide: