If you have ever been handed a prescription with an unfamiliar name and wondered exactly what you were being asked to take, you are far from alone, and this guide is written for precisely that moment. Co-trimoxazole is one of those medicines whose name gives little away, yet it plays an important role in treating and preventing certain serious infections, particularly in people whose immune systems are weakened. It is a prescription-only antibiotic, which means it can only be obtained on a doctor’s prescription, and understanding what it does, what infections it targets, and which side effects genuinely matter can make the whole course of treatment less worrying and considerably safer.
The short answer is that this medicine combines two antibiotics that work together to stop bacteria and certain other organisms from growing, and it is used for a relatively narrow range of infections where those organisms are known or strongly suspected to be sensitive to it. That narrow focus is a strength rather than a limitation, because it means the medicine is chosen deliberately for situations where it is known to work, including a particular form of pneumonia that affects people with weakened immunity. Like every antibiotic, however, it carries possible side effects, some common and mild, others rare but serious, and knowing the difference between the two is essential for anyone taking it.
What Is This Antibiotic Combination?
This medicine is a combination antibiotic, meaning that each dose contains two separate active ingredients that attack the same target from different angles, and that partnership is what makes it effective. The two ingredients are trimethoprim and sulfamethoxazole, which work together to block the production of folic acid, a substance that bacteria and certain fungi need in order to grow and multiply. By interrupting that process at two points rather than one, the combination achieves a stronger effect than either ingredient would manage alone, which is why doctors sometimes describe the two drugs as acting synergistically, each one making the other more powerful.
The medicine was formerly sold under the brand name Septrin, a name that many older patients still recognise, although today it is usually supplied under its generic name in various tablet and liquid forms. Detailed professional information about the licensed uses, doses and warnings is published in the Electronic Medicines Compendium summary of product characteristics, which doctors and pharmacists consult when prescribing. For patients, the key points are simpler: this is a prescription-only treatment, it must be taken exactly as prescribed, the full course should be completed unless a doctor advises otherwise, and it should never be shared with another person, even if their symptoms seem similar, because the right antibiotic depends on the specific infection and the individual.
What Infections Does It Treat?
The infections this medicine treats are more specific than those covered by a general-purpose antibiotic, and that specificity reflects both its strengths and the need for careful prescribing. It is a drug of choice for the treatment and prevention of Pneumocystis jirovecii pneumonia, often shortened to PCP or PJP, which is a serious lung infection caused by a fungus-like organism that mainly threatens people with weakened immune systems, including those living with advanced HIV or taking immune-suppressing treatment. It is also used for toxoplasmosis, a parasitic infection that can be dangerous in pregnancy and in people with weakened immunity, and for nocardiosis, a rarer bacterial infection that can affect the lungs, skin and other organs.
Beyond those headline uses, the medicine can also be used for certain chest infections, including flare-ups of chronic bronchitis and infections linked to long-term lung conditions such as chronic obstructive pulmonary disease and cystic fibrosis, as well as some urinary tract infections, but only when tests show the organisms involved are sensitive to it and there is good reason to prefer this combination over a single antibiotic. In some situations, co-trimoxazole is also used to help prevent infections rather than treat them, which is known as prophylactic use, and this preventive approach is particularly important for people at ongoing risk of Pneumocystis pneumonia. The doses used for prevention are usually lower than those used for treatment, and the doses for Pneumocystis pneumonia itself are much higher than standard doses, which is why following the prescriber’s exact instructions matters so much.
How Is It Taken?

Co-trimoxazole is usually taken by mouth as tablets or liquid, although a solution for infusion into a vein exists for hospital use when patients cannot take medicines by mouth or need very high doses. The usual pattern for adults taking tablets is a set number of tablets twice a day, with the exact dose depending on the infection being treated, the patient’s weight and kidney function, and whether the medicine is being used for treatment or prevention. It is normally taken with food or a drink of water, and maintaining a good fluid intake during treatment is generally advised, because the medicine is processed through the kidneys and adequate hydration helps it clear safely.
Practical points make the course smoother and safer, and they are worth getting right from the first dose. Take the medicine at evenly spaced times to keep levels steady, try not to miss doses, and if a dose is missed, take it when remembered unless it is almost time for the next one, in which case skip the missed dose rather than doubling up. Complete the full prescribed course even if you start to feel better, because stopping early can allow the infection to return and can encourage resistance, which makes future infections harder to treat. Store the medicine as directed on the pack, keep it out of reach of children, and never keep leftover antibiotics for a future illness, since the next infection may need a completely different treatment.
Common Side Effects
Like all medicines, this antibiotic can cause side effects, although most people take it without serious problems, and the common effects are usually mild and manageable. The side effects reported most often, affecting up to one in ten people, include nausea, diarrhoea, rash and thrush, which is a yeast infection that can affect the mouth or, in women, the vaginal area. These effects happen because antibiotics, while targeting harmful organisms, can also disturb the body’s normal balance of bacteria and yeasts, and they usually settle once the course is finished, although persistent diarrhoea, especially if severe or bloody, should always be reported to a doctor promptly rather than simply endured.
A few other effects are less common but still worth knowing about, so they are not a surprise if they appear. Some people notice muscle aches, ringing in the ears, changes in appetite or a general feeling of being unwell, and drinking alcohol while taking the medicine can occasionally increase feelings of sickness, so limiting alcohol during the course is sensible. The medicine can also make the skin more sensitive to sunlight, which means sunburn can happen more easily than usual, and wearing sunscreen, covering up and avoiding prolonged sun exposure during treatment is a simple precaution. If any side effect is troublesome, the right step is to contact the prescriber or a pharmacist for advice rather than stopping suddenly on your own, unless the effect is severe, in which case urgent help should be sought immediately.
Serious Side Effects to Act On Fast
Although uncommon, co-trimoxazole can occasionally cause serious side effects, and recognising them early is one of the most important things any patient on this medicine can do. Severe skin reactions are the best-known example: a rash that blisters, peels or is accompanied by sores in the mouth, throat, nose, genitals or eyes, or by flu-like symptoms, can signal a potentially life-threatening reaction such as Stevens-Johnson syndrome, and this requires emergency medical attention at once. A severe allergic reaction, known as anaphylaxis, is another emergency, with signs including swelling of the lips, tongue or face, difficulty breathing, wheezing and a sudden widespread rash, and it too needs immediate help.
Other rare but serious complications can affect the liver, the blood and the kidneys, and they underline why monitoring matters during longer courses of treatment. Liver damage, though rare, can be fatal, and warning signs include itching, yellowing of the skin or eyes, dark urine, pale stools and pain in the upper abdomen, while blood disorders may show up as unusual bruising, bleeding, persistent sore throat, fever or extreme tiredness. Doctors may therefore arrange blood tests during prolonged treatment to check blood counts and potassium levels, since the medicine can raise potassium and affect kidney function, particularly in older people or those with existing kidney problems. The message is not to be frightened, since these events are rare, but to act quickly and seek medical advice the same day if any of these warning signs appear, and to stop the medicine and get urgent help if a severe reaction is suspected.
Who Should Be Extra Careful?
Certain people need extra caution with this medicine, and prescribers will weigh the benefits against the risks carefully before choosing it for them. People with kidney disease need particular attention, because the medicine is cleared through the kidneys and doses may need to be reduced, while those with blood disorders, a tendency to folate deficiency, asthma or a deficiency of the enzyme glucose-6-phosphate dehydrogenase, known as G6PD deficiency, should only receive it under specialist supervision. Older people also need closer monitoring, since they are more likely to develop raised potassium levels or changes in kidney function, and blood counts are often checked during longer courses to catch problems before they become serious.
Pregnancy and breastfeeding require specific care, because the medicine should generally be avoided in late pregnancy and in breastfeeding mothers where the mother or infant has, or is at particular risk of, developing raised bilirubin levels in the blood, a condition known as hyperbilirubinaemia. For these reasons, co-trimoxazole should only be used in these situations when a doctor has judged that the benefit clearly outweighs the risk, and patients should always tell their prescriber about all other medicines they take, including over-the-counter products and supplements. Interactions can matter: blood thinners such as warfarin, medicines for diabetes, epilepsy treatments such as phenytoin, and drugs used after organ transplantation such as ciclosporin can all interact with this antibiotic, so a full medicines list at the appointment is not bureaucracy but genuine safety.
Conclusion
Co-trimoxazole remains an important medicine precisely because it does a job that few other antibiotics do as well, offering effective treatment and prevention for Pneumocystis pneumonia, toxoplasmosis and nocardiosis, along with selected chest and urinary infections where the organisms are sensitive to it. Its two-ingredient design gives it a power that single antibiotics cannot always match, and for people with weakened immunity it can be genuinely life-saving, which is why it continues to be prescribed despite the availability of newer drugs. Understanding that role helps patients see their prescription not as a random choice but as a deliberate, targeted decision by their doctor.
At the same time, respect for the medicine’s risks is part of using it well: take it exactly as prescribed, complete the course, watch for common effects such as nausea and rash, and act immediately if severe skin reactions, allergic symptoms or signs of liver or blood problems appear. Tell your prescriber about kidney problems, blood disorders, pregnancy, breastfeeding and every other medicine you take, protect your skin from the sun, and limit alcohol during the course. This article is general information only and is never a substitute for the advice of the doctor or pharmacist who knows your history, so if anything about your treatment worries you, ask them promptly, because a quick question can prevent a serious problem.
FAQs
What is this medicine used for? This prescription antibiotic is mainly used to treat and prevent Pneumocystis jirovecii pneumonia, a serious lung infection that particularly affects people with weakened immune systems, and it is also used for toxoplasmosis and nocardiosis. It can additionally be used for certain chest infections and urinary tract infections, but only when laboratory tests show the organisms are sensitive to it and there is good reason to prefer this combination to a single antibiotic. Because its uses are specific, it is prescribed deliberately for situations where it is known to work, rather than as a general-purpose antibiotic for everyday infections.
What are the most common side effects? The most common side effects, affecting up to one in ten people, are nausea, diarrhoea, rash and thrush, which are usually mild and settle after the course finishes. Less common effects include muscle aches, ringing in the ears and changes in appetite, while alcohol can occasionally increase feelings of sickness during treatment. The medicine can also make skin more sensitive to sunlight, so sunscreen and covering up are sensible precautions. Persistent or severe diarrhoea, or any rash that blisters or peels, should be reported to a doctor promptly rather than ignored.
When should I seek urgent help while taking it? Seek emergency help immediately for signs of a severe allergic reaction, such as swelling of the lips, tongue or face, difficulty breathing or a sudden widespread rash, and for severe skin reactions involving blistering, peeling or sores in the mouth, eyes or genitals. Contact a doctor the same day for yellowing of the skin or eyes, dark urine, unusual bruising or bleeding, persistent sore throat, fever or extreme tiredness, since these can signal rare liver or blood problems. Blood tests during longer courses help doctors detect these issues early, which is why keeping follow-up appointments matters even when you feel well.
Can I take it if I am pregnant or breastfeeding? This medicine should generally be avoided in late pregnancy and in breastfeeding mothers where the mother or infant has, or is at particular risk of, developing raised bilirubin levels in the blood, known as hyperbilirubinaemia. In these situations it should only be used when a doctor has judged that the benefit clearly outweighs the risk, after considering safer alternatives. Always tell your prescriber if you are pregnant, planning pregnancy or breastfeeding, and mention every other medicine you take, since interactions with blood thinners, diabetes medicines and transplant drugs can also affect whether this antibiotic is the right choice.
If you found this guide helpful, you may also enjoy our other practical health guides on this site.
For another look at a commonly prescribed antibiotic, read our guide to Chloramphenicol Eye Drops Uses, Dosage, and Expert Usage Guide here on the site.



