Skip to main content
Free EU delivery over €110.00Ships to the UK & 28 EU countriesGMP-manufactured · plain packaging

Cephalexin: A Guide to the Cephalosporin Antibiotic

Summary

Everything you need to know about cephalexin, what it treats and how to use it responsibly.

K4By Kam4eu Pharmacy TeamPharmacist-reviewed · Kam4eu medical content team

Reviewed by the Kam4eu Pharmacy Team on 15 January 2026 · Next review August 2027

What cephalexin is

Cephalexin is an antibiotic from the cephalosporin family, which is related to penicillins. It works by weakening the cell walls of bacteria so they cannot survive. It is a prescription-only medicine across the UK and EU and is commonly used for a range of everyday bacterial infections.

Because cephalosporins are chemically related to penicillins, people with a penicillin allergy should always tell their prescriber, as there can sometimes be cross-reactivity.

What it is used for

Doctors may prescribe cephalexin for infections such as:

  • Some skin and soft-tissue infections
  • Certain urinary tract infections
  • Some respiratory and throat infections
  • Particular bone and ear infections

Cephalexin treats bacterial infections only and has no effect on viral illnesses like colds or flu. Using antibiotics only when needed helps limit antibiotic resistance explained. To understand more, read bacterial infections explained.

How to take it safely

Always follow your prescriber's instructions and the patient information leaflet. General principles include:

  • Finish the whole course. Stopping early because you feel better can let the infection rebound and encourages resistant bacteria.
  • Space doses evenly through the day to keep a steady level in your body.
  • Take with or without food as directed; taking it with food can ease stomach upset.
  • Tell your prescriber about any allergies, particularly to penicillin or other antibiotics, and about other medicines you take.

If you miss a dose, take it as soon as you remember unless it is nearly time for the next one. Do not take a double dose.

Possible side effects

Most people tolerate cephalexin well. Common side effects include nausea, stomach upset and diarrhoea, which are usually mild. As with many antibiotics, disturbing the gut's natural bacteria can occasionally lead to thrush or more troublesome diarrhoea.

Seek urgent medical help if you notice signs of a serious allergic reaction, such as a rash, swelling of the lips, face or throat, or difficulty breathing. Severe, watery or bloody diarrhoea during or after treatment should also be reported promptly.

Allergy, alcohol and contraception

If you have ever reacted to a penicillin or cephalosporin antibiotic, this is essential information for your prescriber. Cephalexin does not have a dangerous interaction with alcohol, but moderation helps your body recover and limits stomach upset. As with other antibiotics, vomiting or severe diarrhoea can reduce absorption of the contraceptive pill, so use backup protection and ask your pharmacist if this occurs.

When to see a doctor

Contact your doctor if your symptoms fail to improve within a few days, worsen, or return after the course. Always seek advice before starting if you are pregnant, breastfeeding, have kidney problems, or take other regular medicines.

You can explore our full antibiotics range, compare it with the Amoxicillin guide, or shop all for general wellbeing products. Used appropriately and completed in full, cephalexin is a dependable antibiotic for many common bacterial infections.

General information only — not medical advice. Always read the patient information leaflet and consult a doctor or pharmacist before starting any medication.

Frequently asked questions

Can I take cephalexin if I'm allergic to penicillin?+

Cephalexin is chemically related to penicillin, so there is a small chance of cross-reactivity. Always tell your doctor or pharmacist about any penicillin allergy so they can decide whether cephalexin is safe for you.

What is cephalexin used to treat?+

Cephalexin is used for various bacterial infections, including some skin, urinary, respiratory, throat, ear and bone infections. It does not treat viral illnesses such as colds or flu.

Should I take cephalexin with food?+

Cephalexin can be taken with or without food, but taking it with a meal may help if it upsets your stomach. Follow the directions on your label and in the patient information leaflet.

What if I miss a dose of cephalexin?+

Take the missed dose as soon as you remember, unless it is nearly time for your next one, in which case skip it. Never take a double dose to catch up, and complete the full course as prescribed.

Mentioned in this guide

Shop the treatments covered here

Genuine medicines from the guide above — discreetly delivered across the UK & Europe.

Free delivery over €110 Genuine, pharmacist-checked
Shop all products

Related treatments

Browse the medicines and conditions related to this guide:

cephalexinantibioticscephalosporinbacterial infectionsskin infections

Related guides

  • Amoxicillin and alcohol: what actually happens if you drink

    Summary: Moderate alcohol doesn't stop amoxicillin working and doesn't cause the violent reaction people fear — that belongs to metronidazole, a different antibiotic. The NHS confirms drinking in moderation is acceptable with amoxicillin. The honest caveats: alcohol worsens the illness symptoms, burdens recovery, and a handful of OTHER antibiotics genuinely are dangerous with drink — so know which one you're holding.

  • Amoxicillin: uses, dosage and how to take this antibiotic correctly

    Summary: amoxicillin is a common penicillin antibiotic for bacterial infections — chest, ear, throat, dental and urinary. Typical adult dose is 250–500mg three times a day; always finish the full course. Here's what it treats, how to take it, side effects and the crucial antibiotic-resistance rules.

  • Buying amoxicillin online: how it works and how to do it responsibly

    Summary: amoxicillin is a prescription antibiotic, so buying it online means using a verifiable seller and using it responsibly — only for genuine bacterial infections, the right dose, the full course. Here's how online buying works, the genuine-product checks, and the stewardship rules.

All health guides