Cefalexin for infection
Keflex
Granskad av Dr Colin Tidy, MRCGPSenast uppdaterad av Michael Stewart, MRPharmSLast updated 26 Nov 2024
Uppfyller patientens redaktionella riktlinjer
- Ladda nerLadda ner
- Dela
- Language
- Diskussion
- Ljudversion
- Add to preferred sources on Google
Before you take cefalexin, make sure your doctor knows if you have ever had an allergic reaction to an antibiotic.
Space out your doses evenly over the day and complete the full course.
The most common side effect of cefalexin is diarrhoea, which is usually mild and soon passes.
If diarrhoea becomes severe or lasts for more than 24 hours, you should speak with your doctor.
At a glance
Cefalexin is an antibiotic used to treat bacterial infections in adults and children.
It is available as capsules, tablets, and oral liquid medicine.
Common side effects include diarrhoea, feeling sick, indigestion, and stomach ache.
Always tell your doctor about any allergies or kidney problems before taking cefalexin.
Take cefalexin for the full course prescribed, even if you feel better.
Seek medical help immediately if you experience breathing difficulties or swelling after taking it.
I den här artikeln:
Video picks for Infektionsbehandlingsmedicin
Fortsätt läsa nedan
About cefalexin
Typ av medicin | En cefalosporin antibiotika |
Används för | Treatment (and sometimes prevention) of infection |
Även kallad | Cephalexin, Keflex® (USA) |
Tillgänglig som | Capsules, tablets, and oral liquid medicine |
What is cefalexin used for?
Tillbaka till innehållCefalexin is a type of antibiotic used to treat bacterial infections such as urinary tract infections, skin infections, chest och throat infections, öroninfektioner och dental infections.
It is suitable for adults and children and can be taken during pregnancy.
Some people who are allergic to penicillin antibiotics may not be able to take cefalexin, so make sure your doctor knows if you have ever had an allergic reaction to any other antibiotic.
Cefalexin treats an infection by killing the bacteria that are causing it.
Fortsätt läsa nedan
Side effects of cefalexin
Tillbaka till innehållCommon side effects of cefalexin are:
Diarré.
Känna sig illamående (illamående).
Indigestion.
Stomach ache.
Svampinfektion.
You will find a full list in the manufacturer's information leaflet supplied with the medicine.
The unwanted effects often improve as your body adjusts to the new medicine, but speak with your doctor or pharmacist if any of the following continue or become troublesome.
How to manage cefalexin side effects
Tillbaka till innehållCefalexin side effects | Vad kan jag göra om jag upplever detta? |
Diarré | Drink plenty of water to replace the lost fluids. If the diarrhoea continues for longer than 24 hours, becomes severe, or contains blood, please let your doctor know omedelbart |
Indigestion, stomach ache, feeling sick | Stick to simple foods. If you are not already doing so, try taking your doses after meals |
Thrush | Speak with your doctor or pharmacist for advice |
Viktigt: if you develop an itchy rash, swollen face or mouth, or have difficulty breathing, these can be signs that you are allergic to the antibiotic. Do not take any more doses, and speak with your doctor or go to your local accident and emergency department straightaway.
If you experience any other symptoms which you think may be due to the antibiotic, please speak with your doctor or pharmacist for further advice.
Fortsätt läsa nedan
Who should not take cefalexin?
Tillbaka till innehållSome medicines are not suitable for people with certain conditions. Before starting cefalexin it is important that your doctor knows:
Om du någonsin har haft en allergisk reaktion mot ett läkemedel. Det är särskilt viktigt att du berättar för din läkare om du har haft en dålig reaktion på ett penicillin- eller cefalosporinantibiotikum.
Om du har några problem med hur dina njurar fungerar.
If you are pregnant, trying for a baby or breastfeeding. Although cefalexin is not known to be harmful to babies, it is still important that you tell your doctor if you are expecting or breastfeeding a baby.
Om du tar eller använder några andra läkemedel. Detta inkluderar alla läkemedel du tar som finns att köpa utan recept, samt växtbaserade och komplementära läkemedel.
How to take cefalexin
Tillbaka till innehållRead the leaflet inside the pack before starting cefalexin. It explains how the antibiotic works and lists possible side effects.
Take cefalexin 2-4 times a day, as directed by your doctor. Check the label for your exact dose and timing.
For children: if using liquid cefalexin, carefully measure each dose as instructed.
Treatment usually lasts 5-7 days, but your doctor may adjust this. Always follow their advice.
For UTI prevention: you may take one dose daily, usually in the evening.
You can take cefalexin before or after food, but it may work a bit faster before meals.
Space doses evenly through the day and complete the full course, even if you feel better.
If you miss a dose, take it as soon as you remember. Do not take twice to make up for a missed one.
Få ut det mesta av din behandling
Tillbaka till innehållTell your doctor or healthcare provider if you’re taking cefalexin before any operation or medical test, as it can affect some test results.
Antibiotics can sometimes cause thrush (oral or vaginal). If this happens, speak to your doctor or pharmacist.
If you take the contraceptive pill and have vomiting or diarrhoea for more than 24 hours while on antibiotics, the pill may be less effective. Ask your doctor or pharmacist about extra contraception. No extra precautions are needed if symptoms last less than 24 hours.
Cefalexin can stop the oral typhoid vaccine from working properly. Tell the person giving you any vaccines that you’re taking this antibiotic.
How to store cefalexin
Tillbaka till innehållFörvara alla läkemedel utom räckhåll och synhåll för barn.
Store tablets and capsules in a cool, dry place, away from direct heat and light.
If you have been given liquid medicine, store it in a refrigerator. It will have been made up freshly by the pharmacy and lasts for 14 days, so please remember to check the expiry date, and do not use it after this date.
Viktig information om alla läkemedel
Tillbaka till innehållViktig information om alla läkemedel
Do not take more than the prescribed dose. If you suspect that you or someone else might have taken an overdose of this medicine, go to the accident and emergency department of your local hospital. Take the container with you, even if it is empty.
Denna medicin är för dig. Ge den aldrig till andra människor även om deras tillstånd verkar vara detsamma som ditt.
Om du köper några mediciner, kontrollera med en apotekare att de är säkra att ta tillsammans med dina andra mediciner.
Om du ska genomgå en operation eller någon tandbehandling, informera den som utför behandlingen om vilka mediciner du tar.
Behåll inte föråldrade eller oönskade mediciner. Ta dem till ditt lokala apotek som kommer att ta hand om dem åt dig.
Om du har några frågor om denna medicin, fråga din apotekare.
Rapportera biverkningar av ett läkemedel eller vaccin
Om du upplever biverkningar kan du rapportera dem online via Yellow Card website.
Vanliga frågor
Tillbaka till innehållHow quickly does cefalexin work?
Cefalexin usually starts to work within an hour after taking the first dose. Most people notice improvement in symptoms, such as reduced pain, fever, or redness, within the first 1-2 days of treatment.
Is cefalexin safe to use during pregnancy?
Yes, cefalexin is considered safe to use during pregnancy as there is no evidence that it causes harm to the baby. However, always let your doctor or midwife know you are pregnant before taking cefalexin.
Does cefalexin contain penicillin?
No, cefalexin does not contain penicillin. However it is a cephalosporin antibiotic, which is chemically related to penicillin. People who are allergic to penicillin may also be allergic to cefalexin, so it is important to inform your doctor if you have a penicillin allergy before taking cefalexin.
Can you drink alcohol with cefalexin?
Yes, you can drink alcohol with cefalexin. However, it is advised to only drink in moderation as alcohol may increase side effects such as stomach upset, dizziness, or drowsiness.
Can cefalexin cause a rash?
Yes, cefalexin can cause a rash as a side effect and is usually a sign of an allergic reaction. If you develop a mild rash, contact your doctor for advice. If you have trouble breathing or swelling of the face, lips, tongue, or throat, seek medical help immediately.

Osäker på att blanda mediciner?
Kontrollera möjliga interaktioner mellan läkemedel, kosttillskott och livsmedel innan du tar dem tillsammans.
Vanliga frågor
What should I do if I experience diarrhoea that is severe or lasts a long time?
If you experience diarrhoea, you should drink plenty of water to replace lost fluids. If the diarrhoea continues for longer than 24 hours, becomes severe, or contains blood, you should let your doctor know straightaway.
Are there any specific considerations for children taking cefalexin?
Yes, if using liquid cefalexin for children, you must carefully measure each dose as instructed by your doctor or pharmacist. The treatment duration and dosage will be determined by the doctor.
How should I manage indigestion or stomach ache while taking cefalexin?
If you experience indigestion, stomach ache, or feeling sick, you can try sticking to simple foods. Also, if you are not already doing so, try taking your doses after meals.
Can cefalexin affect the effectiveness of other medications or medical tests?
Yes, you should tell your doctor or healthcare provider if you’re taking cefalexin before any operation or medical test, as it can affect some test results. It can also stop the oral typhoid vaccine from working properly, so tell the person giving you any vaccines that you’re taking this antibiotic. Additionally, if you take the contraceptive pill and have vomiting or diarrhoea for more than 24 hours while on cefalexin, the pill may be less effective, and you should ask your doctor or pharmacist about extra contraception.
What should I do if I forget to take a dose of cefalexin?
If you miss a dose of cefalexin, you should take it as soon as you remember. However, if it's nearly time for your next dose, just skip the missed dose and continue with your regular schedule. Do not take twice the amount to make up for a missed one.
How long does liquid cefalexin last once it's been made up?
If you have been given liquid cefalexin, it will have been made up freshly by the pharmacy and lasts for 14 days when stored in a refrigerator. Always remember to check the expiry date on the bottle and do not use it after this date.
Vidare läsning och referenser
- Manufacturer's PIL, Cefalexin 250 mg and 500 mg Capsules; Aurobindo Pharma - Milpharm Ltd; The electronic Medicines Compendium. Dated August 2024.
- Manufacturer's PIL, Cefalexin 125 mg and 250 mg/5 ml Powder for Oral Suspension; Aurobindo Pharma - Milpharm Ltd; The electronic Medicines Compendium. Dated March 2024.
Fortsätt läsa nedan
About the authorView full bio

Michael Stewart, MRPharmS
Medicine Leaflet Review Manager – Contractor, Pharmacist
BPharm (Hons), MRPharmS
Michael is a community pharmacist practicing in the Midlands and South Yorkshire with more than 20 years’ experience advising on medicines and medical conditions. He has a strong background in healthcare training, having produced and delivered training courses for pharmacy teams and staff of residential care settings, including nurses. He has also contributed to pharmacy advisory boards for the management of low acuity conditions in the community.
About the reviewerView full bio

Dr Colin Tidy, MRCGP
General Practitioner, Medical Author
MBBS, MRCGP, MRCP (Paediatrics), DCH
Dr Colin Tidy is an NHS Doctor, based in Oxfordshire.
Artikelhistorik
Informationen på denna sida är skriven och granskad av kvalificerade kliniker.
Next review due: 26 Nov 2027
26 Nov 2024 | Senaste versionen

Fråga, dela, anslut.
Bläddra i diskussioner, ställ frågor och dela erfarenheter inom hundratals hälsorelaterade ämnen.
Anmäl dig till Patientens nyhetsbrev
Din veckovisa dos av tydliga, pålitliga hälsoråd - skrivna för att hjälpa dig känna dig informerad, självsäker och i kontroll.
By subscribing you accept our Sekretesspolicy. Du kan avsluta prenumerationen när som helst. Vi säljer aldrig dina uppgifter.