Medicine · Cephalosporin Antibacterial · Cephalosporins

Cephalexin

Cephalexin is ampicillin's side chain on a cephalosporin core - the oral one that survived

What it is

Cephalexin is a first-generation cephalosporin, a beta-lactam antibiotic that kills bacteria by stopping them from building a cell wall, and it comes as a capsule, tablet or liquid. The molecule is a hybrid: the D-phenylglycine side chain that had already made ampicillin survive the stomach, welded onto the cephalosporin nucleus that Eli Lilly could only inject. That graft is why an injection-only class became a capsule. It is not metabolised at all, and more than 90 per cent of a dose leaves in urine within eight hours, unchanged; the 30- to 60-minute half-life is why the schedule is four doses a day rather than one.

What it does

Cephalexin is swallowed and crosses the wall of the small intestine on PEPT1, the transporter that normally carries dipeptides in from digested protein; the body mistakes the drug for a fragment of lunch. That is the trick that turns an injectable class into a capsule, and it is why stomach acid does not destroy it and a meal changes little. Peak blood levels arrive about an hour after a dose - roughly 9, 18 and 32 micrograms per millilitre after 250 mg, 500 mg and 1 g - and only 10 to 15 per cent of the drug is bound to plasma protein, so most of it is free to leave the blood. The liver does nothing to it. The kidney filters it and then secretes more of it into the tubule, and over 90 per cent of the dose leaves in urine within eight hours, unchanged. Urine concentrations after those same doses reach about 1,000, 2,200 and 5,000 micrograms per millilitre, orders of magnitude above what blood ever sees. That is the practical consequence: bladder, kidney and prostate infections sit in the one compartment where cephalexin is most concentrated, and the same rapid clearance is why the drug is dosed four times a day and why a failing kidney needs a smaller dose rather than a longer one.

How it works

The target is a bacterial enzyme, not a human one. Penicillin-binding proteins are transpeptidases: they sit on the outer face of the bacterial membrane and rivet new peptidoglycan strands together, using a D-alanyl-D-alanine end as the handle. Cephalexin ends in exactly that shape. The enzyme grips the drug as if it were the substrate, its active-site serine attacks the strained beta-lactam ring, and the ring opens and stays covalently attached. The rivet gun fires once and is welded shut. Think of a bricklayer whose trowel is glued to the first brick: the wall goes up course by course but nothing is bonded, and the next bit of growth splits it. That is roughly what happens. Cross-linking stops, the wall loses tensile strength while the cell keeps expanding, autolysins chew at the unprotected peptidoglycan, and water pressure finishes the job. The cell bursts. Because the kill depends on a process that only runs in a growing bacterium, cephalexin is bactericidal against dividing cells and indifferent to dormant ones - the reason a course is finished rather than abandoned when symptoms lift, and the reason the fraction of the dosing interval spent above the minimum inhibitory concentration predicts success. The side chain decides where this works. D-phenylglycine makes the molecule a zwitterion, which is the shape the intestinal peptide transporter accepts, and its bulk shields the beta-lactam ring from some bacterial enzymes. The spectrum is still first-generation: streptococci and methicillin-susceptible staphylococci first, with Escherichia coli, Proteus mirabilis, Klebsiella and Moraxella behind them. Resistance arrives by three routes - beta-lactamases that hydrolyse the ring before it reaches a target, the low-affinity PBP2a of MRSA, and the intrinsically low-affinity PBP5 of enterococci, which is why neither organism responds however high the dose.

Step by step

What it is used for

Dosing as the label states it

The label states 250 mg every 6 hours, or 500 mg every 12 hours, for 7 to 14 days, with up to 4 g daily in two to four divided doses for severe infections, and reduced regimens once creatinine clearance falls below 30 mL/min.

What to watch for

Interactions

Avoid if

How it was discovered

Cephalosporins begin in a sewer. In 1948 Giuseppe Brotzu, a hygiene professor in Cagliari, filtered water from a Sardinian sewage outfall and found a mould, Acremonium strictum, whose broth killed Salmonella typhi - a bacterium that had learned to dismantle penicillin. Guy Newton and Edward Abraham at Oxford isolated cephalosporin C from it, and its nucleus, 7-ACA, proved the chemical cousin of penicillin's 6-APA. But the first drug built on that nucleus, cefalotin, had to be injected: the gut would not let it through. The obstacle was absorption, not potency. Lilly's chemists answered it by attaching D-phenylglycine - the side chain that had already made ampicillin survive the stomach - to the cephalosporin core. Cephalexin, made in 1967, was not the first oral cephalosporin; cephaloglycin, sold as Kafocin, reached the market first and was withdrawn. Cephalexin is the one that stayed.

Approval history

Eli Lilly marketed the molecule as Keflex in 1969, while ChEMBL's curated record dates first approval to 1971; the two figures are quoted side by side and nothing reconciles them. What is not in doubt is the commercial shape. For two decades Keflex was the oral cephalosporin, prescribed for the strep throats, ear infections and cellulitis that filled general practice, with siblings Keflet, Keftab and Panixine DisperDose following it. All four now carry a MedlinePlus footnote saying the branded product is no longer marketed, the generics having taken the ground. The approval mattered less for novelty than for logistics: a hospital-only class became something a patient could finish at home.

Impact

WHO lists cephalexin among essential medicines and classifies it as highly important to human medicine - a designation about stewardship, not prestige. The scale is ordinary and enormous: more than seven million prescriptions in the United States in 2023, 86th on the national list; the fifth most-used antibiotic in Canada in 2013; a top-ten prescription in Australia in every year from 2017 to 2023. The scaffold reproduced too - cefadroxil is cephalexin with a hydroxyl added to its phenyl ring, and it inherited the same oral route and the same niche. In cellulitis trials published in 2023 and 2026, cephalexin is still the arm that new schedules are measured against.

What the research shows

Cephalexin is rarely the question in a trial; it is the floor other treatments are measured from. ClinicalTrials.gov holds 121 registered studies that mention it, and the largest by far is PADIT, a cluster-randomised crossover across 28 centres and 19,603 device procedures, which added two days of oral cephalexin, a vancomycin infusion and a bacitracin pocket wash to standard cefazolin prophylaxis: infection fell from 1.03 to 0.78 per cent, an odds ratio of 0.77 whose confidence interval crossed 1. Cellulitis is where it is most actively tested, with a 66-patient pilot comparing 1,000 mg with 500 mg four times daily, and a 2026 multicentre cohort of 300 adults finding 1,000 mg three times daily indistinguishable from 500 mg four times daily. The rest of the literature is pharmacokinetics - how zinc, acid suppression and kidney function move the curve - because after fifty years of use the efficacy question is settled by custom rather than by a modern placebo-controlled trial.

Key findings

What is still unsettled

The label's metformin figures come from single 500 mg doses of each drug; whether repeated cephalexin dosing compounds that 14 per cent fall in renal clearance has not been measured. Whether the absorption delay from acid suppression changes clinical outcomes, rather than just the time-above-MIC curve, is untested. And the INR rise associated with cephalosporins has never been separated cleanly from the illness and poor nutrition that accompany the infections they treat.

Open questions

Drug class

Related

Sources

RNAWiki is a reference directory, not medical advice. Check any decision with a pharmacist or clinician.