skip to main content
Medicine guide

cefalexin

oral cephalosporin for bacterial infections

Cefalexin is a prescription cephalosporin antibiotic that kills susceptible bacteria. It is commonly used for bacterial infections affecting the chest, urinary tract, skin and soft tissues, and middle ear.

Last reviewed19 Aug 2026

cefalexin at a glance

Available forms

Tablets, capsules and oral liquid

Food

Can be taken with or without food

What is cefalexin used for?

Selected products are licensed to treat infections caused by susceptible organisms.

Respiratory tract infections

Urinary tract infections

Skin and soft-tissue infections

Otitis media

Other infections where the causative organism is susceptible to cefalexin

Mechanism, explained

How does cefalexin work?

Cefalexin disrupts construction of the bacterial cell wall while susceptible bacteria are multiplying, causing the cells to break down. It does not treat viral infections.

cefalexin preparations and strengths

How to take cefalexin

Follow the prescription label and your clinician's instructions.

Swallow tablets or capsules whole with water; do not chew or break them.

Cefalexin may be taken with or without food. Taking it after food may help nausea.

Measure liquid with an oral syringe or medicine spoon rather than a kitchen teaspoon.

Check the dispensing label for storage and expiry instructions for reconstituted liquid.

cefalexin side effects

Common or expected effects

  • Diarrhoea
  • Nausea or vomiting
  • Abdominal pain or discomfort
  • Indigestion

Get urgent medical advice

  • Anaphylaxis, including facial or throat swelling and breathing difficulty
  • Severe, persistent or bloody diarrhoea, which may indicate antibiotic-associated colitis
  • Blistering, peeling or pustular skin reactions
  • Yellow skin or eyes, dark urine or pale stools
  • Unexplained bruising or other signs of a blood disorder

cefalexin in pregnancy

Cefalexin can be used during pregnancy when clinically needed. Most pregnancy studies of cephalosporins have not shown harm to the baby, and adequately treating maternal infection is important. Tell the prescriber that you are pregnant.

cefalexin while breastfeeding

Cefalexin is generally compatible with breastfeeding because only small amounts enter milk. Seek advice if the infant feeds poorly or develops vomiting, diarrhoea, oral thrush or a rash. Extra caution may be appropriate for an unwell or premature infant.

cefalexin interactions

Tell the prescriber or pharmacist about all medicines and supplements. Relevant interactions include:

Zinc supplements

Zinc can reduce cefalexin absorption. Do not take them together; ask a pharmacist how to separate them.

Common questions about cefalexin

Answers are fully visible for fast scanning and source review.

Can cefalexin affect contraception?

Cefalexin does not directly reduce contraceptive effectiveness. Severe diarrhoea may reduce absorption of contraceptive pills, so follow the instructions supplied with the contraceptive.

More questions about cefalexin

Sources

These sources were used to prepare and review this medicine page.

Explore this learning need in CPDTake this topic to CPD, then choose your learning context and available question library.

Prepared and reviewed by the iatroX editorial team.