DoseFacts

Cephalosporin antibiotics

Also in: हिन्दी தமிழ் मराठी తెలుగు ಕನ್ನಡ বাংলা ગુજરાતી മലയാളം ਪੰਜਾਬੀ ଓଡ଼ିଆ অসমীয়া

Cephalosporins are a large group of antibiotics used to treat infections caused by bacteria, such as chest, throat, skin, ear and urinary infections. Some are taken by mouth, and others are injections used for serious infections such as meningitis and sepsis. Examples include cefalexin, cefuroxime, cefixime and ceftriaxone. They are related to penicillins, so some people allergic to penicillin also react to them.

Medically reviewed by: V.Ragha Sai Pravallika, B.Pharm · Reg. No. TG081267 (Telangana Pharmacy Council)

Last reviewed:

Last updated: · Report an error

How do cephalosporin antibiotics work?

Cephalosporins kill bacteria by stopping them from building their cell wall, so the bacteria break apart and die. They belong to the beta-lactam family of antibiotics, which also includes penicillins. They act only on bacteria, so they do not help colds, flu or other viral infections.

What are cephalosporin antibiotics used for?

  • Chest infections, including pneumonia and flare-ups of chronic bronchitis
  • Throat and tonsil infections, sinus infections and middle-ear infections
  • Urinary tract infections
  • Skin infections
  • Gonorrhoea
  • Serious infections treated with injections, such as meningitis, sepsis, bone and joint infections and infections inside the abdomen
  • Preventing infection around some operations
  • Preventing heart-valve infection before some dental procedures in people with certain heart conditions who are allergic to penicillin

Active ingredients of this type

These active ingredients belong to Cephalosporin antibiotics. They are listed A to Z.

  • Cefixime: Cefixime is a third-generation cephalosporin antibiotic used to treat certain bacterial infections, including some urinary tract, throat and chest infections.
  • Cefuroxime: Cefuroxime is a second-generation cephalosporin antibiotic used to treat certain bacterial infections, including some throat, sinus, chest, skin and urinary tract infections.

Side effects of cephalosporin antibiotics

Most people take a cephalosporin without serious problems. Stomach and bowel upsets are the most common side effects, and how often they happen differs between medicines. A few rare side effects need medical help.

Uncommon or mild

  • Diarrhoea or loose stools (the NHS advises drinking plenty of fluids)
  • Feeling sick or being sick
  • Stomach pain, indigestion or wind
  • Headache
  • Vaginal thrush or genital itching
  • Pain, tenderness or hardness where an injection was given

Rare but serious: get medical help

  • Swelling of the lips, mouth, tongue or throat, struggling to breathe, a tight throat, or fainting: a severe allergic reaction (anaphylaxis). Call 112 or your local emergency number at once
  • A swollen, blistered or peeling rash, or mouth sores with a rash: a rare serious skin reaction. Call 112 or your local emergency number at once
  • Severe or watery diarrhoea, or diarrhoea with blood or mucus, even weeks after the course has ended: a possible C. difficile bowel infection. Contact a doctor straight away, and check with a doctor or pharmacist before taking any medicine for diarrhoea
  • Yellow skin or eyes, dark urine or pale stools: a possible liver problem. Contact a doctor straight away
  • Unexplained bruising or bleeding: some cephalosporins lower blood-clotting factors. Contact a doctor straight away
  • Fits (seizures), reported mainly in people with kidney problems: contact a doctor straight away. The NHS advises calling for emergency help if it is a first fit or it lasts more than 5 minutes: Call 112 or your local emergency number
  • Pale skin, weakness or breathlessness when active: rarely, a breakdown of red blood cells (haemolytic anaemia). The ceftriaxone and cefotetan labels report severe cases, some fatal, so contact a doctor straight away. MedlinePlus lists these symptoms for ceftriaxone as ones to tell your doctor about if they are severe or do not go away

Who should be careful

Most adults and children can take a cephalosporin. Tell the doctor first if any of these apply.

  • A past allergic reaction to any cephalosporin, penicillin or other antibiotic (see the FAQ on penicillin allergy below)
  • A past severe skin reaction, or severe or bloody diarrhoea, after an antibiotic
  • Kidney disease: the dose may need to change; fits have been reported mainly when it was not adjusted
  • Liver disease, poor nutrition, a bleeding problem or taking a blood thinner: clotting may be affected
  • Diabetes: some cephalosporins can upset certain urine and blood sugar tests, so tell the person doing the test
  • Pregnancy or trying for a baby (see the FAQ on pregnancy below)
  • Breastfeeding: small amounts of some cephalosporins pass into breast milk, and cefalexin has caused diarrhoea in a few babies. Ask your doctor, and tell a doctor, midwife or pharmacist if your baby has diarrhoea, thrush, a rash or is not feeding well

Medicines and things that interact with cephalosporin antibiotics

Interactions differ between cephalosporins, and each medicine's leaflet lists its own. Tell your doctor or pharmacist about everything you take, including supplements.

  • Warfarin and other blood thinners: clotting tests may be needed more often
  • Probenecid (a gout medicine): it raises the level of some cephalosporins, such as cefalexin and cefuroxime
  • Metformin (a diabetes medicine): cefalexin can raise its level
  • Carbamazepine (an epilepsy medicine): its level has been reported to rise with cefixime
  • Antacids and acid-lowering medicines such as famotidine or omeprazole: they lower how much cefuroxime tablets are absorbed
  • Zinc supplements: the NHS advises a gap of at least 3 hours before and after cefalexin
  • Water tablets such as furosemide, and other antibiotics: tell the doctor. Kidney checks may be needed when some cephalosporins are given with aminoglycoside antibiotics such as gentamicin
  • Calcium-containing drips: the ceftriaxone label says they are not mixed with ceftriaxone, and in newborns they are not given with it at all
  • Hormonal contraception: the NHS says cefalexin does not stop it working, though severe diarrhoea for more than 24 hours can stop the pill working; US advice (MedlinePlus) suggests a backup method. Ask your doctor
  • Alcohol: fine with cefalexin, says the NHS, but it can cause a reaction with cefotetan (see the FAQ below)

How cephalosporin antibiotics compare with other medicines

Cephalosporins and penicillins are both beta-lactam antibiotics, and some people allergic to one also react to the other. The NHS lists cephalosporins among six main antibiotic groups, alongside penicillins, macrolides, tetracyclines, aminoglycosides and fluoroquinolones; macrolides are one option for people with penicillin allergy. The doctor chooses an antibiotic according to the bacteria suspected, not by group or generation alone.

Common questions

What antibiotics are in the cephalosporin family?

Examples include cefalexin (also spelled cephalexin), cefadroxil, cefuroxime, cefaclor, cefixime, cefpodoxime, ceftriaxone, ceftazidime and cefepime, and newer ones such as ceftaroline. Cefalexin, cefuroxime and cefixime are taken by mouth, while ceftriaxone is given by injection.

Can cephalosporins be taken with food?

It depends on the medicine. The NHS says cefalexin can be taken with or without food. The US cefuroxime tablet label also allows either, though more of the medicine is absorbed after food. The leaflet for each medicine explains how to take it, or ask your pharmacist.

What do first, second, third and fourth generation cephalosporins mean?

Generations group cephalosporins by the bacteria they act on. The MSD Manual says first-generation ones, such as cefalexin, act mainly on gram-positive bacteria, and higher generations, such as cefuroxime, cefixime, ceftriaxone and cefepime, generally reach more gram-negative bacteria. A generation describes range, not strength; the doctor matches the medicine to the infection.

Can I take a cephalosporin if I am allergic to penicillin?

Sometimes, but it is the doctor's decision. US product labels say up to 1 in 10 people with a history of penicillin allergy may react to a cephalosporin; the MSD Manual puts it at about 2 in 100, lower with later generations. The cefuroxime label rules it out after a severe beta-lactam reaction. Tell your doctor about every past reaction.

What antibiotics can I take if I am allergic to cephalosporins?

A doctor chooses an antibiotic from a different group, depending on the infection and your allergy history. Penicillins may also need care, because the two groups are related. Tell every doctor, dentist and pharmacist about your allergy, and describe what happened.

Can you drink alcohol with cephalosporin antibiotics?

It depends on the medicine. The NHS says drinking alcohol is fine with cefalexin. Cefotetan, an injected cephalosporin, can cause flushing, sweating, headache and a fast heartbeat if alcohol is drunk within 72 hours of a dose. Check the leaflet or ask your pharmacist about your medicine.

How long do cephalosporins take to work?

Most people start to feel better within a few days, depending on the infection, says the NHS for cefalexin. Tell your doctor if you are not improving after 2 to 3 days or feel worse at any time. The NHS also advises finishing the course even if you feel better; talk to your doctor or pharmacist before any change.

What happens if a dose of a cephalosporin is missed?

Each medicine's leaflet explains what to do. For cefalexin, the NHS says to take the missed dose as soon as you remember, unless the next dose is nearly due, and not to take two doses at once to make up for one. Ask your pharmacist if you are unsure.

Can children take cephalosporins?

Yes, the NHS says most adults and children can take cefalexin, often as a liquid, with lower doses for children. The ceftriaxone label rules it out for some newborns: those born early, those with jaundice, and those who need calcium through a drip. The doctor decides the medicine and dose.

Can cephalosporins be taken during pregnancy?

Some can. The NHS says cefalexin can be taken at any stage of pregnancy, with no evidence of harm to the baby. US labels for cefixime, cefuroxime and cefalexin say published studies have not shown a link with birth defects or miscarriage. Tell your doctor if you are pregnant or trying for a baby.

Sources

  1. Antibiotics. NHS (UK)
  2. Cefalexin: an antibiotic to treat bacterial infections (about, side effects, who can take it, pregnancy, interactions, common questions). NHS (UK)
  3. Cephalexin: MedlinePlus Drug Information. MedlinePlus, US National Library of Medicine
  4. Ceftriaxone Injection: MedlinePlus Drug Information. MedlinePlus, US National Library of Medicine
  5. Epilepsy. NHS (UK)
  6. Cephalosporins (MSD Manual Professional Version). MSD Manual
  7. Cefixime tablets: prescribing information (Rising Pharma Holdings, revised 4/2026). DailyMed, US National Library of Medicine
  8. Cefuroxime axetil tablets: prescribing information (A-S Medication Solutions, revised 5/2026). DailyMed, US National Library of Medicine
  9. Cephalexin capsules: prescribing information (Aurobindo Pharma, revised 9/2026). DailyMed, US National Library of Medicine
  10. Ceftriaxone for injection: prescribing information (Fresenius Kabi USA, revised 11/2021). DailyMed, US National Library of Medicine
  11. Cefotetan for injection: prescribing information (Fresenius Kabi USA, updated 1/2025). DailyMed, US National Library of Medicine
  12. ATC/DDD Index: J01D Other beta-lactam antibacterials. WHO Collaborating Centre for Drug Statistics Methodology
  13. ATC/DDD Index: J01DB First-generation cephalosporins. WHO Collaborating Centre for Drug Statistics Methodology
  14. ATC/DDD Index: J01DC Second-generation cephalosporins. WHO Collaborating Centre for Drug Statistics Methodology
  15. ATC/DDD Index: J01DD Third-generation cephalosporins. WHO Collaborating Centre for Drug Statistics Methodology
  16. ATC/DDD Index: J01DE Fourth-generation cephalosporins. WHO Collaborating Centre for Drug Statistics Methodology
  17. ATC/DDD Index: J01DI Other cephalosporins and penems. WHO Collaborating Centre for Drug Statistics Methodology