Trimethoprim
About trimethoprim
Trimethoprim is an antibiotic.
It's used to treat and prevent urinary tract infections (UTIs), such as cystitis.
Occasionally, trimethoprim is used to treat other types of infections, such as chest infections and acne.
Trimethoprim is available on prescription. It comes as tablets and as a liquid that you swallow.
Key facts
- You'll usually take trimethoprim twice a day to treat infections.
- For most infections, you'll feel better within a few days. But it's important to finish your course of trimethoprim to help stop your infection from coming back.
- Side effects may include itching or a skin rash, but these are usually mild and short-lived.
- You can drink alcohol while taking trimethoprim.
- Tell your doctor if you do not start feeling better after taking trimethoprim for 3 days, or if you start to feel worse at any time.
Who can and cannot take trimethoprim
Most adults and children can take trimethoprim.
Trimethoprim is not suitable for some people. To make sure this medicine is safe for you, tell your doctor if you:
- have ever had an allergic reaction to trimethoprim or any other medicine
- have liver or kidney problems
- have anaemia or low amounts of folic acid (folate) in your blood
- have porphyria (a rare inherited blood disorder) or any other blood disorder
- are trying to get pregnant or are already pregnant
How and when to take trimethoprim
Always follow your doctor or pharmacist's advice, and the instructions that come with your medicine.
Dosage and strength
Trimethoprim tablets contain 100mg or 200mg. The liquid contains 50mg in 5ml.
The usual dose of trimethoprim to:
- treat urinary tract infections (UTIs) is 200mg twice a day – your doctor might recommend you double the first dose to 400mg
- prevent infections is 100mg once a day
- treat cystitis that comes on after having sex is a single dose of 100mg taken within 2 hours of having sex
- treat acne is 300mg twice a day – this dose might be reduced over time
The dose of trimethoprim you need to take depends on your condition, your age, and how well your kidneys work.
Doses are usually lower for children, older people and those with kidney problems.
Completing your course of trimethoprim
Carry on taking this medicine until you finish the course, even if you feel better. If you stop your treatment early, your problem could come back.
How to take it
You'll usually take trimethoprim twice a day to treat an infection, once in the morning and once in the evening.
You can take it with or without food.
Swallow trimethoprim tablets whole with a drink of water. Do not chew or break them.
Trimethoprim is available as a liquid for people who find it difficult to swallow tablets.
If you're taking trimethoprim as a liquid, shake the bottle gently before measuring out the right amount using a medicine spoon or oral syringe. If you do not have an oral syringe or medicine spoon, ask your pharmacist for one. Do not use a kitchen teaspoon as it will not measure the right amount.
If you're taking trimethoprim to prevent an infection, take it at bedtime.
If you have been prescribed trimethoprim as a treatment for cystitis that comes on after having sex, take it as a single dose within 2 hours of having sex.
How long to take it for
The length of time you'll need to take trimethoprim for depends on how bad and where your infection is, your age, whether you're male or female, and whether you have any other health problems.
Women and children with straightforward UTIs usually take a 3-day course of treatment.
Men and pregnant women with straightforward UTIs usually take a 7-day course of treatment.
People with particularly severe or complicated UTIs, or a catheter, usually take a 14-day course of treatment.
Men with a UTI that causes swelling of the prostate gland (prostatitis) may need a treatment course for 4 to 6 weeks.
People taking it to prevent UTIs may need to take it for at least 6 months.
People taking it for acne may need to take it for at least 6 months.
It's very important to keep taking trimethoprim until your course is finished, even if you feel better. This helps stop the infection coming back.
If you forget to take it
If you forget to take a dose of trimethoprim, take it as soon as you remember, unless it's nearly time for your next dose. In this case, just leave out the missed dose and take your next dose at the usual time.
Never take 2 doses at the same time. Never take an extra dose to make up for a forgotten one.
If you often forget doses, it may help to set an alarm to remind you. You could also ask your pharmacist for advice on other ways to help you remember to take your medicine.
If you take too much
Taking an extra dose of trimethoprim is unlikely to harm you, but it may increase the chances of temporary side effects, such as feeling or being sick and diarrhoea.
Contact 111 for advice now if:
You've taken more than your prescribed dose of trimethoprim and:
- you're worried or get severe side effects
- you've taken more than 1 extra dose
Go to 111.nhs.uk or call 111
Call 111 if you're asking about a child under the age of 5 years.
If you need to go to A&E, do not drive. Ask someone to drive you or call 999 and ask for an ambulance.
Bring the trimethoprim packet or leaflet inside it, any remaining medicine, and any other medicines you take.
Side effects
You're unlikely to get side effects from trimethoprim. Some people get itching or a skin rash, but this is usually mild and goes away after you stop taking the medicine.
Common side effects
These common side effects of trimethoprim happen in more than 1 in 100 people. Speak to your doctor or pharmacist if these side effects bother you or do not go away:
- itching or a mild rash
- feeling or being sick (nausea or vomiting)
- diarrhoea
- headaches
Serious side effects
Most serious side effects are rare and happen in less than 1 in 1,000 people.
Call a doctor or call 111 straight away if you have:
- diarrhoea (possibly with stomach cramps) that contains blood or mucus, or severe diarrhoea that lasts longer than 4 days
- bruising or bleeding you cannot explain (including nosebleeds), a sore throat, mouth ulcers, a high temperature, or you feel tired or generally unwell – these can be signs of a problem with your blood
Call 999 or go to A&E now if:
- you have headaches, a high temperature, a stiff neck, tiredness, feel ill, and your eyes become very sensitive to bright light – these can be signs of meningitis which is a very rare side effect of trimethoprim
- you have muscle weakness, an abnormal heartbeat or chest pains – these can be signs of high potassium in your blood
Serious allergic reaction
In rare cases, it's possible to have a serious allergic reaction (anaphylaxis) to trimethoprim.
These are not all the side effects of trimethoprim. For a full list, see the leaflet inside your medicine packet.
How to cope with side effects of trimethoprim
What to do about:
- itching or a mild rash – it may help to use an emollient cream or gentle, fragrance-free moisturiser, or take an antihistamine, which you can buy from a pharmacy. Check with the pharmacist to see what may be suitable for you.
- feeling or being sick – try taking trimethoprim with or after food to see if that helps ease your symptoms. It may also help if you stick to simple meals and avoid rich or spicy food while you're taking this medicine. If you're being sick, try small frequent sips of water to avoid dehydration.
- diarrhoea – drink plenty of water or squash to avoid dehydration. Speak to a doctor if you have signs of dehydration such as peeing less than usual or having dark, strong-smelling pee. It may also help to take oral rehydration solutions which you can buy from a pharmacy. Do not take any other medicines to treat diarrhoea without speaking to a pharmacist or doctor.
- headaches – make sure you rest and drink plenty of fluids. It's best not to drink too much alcohol. Everyday painkillers, such as paracetamol and ibuprofen, are safe to take with trimethoprim. Speak to your doctor if these do not help or the headaches are severe.
Pregnancy and breastfeeding
Trimethoprim and pregnancy
Trimethoprim can be taken in pregnancy, but it is not recommended in the first 12 weeks. This is because it may affect your levels of folic acid, which is important in the early stages of your baby's development.
Sometimes trimethoprim is the only suitable antibiotic to treat an infection. In this case the benefit of taking it is likely to outweigh the small risk of harm, but discuss this with your doctor.
If you do need to take trimethoprim while you're trying to get pregnant or during the first 12 weeks of pregnancy, your doctor may also recommend taking high dose folic acid (5mg per day).
It's OK to take trimethoprim in later pregnancy (after 12 weeks) and there's no particular need to take high dose folic acid with it, although it will not do any harm if you continue to take it.
Trimethoprim and breastfeeding
If your doctor or health visitor says your baby is healthy, you can take trimethoprim while breastfeeding.
Trimethoprim passes into breast milk in small amounts and is unlikely to cause side effects in your baby. But it's best to take trimethoprim only for a short time because it may affect your baby's folic acid levels. If you need to take trimethoprim for longer than a few weeks, talk to your doctor or pharmacist.
If your baby is not feeding as well as usual, has a stomach upset, or has oral thrush (a fungal infection in their mouth), or if you have any other concerns about your baby, talk to your doctor, pharmacist, health visitor or midwife.
For more information about how trimethoprim can affect you and your baby during pregnancy, visit the Best Use of Medicines (BUMPS) website.
Cautions with other medicines
There are many medicines that do not mix well with trimethoprim.
Tell your doctor or pharmacist if you're taking any other medicines before starting to take trimethoprim, in particular:
- rifampicin, an antibiotic
- warfarin or acenocoumarol (Sinthrome), medicines to treat or prevent blood clots (anticoagulants)
- digoxin, a heart medicine
- phenytoin, an epilepsy medicine
- replaglinide or pioglitazone, diabetes medicines
Typhoid vaccines given by mouth may not work properly if you're taking trimethoprim. It does not affect typhoid vaccines given by injection.
Mixing trimethoprim with herbal remedies and supplements
It's not possible to say that complementary medicines or herbal remedies are safe to take with trimethoprim. They're not tested in the same way as pharmacy and prescription medicines.