About cefalexin

Cefalexin is an antibiotic. It belongs to a group of antibiotics called cephalosporins.

It's used to treat bacterial infections, such as pneumonia and other chest infections, skin infections and urinary tract infections (UTIs).

Cefalexin is only available on prescription. It comes as capsules, tablets or as a liquid for children and people who find it difficult to swallow capsules or tablets.

Key facts

Who can and cannot take cefalexin

Cefalexin can be taken by most adults and children.

Cefalexin is not suitable for some people. To make sure cefalexin is safe for you, tell your doctor if you have:

How and when to take it


Always follow the advice of your doctor and the instructions that come with your medicine.

The dose of cefalexin can vary but for most infections you will take 500mg, two or three times a day.

The dose may be higher for severe infections and lower for children.

Try to space the doses evenly throughout the day. If you take it 3 times a day, this could be first thing in the morning, mid-afternoon and at bedtime.


Keep taking this medicine until you've completed the course, even if you feel better. If you stop your treatment early, the infection could come back.

How to take it

Cefalexin can be taken with or without food.

Capsules or tablets – swallow whole with a drink of water. Do not chew or break them.

Liquid – if you or your child are taking cefalexin as a liquid, it will usually be made up for you by a pharmacist. The medicine will come with a plastic syringe or medicine spoon to help you measure the right dose. If you do not have one, ask a pharmacist for one. Do not use a kitchen teaspoon as it will not give the right amount.

What if I forget to take it?

If you forget to take a dose, take it as soon as you remember, unless it's nearly time for your next dose. In this case, skip the missed dose and take your next dose at the usual time. Try to leave a gap of at least 4 hours between doses.

Never take 2 doses at the same time. Never take an extra dose to make up for a forgotten one.

If you forget doses often, it may help to set an alarm to remind you. You could also ask a pharmacist for advice on other ways to remember your medicines.

What if I take too much?

Accidentally taking 1 extra dose of cefalexin is unlikely to harm you or your child.

Speak to a pharmacist or doctor if you're worried or you take 2 extra doses or more.

Side effects

Like all medicines, cefalexin can cause side effects, although not everyone gets them.

Fewer than 1 in 100 people may have an allergic reaction to cefalexin. In most cases, the allergic reaction is mild.

Contact your doctor if:

  • you get a raised, itchy skin rash

Common side effects

These common side effects happen in around 1 in 10 people.

Keep taking the medicine, but talk to your doctor or pharmacist if these side effects bother you or do not go away:

Serious side effects

Serious side effects are rare and happen in less than 1 in 1,000 people.

Call your doctor immediately if you get:

Serious allergic reaction

In rare cases, cefalexin can cause a serious allergic reaction (anaphylaxis).

Call 999 or go to A&E if:

  • you get a skin rash that may include itchy, red, swollen, blistered or peeling skin or fever
  • you're wheezing
  • you get tightness in your chest or throat
  • you have trouble breathing or talking
  • your mouth, face, lips, tongue or throat start swelling

You could be having a serious allergic reaction and may need immediate treatment in hospital.

These are not all the side effects of cefalexin. For a full list see the leaflet inside your medicine packet.

You can report any suspected side effect to the UK safety scheme.

How to cope with side effects

What to do about:

Pregnancy and breastfeeding

It's usually safe to take cefalexin during pregnancy and while breastfeeding.

Read about how cephalosporin antibiotics like cefalexin can affect you and your baby on the Best Use of Medicines in Pregnancy (BUMPS) website.


For safety, tell your doctor if you're trying to get pregnant, are already pregnant or if you're breastfeeding.

Cautions with other medicines

Mixing cefalexin with herbal remedies and supplements

There are some medicines that do not mix well with cefalexin.

Tell your doctor if you're taking any of these medicines before you start taking cefalexin:

Do not take cefalexin at the same time as zinc supplements or anything with zinc in it. This is important because zinc may reduce the amount of cefalexin in your body, meaning the medicine cannot work as it's meant to.

If you do take supplements with zinc in them, make sure there is a gap of at least 3 hours before and after you take your cefalexin.


For safety, tell your doctor or a pharmacist if you're taking any other medicines, including herbal remedies, vitamins or supplements.

Common questions

How does cefalexin work? How long does it take to work? What if I do not get better? How long will I take it for? What is antibiotic resistance? What will happen if I stop taking it? How is it different to other antibiotics? Can I drink alcohol with it? Are there foods and drinks I should avoid? Will it affect my contraception? Will it affect my fertility? Can I drive or ride a bike?