Cephalosporins are a large family of beta-lactam antibiotics used to prevent or treat selected bacterial infections. Members of the family include oral medicines such as cephalexin and cefuroxime and injected medicines such as cefazolin, ceftriaxone and cefepime. Their uses range from uncomplicated infections in appropriate patients to serious hospital-treated infections. Although they share a mechanism of action, cephalosporins differ substantially in their bacterial coverage, route of administration, safety precautions and activity against resistant bacteria. [1]

Cephalosporins are often organized into generations. This is a useful teaching system, but it is not a ranking of effectiveness. A later-generation medicine is not automatically the best option for a specific infection. The appropriate choice depends on the suspected pathogen, susceptibility, infection site, patient factors and local guidance. [1]

How do cephalosporins work?

Cephalosporins bind to bacterial penicillin-binding proteins, enzymes needed to assemble the peptidoglycan cell wall. Interference with cell wall production can kill susceptible bacteria. They are consequently described as bactericidal antibiotics. Like other beta-lactams, their clinical effect depends on an adequate period of drug exposure relative to the organism’s susceptibility, among other factors. [1]

Their mechanism does not mean that all bacterial species are susceptible. Bacteria may naturally lack relevant targets or have barriers that prevent effective drug activity. Resistance may arise through beta-lactamases, altered target proteins or reduced access to targets. Some beta-lactamase inhibitors can restore activity of certain cephalosporin combinations against selected resistant organisms, but the effects are organism- and enzyme-specific. [1]

Cephalosporin generations and examples

Group Examples Important distinctions
First generation Cephalexin, cefadroxil, cefazolin Often active against susceptible streptococci and methicillin-susceptible Staphylococcus aureus (MSSA); some Gram-negative activity
Second generation Cefuroxime, cefaclor, cefprozil Different Gram-negative activity than first-generation agents; agents are not interchangeable
Cephamycins, often grouped with second generation Cefoxitin, cefotetan Additional activity against some anaerobes; susceptibility and local resistance matter
Third generation Ceftriaxone, cefotaxime, cefixime, cefpodoxime, ceftazidime Diverse profiles: ceftazidime has activity against susceptible Pseudomonas aeruginosa, unlike ceftriaxone
Fourth generation Cefepime Broad activity including susceptible P. aeruginosa; specialist use in serious infections
Anti-MRSA cephalosporins Ceftaroline, ceftobiprole Specific activity against susceptible MRSA; indications and regulatory availability vary
Specialized agents and combinations Ceftolozane/tazobactam, ceftazidime/avibactam, cefiderocol Used in selected infections, including some resistant Gram-negative infections; require pathogen-specific assessment

Some educational materials call certain anti-MRSA cephalosporins ‘fifth generation’. Clinical references increasingly describe them by their distinguishing anti-MRSA activity instead. Both labels can be encountered, so the specific medicine matters more than the number. [1]

Do not interpret the table as a prescribing or substitution guide. Within one generation, agents may differ in activity against specific organisms, tissue penetration and approved indications.

What conditions are treated with cephalosporins?

Depending on the drug and clinical situation, cephalosporins can be used for bacterial skin and soft-tissue infections, selected urinary tract infections, respiratory infections, certain bone and joint infections, meningitis and other invasive bacterial infections. Several agents are also important in surgical infection prevention when indicated by procedure-specific protocols. [1]

Skin and soft-tissue infections

Cephalexin and cefazolin are commonly used in appropriate cases involving susceptible streptococci or MSSA. A skin abscess may also require incision and drainage; antibiotics are not a substitute for necessary source control. Ordinary cephalexin and cefazolin should not be assumed to cover MRSA. [1]

Urinary tract infections

Some oral cephalosporins are options for selected urinary tract infections, although preferred agents vary with local guidelines, patient characteristics and laboratory susceptibility. Infection in the kidneys, pregnancy and complicated urinary disease require distinct evaluation. A positive urine culture without symptoms is not automatically an indication for antibiotics. [1]

Pneumonia and other respiratory infections

Ceftriaxone or cefotaxime can be components of selected hospital regimens for bacterial pneumonia. Other cephalosporins may be used for narrower respiratory indications. Their use depends on the syndrome and likely pathogens; cephalosporins do not treat viral influenza or the common cold. [1]

Meningitis and serious infections

Certain injected third-generation cephalosporins, particularly ceftriaxone and cefotaxime, can be used in guideline-directed treatment of bacterial meningitis. Appropriate regimens frequently require other medicines or modifications based on age and suspected organisms. Bacterial meningitis is a medical emergency and cannot be managed from a drug list alone. [1]

Prevention of surgical infection

Cefazolin is a common perioperative prophylaxis medicine for particular operations. The choice, administration time and need for prophylaxis are procedure-specific decisions, not a reason to take antibiotics independently around minor procedures. [1]

Which bacteria are not reliably covered?

A crucial limit of cephalosporins as a class is that they generally do not provide reliable treatment for Enterococcus infections, and they are not appropriate agents for Listeria monocytogenes. Conventional cephalosporins are also not reliable against MRSA, although ceftaroline and ceftobiprole are important exceptions for susceptible organisms. Activity against Pseudomonas aeruginosa is limited to specific agents and is affected by resistance. Some species producing extended-spectrum beta-lactamases (ESBLs) or other resistance enzymes may be resistant to many commonly used cephalosporins. [1]

Resistance and beta-lactamases

Bacterial enzymes called beta-lactamases can break down certain cephalosporins. Examples include ESBLs, AmpC beta-lactamases and some carbapenemases. The way these enzymes affect treatment varies greatly. Combinations such as ceftazidime/avibactam have specialized activity against certain enzyme-producing organisms, but no combination works against every resistance mechanism. Laboratory testing and current specialist guidance are important for resistant infections. [1,4]

Side effects and important precautions

Common adverse effects include nausea, diarrhea, abdominal discomfort, rash and reactions at an injection site. Like other systemic antibiotics, cephalosporins can contribute to Clostridioides difficile infection, a potential cause of severe antibiotic-associated diarrhea. [1,2]

Rare but serious adverse effects may include severe allergic reactions, serious skin reactions, blood count abnormalities and other drug-specific toxicities. Particular cephalosporins have additional precautions: [1,5]

  • Cefepime: neurotoxicity, including confusion, altered consciousness or seizures, is an important concern, especially when kidney function is reduced and exposure is excessive. Kidney function and appropriate dosing require clinical assessment.
  • Ceftriaxone: has special restrictions in certain neonates, including concerns relating to bilirubin displacement and calcium-containing intravenous solutions. It should never be treated as a universal neonatal substitute.
  • Some cephalosporins: may be associated with bleeding-related effects or other specific concerns; these risks are not interchangeable across the class. [5]

People with severe or persistent diarrhea, major rash, facial or throat swelling, difficulty breathing or neurological symptoms should seek appropriate medical assessment urgently. Severe breathing difficulty or swelling of the throat requires emergency care. [2]

Can people with penicillin allergy take cephalosporins?

Sometimes, but it depends on the actual allergy and the specific cephalosporin. Cephalosporins and penicillins are structurally related beta-lactam medicines. Cross-reactivity is influenced in part by similarity of chemical side chains; it should not be summarized as a uniform risk for every cephalosporin. A reported penicillin allergy may also be inaccurate or no longer clinically relevant. [3]

A clinician may assess the type, timing and severity of a prior reaction, whether the history suggests anaphylaxis or a severe delayed reaction, and whether formal allergy evaluation is appropriate. Patients should not experimentally take a related antibiotic to test an allergy without medical supervision. [3]

Pregnancy, breastfeeding and children

Many cephalosporins have long clinical experience in pregnancy and pediatrics, but decisions remain medicine-specific. The relevant infection, trimester, infant age, allergy history and renal function can change the benefit–risk assessment. Certain injected products have particular warnings in newborns. Breastfeeding compatibility should be assessed for the actual agent and clinical circumstances rather than assumed for the entire class. [5]

Oral versus intravenous cephalosporins

Some cephalosporins are available orally, while others are given by injection. Oral agents are not automatically suitable replacements for injectable agents: bioavailability, activity, dosing and site-specific drug concentrations differ. A transition from intravenous to oral treatment depends on the infection, the patient’s stability, susceptibility data and availability of an appropriate oral option.

Medicines in this class profiled here

MedicineRoutes / formsWHO AWaRe
CefaclorOralWatch
CefadroxilOralAccess
CefazolinIntravenous, intramuscularAccess
CefdinirOralWatch
CefepimeIntravenous, intramuscularWatch
Cefepime/zidebactamIntravenousNot yet classified (checked 2026-11-22)
CefiderocolIntravenousReserve
CefiximeOralWatch
CefotaximeIntravenous, intramuscularWatch
CefpodoximeOralWatch
Ceftaroline fosamilIntravenousReserve
CeftazidimeIntravenous, intramuscularWatch
Ceftazidime/avibactamIntravenousReserve
Ceftobiprole medocarilIntravenousReserve
Ceftolozane/tazobactamIntravenousReserve
CeftriaxoneIntravenous, intramuscularWatch
CefuroximeOral (axetil), intravenous, intramuscularWatch
Cephalexin (cefalexin)OralAccess

Frequently Asked Questions

Are newer-generation cephalosporins stronger?

Not in a universally meaningful sense. Different generations have different activity patterns, and the best treatment is the one appropriate for the identified infection.

Is ceftriaxone an oral antibiotic?

No. Ceftriaxone is administered by injection. Medicines with similar-sounding names may differ substantially in formulation and coverage.

Do cephalosporins work against MRSA?

Most conventional cephalosporins do not. Selected anti-MRSA cephalosporins, such as ceftaroline and ceftobiprole, may be active against susceptible MRSA, subject to approved indications and clinical evaluation.

Can cephalosporins treat a cold?

No. Colds are caused by viruses, and antibiotics do not treat viral infections.

Are cephalosporins safe if I had a penicillin rash?

That depends on the nature of the rash, timing and severity, and the proposed cephalosporin. Ask a qualified healthcare professional for an individual assessment.

Key Takeaways

Cephalosporins are bactericidal beta-lactam antibiotics covering a diverse range of clinical uses. Generation labels are orientation tools rather than rankings of effectiveness. A particular cephalosporin may be appropriate for a specific susceptible pathogen but unsuitable for a different infection, even when the agents belong to the same generation. Allergy history, renal function, drug-specific risks and bacterial resistance all matter.

References

  1. Merck Manual Professional Edition. Cephalosporins. https://www.merckmanuals.com/professional/infectious-diseases/bacteria-and-antibacterial-medications/cephalosporins
  2. Merck Manual Consumer Version. Cephalosporins (updated July 2026). https://www.merckmanuals.com/home/infections/antibiotics/cephalosporins
  3. CDC. Clinical Features of Penicillin Allergy. https://www.cdc.gov/antibiotic-use/hcp/clinical-signs/
  4. IDSA. Guidance on the Treatment of Antimicrobial-Resistant Gram-Negative Infections. https://www.idsociety.org/practice-guideline/amr-guidance/
  5. U.S. National Library of Medicine. DailyMed: Ceftriaxone for injection prescribing information (Apotex; example of drug-specific labeling — consult the label for the particular product). https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=5116231f-82d1-44be-b08e-560c9a50e5c5