Keflex (Cephalexin)

Keflex
Indications:
infections
Analogs:
Cephalexin Keftab
Order cephalexin tablets (Keflex) online in 250 mg and 500 mg strengths for the treatment of susceptible bacterial infections, as prescribed by your clinician.

Dosages

Keflex 250 mg

Quantity Price per tablet Total price
60 $1.00 $60.00
90 $0.96 $86.00
120 $0.93 $111.00
180 $0.90 $162.00
270 $0.88 $238.00
360 $0.88 $317.00

Keflex 500 mg

Quantity Price per tablet Total price
60 $1.17 $70.00
90 $1.11 $100.00
120 $1.09 $131.00
180 $1.07 $193.00
270 $1.05 $283.00
360 $1.04 $374.00

Keflex 750 mg

Quantity Price per tablet Total price
30 $1.63 $49.00
60 $1.43 $86.00
90 $1.37 $123.00
120 $1.34 $161.00
180 $1.31 $235.00
270 $1.29 $347.00

Payment & Shipping

Package Example

Your order is carefully packed and ships within 24 hours. Here is what a typical package looks like.

Sized like a regular personal letter (9.4x4.3x0.3 inches), with no indication of what is inside.

Front View
Front View
Side View
Side View
Back View
Back View
Shipping Times
Shipping MethodEstimated delivery
Express Free for orders over $300.00Estimated delivery to the U.S.: 4-7 days
Standard Free for orders over $200.00Estimated delivery to the U.S.: 14-21 days
Payment Methods
VisaMastercardAmerican ExpressDiscoverBitcoin, USDTZelleApple PayGoogle PayPayPal

Discount Coupons

  • Independence Day - July 4, 2026 10% JULY410
  • Labor Day - September 7, 2026 7% LABOR07
  • Thanksgiving - November 26, 2026 9% THANKS09

Brand Names

Also known as (by country):
CountryBrand Names
Argentina
Beliam Butefina Cefagrand Cefalexi Cefapoten Cefarinol Cefasporina Cefosporen Ceporexin Fabotop Keforal Lafexina Lars Lexin Lorbicefax Novalexin Pectorina Permvastat Sanibiotic Septilisin Trexina Triblix Velexina
Australia
Ceflin Ceporex Cilex Ialex Ibilex Rancef Sporahexal
Belgium
Ceporex Keforal
Brazil
Betacef Cefaben Cefagel Cefagon Cefagran Cefalen Cefalexan Cefanal Cefaporex Cefaxon Cefexina Ceflexin Celen Celexin Celinax Ceporexin Falexin Kefalexin Keflaxina Keforal Kiflexin Lexin Lifalexin Neo Ceflex Neoceflex Primacef Profalexina Todexin Valflex
Canada
Apo-Cephalex Ceporex Novo-Lexin Nu-Cephalex
Czechia
Cefaclen Oracef Ospexin Sporidex
Finland
Kefalex Kefexin Orakef
France
Cefacet Ceporexine Keforal
Germany
Cephalex Ceporexin Oracef
Greece
Kefalospes Kefaxin Keflogen Kekrinal Medalexine Neptolin Nylichlor Sinthecillin Tricylamil Zabytrex
Hungary
Pyassan Servispor
Italy
Abiocef Cefadros Cepo Ceporex Coliceflor Domucef Ibilex Keforal Lafarin Latoral Lorexina Sintolexyn Zetacef Zetacef-lis
Japan
Larixin
Malaysia
Cefax Celexin Cephanmycin Ceporex Felexin Kefexin Medolexin Ospexin Refex Sofilex Sporidex Uphalexin
Mexico
Acacin Ancetev Arlexen Capxin Cefalver Ceporex Facelit Falexol Fleximin Flextinol Meta-K Nafacil Naxifelar Nixelaf-C Optocef Paferxin Quimosporina Servicef Sporicef
Netherlands
Ceporex Keforal
Portugal
Ceflax Ceporex
Spain
Bioporina Bioscefal Cefadina Cefaleh Ina Cefalexgobens Cefalival Cefalorex Cefamiso Ceferran Cefibacter Ceporex Cilicef Defaxina Efemida Erifalecin Fergon Janocilin Karilexina Kefloridina Lensafrend Lerporina Lexibiotico Lexincef Libesporal Sporol Sulquipen Talinsul Torlasporin Ultralexin Valesporin
Turkey
Maksipor Sef
United States
Biocef Cefanex Keflet Keftab Zartan
ManufacturerBrand Names
Sun Pharmaceutical Industries Ltd.Sporidex DT

FAQ

Cephalexin is a cephalosporin antibiotic used to treat certain bacterial infections caused by susceptible organisms, including respiratory tract infections (such as streptococcal pharyngitis), otitis media, skin and skin-structure infections, urinary tract infections, and bone infections. It works by inhibiting bacterial cell-wall synthesis, which can kill susceptible bacteria.

Dosing depends on the infection, its severity, and kidney function. In adults and patients 15 years and older, common regimens include 250 mg every 6 hours or 500 mg every 12 hours; more severe infections may require higher doses, up to 4 g per day in divided doses. Duration is often 7 to 14 days, but your prescriber will set the exact course. Children typically receive weight-based dosing prescribed by a clinician.

Cephalexin is commonly available as capsules and as an oral suspension (liquid). Availability of tablets can vary by manufacturer and market; use the form your clinician prescribes and that your pharmacy dispenses.

Common side effects include nausea, diarrhea, stomach pain, and headache. Serious side effects can occur, including severe allergic reactions and severe or persistent diarrhea (which can be a sign of antibiotic-associated colitis). Seek urgent care for hives, swelling of the face/throat, trouble breathing, or fainting.

Yes. Cephalexin can interact with probenecid and may affect anticoagulants such as warfarin (monitoring may be needed). It can also interact with some diabetes medicines such as metformin in certain patients. Tell your clinician and pharmacist about all medicines and supplements you take.

Alcohol is not known to directly stop cephalexin from working, but drinking—especially heavy drinking—can worsen side effects like nausea, stomach upset, or dizziness and may slow recovery. If unsure, ask your clinician.

Tell your clinician if you have kidney disease, a history of severe antibiotic allergy, or a history of significant gastrointestinal disease (including prior antibiotic-associated colitis). Use antibiotics only for bacterial infections and take the full course as prescribed unless your prescriber tells you to stop.

Cephalexin is used in children and older adults, but dosing may need adjustment—especially in older adults or anyone with reduced kidney function. A clinician should determine the correct dose and schedule.

Cephalexin is a first-generation cephalosporin. It is often effective for susceptible Gram-positive bacteria and some Gram-negative bacteria, and is commonly used for skin infections and certain respiratory infections. It is not the best choice for every infection; selection depends on the suspected bacteria, local resistance patterns, and patient factors.

Yes. Misuse (such as taking antibiotics for viral illnesses, skipping doses, or stopping early) can promote resistance and make infections harder to treat. Take cephalexin exactly as prescribed and complete the course unless your prescriber advises otherwise.

No. Cephalexin does not treat viral infections such as colds or influenza. Antibiotics should only be used for bacterial infections.

Some people start to feel better within a couple of days, but improvement depends on the infection and severity. Contact your clinician if symptoms do not improve or worsen after 48–72 hours, or if you develop severe side effects.

Yes. Cephalexin is a prescription antibiotic in the US. Use it only under the direction of a licensed clinician.

Take the missed dose as soon as you remember. If it is close to your next scheduled dose, skip the missed dose and return to your regular schedule. Do not take two doses at the same time to make up for a missed one.

No. Stopping early can allow the infection to return and may contribute to antibiotic resistance. Finish the prescribed course unless your prescriber tells you to stop.

Yes. Allergic reactions can range from rash to severe reactions such as anaphylaxis. Seek urgent medical help for hives, swelling, dizziness/fainting, or trouble breathing. Tell your clinician if you have a history of penicillin or cephalosporin allergy.

Yes. Cephalexin can be taken with or without food. Taking it with food may help reduce nausea or stomach discomfort.

Cephalexin may be used during pregnancy and breastfeeding when clinically indicated, but you should discuss risks and benefits with your clinician. If breastfeeding, monitor the infant for diarrhea, rash, or thrush and contact a clinician if concerns arise.

Store capsules at controlled room temperature: 20°C to 25°C (68°F to 77°F), away from moisture and direct light. For oral suspension, follow the product directions; after mixing, many products should be refrigerated and any unused portion is typically discarded after 14 days.

Sometimes. A clinician or dentist may prescribe cephalexin for certain dental infections when antibiotics are indicated, but dental procedures (such as drainage or other treatment) may still be needed.

Yes. Antibiotics can disrupt normal flora and increase the risk of yeast overgrowth in some people. If you develop itching, unusual discharge, or other symptoms, contact your clinician.

Cephalexin inhibits bacterial cell-wall synthesis, which can lead to rupture and death of susceptible bacteria. It is generally more active against many Gram-positive organisms and has activity against some Gram-negative organisms.

Description

Note: Images in the description are provided for informational purposes and may differ from the actual appearance of the product. Please refer to the product name, strength, ingredients, and dosage form.

Cephalexin is an antibiotic in the cephalosporin class of drugs. It is commonly prescribed to treat bacterial infections affecting various parts of the body, including the respiratory tract, otitis media (ear infections), skin and skin structure, bone, and genitourinary tract infections (including acute prostatitis), when caused by susceptible bacteria.

By interfering with bacterial cell wall synthesis, cephalexin helps treat bacterial infections. It is generally well tolerated and is available in different forms, making it a practical choice for many patients. Due to its established use and clinical experience, healthcare professionals frequently prescribe cephalexin when it is an appropriate option.

What Is Cephalexin?

Cephalexin is a first-generation cephalosporin antibiotic used to treat certain bacterial infections. It is primarily active against many Gram-positive bacteria, including Streptococcus and Staphylococcus species, and some Gram-negative bacteria, depending on local resistance patterns.

Keflex 500 mg

Cephalexin is commonly prescribed for strep throat (streptococcal pharyngitis), skin and skin structure infections, otitis media, certain respiratory tract infections, bone infections, and certain genitourinary tract infections, depending on susceptibility. It is available in different forms, including capsules, tablets, and oral suspension, providing flexibility for patients with different needs. Since it is an oral antibiotic, it is often used in outpatient treatment when hospitalization is not required.

The History of Cephalexin

Cephalexin, a first-generation cephalosporin antibiotic, has been used in medicine for decades. Developed as part of the expanding cephalosporin class, cephalexin was designed to combat bacterial infections by targeting the bacterial cell wall.

Over the decades, cephalexin has remained widely prescribed due to extensive clinical experience and a favorable safety profile when used as directed.

How Does Cephalexin Work?

Cephalexin works by inhibiting bacterial cell wall synthesis, an essential process for bacterial survival. It binds to penicillin-binding proteins (PBPs) in bacterial cells, disrupting the formation of peptidoglycan, a key structural component of the bacterial cell wall. Without a proper cell wall, bacteria can lose integrity and die.

Because human cells do not have cell walls, this mechanism targets bacteria rather than human cells.

Pharmacokinetics of Cephalexin

Cephalexin is rapidly absorbed after oral administration, with peak serum levels typically reached at about 1 hour. Once absorbed, it distributes into many tissues and is primarily eliminated through the kidneys, so renal function is an important consideration when determining dosing; in patients with impaired kidney function, dosage adjustments may be necessary to help prevent accumulation.

Cephalexin is acid stable and may be taken without regard to meals. About 10% to 15% of a dose is bound to plasma proteins.

Cephalexin is not appreciably metabolized. Studies showed that over 90% of the drug was excreted unchanged in the urine within 8 hours by glomerular filtration and tubular secretion; peak urine concentrations following a 500 mg dose were approximately 2200 mcg/mL (about 2.2 mg/mL).

Probenecid delays urinary excretion. Cephalexin is removed by hemodialysis and peritoneal dialysis.

Cephalexin Warnings and Precautions

Before starting cephalexin treatment, it is essential to determine whether the patient has had any prior hypersensitivity reactions to cephalexin, cephalosporins, penicillins, or other medications. Patients with a known penicillin allergy should be treated cautiously, as cross-hypersensitivity among beta-lactam antibacterial drugs may occur in up to 10% of patients with a history of penicillin allergy (per FDA labeling). If signs or symptoms of an allergic reaction occur, cephalexin should be discontinued immediately, and appropriate treatment/supportive measures should be instituted as clinically indicated.

Cross-allergenicity between penicillins and cephalosporins has been reported, with some individuals experiencing severe reactions, including anaphylaxis, to both drug classes. Therefore, cephalexin should be prescribed cautiously in patients with a history of medication allergies.

Clostridioides difficile-Associated Diarrhea (CDAD)

Clostridium difficile-associated diarrhea (CDAD) is a known risk with nearly all antibacterial agents, including cephalexin. The severity of CDAD can range from mild diarrhea to life-threatening colitis. Antibiotic use can disrupt the normal gut flora, leading to an overgrowth of C. difficile. Some strains of C. difficile produce hypertoxins associated with increased morbidity and mortality, sometimes requiring colectomy. CDAD should be considered in any patient who develops diarrhea following antibiotic use, including cases reported over two months after administration of antibacterial agents. If CDAD is suspected, ongoing antibiotic therapy not directed against C. difficile may need to be discontinued, and appropriate fluid and electrolyte management, protein supplementation, antibiotic treatment of C. difficile, and surgical evaluation should be considered as clinically indicated.

General Precautions

Patients should be closely monitored for adverse reactions. If an allergic reaction occurs, cephalexin must be discontinued, and appropriate treatment/supportive measures should be provided.

Prolonged use of cephalexin may lead to overgrowth of non-susceptible organisms, requiring close observation for secondary infections.

A positive direct Coombs test result has been reported with cephalosporin antibiotics, potentially affecting transfusion cross-matching procedures.

Cephalexin should be used cautiously in individuals with kidney impairment. Dose adjustments and renal function monitoring may be necessary.

Cephalosporins may reduce prothrombin activity, especially in patients with liver or kidney impairment, poor nutrition, prolonged antibiotic use, or anticoagulant therapy. Prothrombin time should be monitored in patients at risk and managed as indicated.

Patient Information

Patients should be informed that cephalexin treats bacterial infections and is ineffective against viral infections like the common cold. Completing the prescribed course is essential to help reduce the risk of drug-resistant bacteria, even if symptoms improve early.

Patients should also be aware that antibiotics commonly cause mild diarrhea. However, if severe diarrhea with watery or bloody stools occurs — especially with fever and abdominal cramps — medical attention should be sought immediately, as this could indicate CDAD.

Drug Interactions

  • Metformin: Co-administration with cephalexin may increase metformin plasma concentrations and decrease renal clearance, warranting monitoring and potential dosage adjustments.
  • Probenecid: Probenecid inhibits the renal elimination of cephalexin; co-administration is generally not recommended.

Laboratory Test Interactions

Cephalexin may cause false-positive results for urine glucose tests when using Benedict’s or Fehling’s solutions or Clinitest tablets.

Carcinogenesis, Mutagenesis, and Fertility

Long-term studies evaluating cephalexin’s carcinogenic potential have not been conducted, nor has the drug been tested for mutagenicity. However, reproductive studies in rats have not demonstrated any impact on fertility at doses up to 1.5 times the highest recommended human dose.

Use in Special Populations

Pregnancy (Category B)

Animal studies in mice and rats at doses up to 1.5 times the maximum human dose have not shown fetal harm. However, there are no well-controlled studies in pregnant women, so cephalexin should be used only if clearly needed.

Nursing Mothers

Cephalexin is excreted in human milk. Caution should be exercised when prescribing cephalexin to breastfeeding women.

Pediatric Use

Cephalexin is used in pediatric patients; dosing recommendations in FDA labeling are provided for children over 1 year of age. Cephalexin capsules should only be used in children and adolescents who can swallow them.

Geriatric Use

Among 701 patients in three clinical studies, 62% were aged 65 or older. No significant differences in safety or effectiveness were observed between older and younger patients. However, since the kidneys primarily eliminate cephalexin, elderly patients with renal impairment may be at increased risk of toxicity. Dose adjustments and renal function monitoring should be considered.

Different Forms of Cephalexin

Understanding the different forms of cephalexin is crucial for effective treatment. If you are unsure about its uses or dosages, consult your doctor to ensure proper administration.

Forms of Cephalexin

Cephalexin is available in different forms to cater to patients’ varying needs. Some may find it easier to swallow pills, while others may require liquid medication. Below is a comparison of the different forms, including their advantages, disadvantages, and common use cases.

Form of Cephalexin

Pros

Cons

Use

Best for

Capsules

Precise dosing, convenient storage

Difficult to swallow for some patients

Used for certain bacterial infections when the bacteria are susceptible (as prescribed)

Adults and older children who can swallow capsules

Tablets

Convenient oral option, easy to store

Can be difficult to swallow for some people

Used for certain bacterial infections when the bacteria are susceptible (as prescribed)

Adults and older children

Oral Suspension

Easier for children and those with swallowing difficulties; flexible dosing

After mixing, requires refrigeration and has a limited beyond-use period

Often used when patients cannot swallow solid forms

Young children and individuals with difficulty swallowing pills

When considering a form of cephalexin, it is important to take into account potential side effects as well as any known interactions with other medications you may be taking.

When to Use Each Form of Cephalexin

Each form has specific advantages depending on the individual’s circumstances.

Capsules

Capsules are generally prescribed to adults and older children who can comfortably swallow pills. This form is convenient, easy to store, and commonly used in outpatient treatment. However, they are not ideal for patients who have difficulty swallowing pills. In such cases, an alternative form may be more suitable.

Tablets

Tablets are another common form and are often used for both adults and older children who can swallow pills. Some tablets may allow dose adjustments depending on the prescribed regimen, but not all tablets are intended to be split—follow the directions provided by your pharmacist or clinician.

Oral Suspension

Oral suspension is typically preferred for children or anyone who struggles with swallowing pills. The dosage can be measured and adjusted precisely, which is particularly useful when dosing is weight-based. After mixing (reconstitution), the suspension is typically stored in the refrigerator and may be kept for up to 14 days without significant loss of potency—follow the storage directions on your specific bottle. Shake well before each dose.

Recommendations for Choosing Cephalexin Forms

Selecting the correct form of cephalexin depends on several factors, including age, ability to swallow pills, and the prescribed regimen. Here are some recommendations:

  • If you are an adult or older child, capsules or tablets are often convenient choices due to easy storage and straightforward dosing.
  • Oral suspension is commonly used for children and for patients who cannot swallow solid forms. It allows for flexible, measured dosing.
  • Patients with swallowing difficulties may prefer oral suspension to reduce choking risk.
  • Always follow your doctor’s prescription and dosing guidelines to ensure effective treatment and minimize the risk of antibiotic resistance.

Selecting the correct form of cephalexin and following proper usage guidelines can support effective treatment while minimizing potential risks. Always consult a healthcare provider before starting any antibiotic therapy.

Cephalexin Dosages

The appropriate dosage depends on the condition being treated, the severity of the infection, and the patient’s age and weight.

For example, mild infections may require lower doses, while more severe infections or less susceptible bacteria might necessitate higher or more frequent dosing. Ensure you purchase the correct dosage as prescribed by your doctor. Taking the wrong dosage can lead to ineffective treatment or antibiotic resistance.

Dosage for Adults

Below, you will find standard dosing information from FDA labeling for adults and pediatric patients at least 15 years of age. Treatment is typically administered for 7 to 14 days depending on the infection type and severity.

Otitis Media
  • 250 to 333 mg taken orally every 6 hours, or 500 mg taken orally every 12 hours.
  • Maximum dosage: 4 g per day.
  • Treatment duration: 7 to 14 days.

Indication: Used for treating otitis media caused by susceptible isolates of Streptococcus pneumoniae, Haemophilus influenzae, Staphylococcus aureus, Streptococcus pyogenes, and Moraxella catarrhalis.

Respiratory Tract Infections
  • 250 to 333 mg taken orally every 6 hours, or 500 mg taken orally every 12 hours.
  • Maximum dosage: 4 g per day.
  • Treatment duration: 7 to 14 days.

Indication: Used for treating respiratory tract infections caused by susceptible isolates of S. pneumoniae and S. pyogenes. For β-hemolytic streptococcal infections, a treatment duration of at least 10 days is recommended.

Skin or Soft Tissue Infections
  • 250 to 333 mg taken orally every 6 hours, or 500 mg taken orally every 12 hours.
  • Maximum dosage: 4 g per day.
  • Treatment duration: 7 to 14 days.

Indication: Used for treating skin and skin structure infections caused by susceptible isolates of Staphylococcus aureus and Streptococcus pyogenes.

Bone Infections
  • 250 to 333 mg taken orally every 6 hours, or 500 mg taken orally every 12 hours.
  • Maximum dosage: 4 g per day.
  • Treatment duration: 7 to 14 days.

Indication: Used for treating bone infections caused by susceptible isolates of S. aureus and Proteus mirabilis.

Genitourinary Tract Infections (Including Acute Prostatitis)
  • 250 to 333 mg taken orally every 6 hours, or 500 mg taken orally every 12 hours.
  • Maximum dosage: 4 g per day.
  • Treatment duration: 7 to 14 days.

Indication: Used for treating genitourinary tract infections, including acute prostatitis, caused by susceptible isolates of Escherichia coli, P. mirabilis, and Klebsiella pneumoniae.

Note: The dosing information below is guideline-based and may represent used off-label use; it does not replace FDA-approved labeling. Always follow a clinician’s prescription.

Bacterial Endocarditis Prophylaxis (Guideline-Based; May Be Used Off-Label)
  • 2 g orally as a single dose, administered 30 to 60 minutes before the procedure.

Indication: Guideline-based dosing for patients who require infective endocarditis prophylaxis before certain dental procedures (only for specific high-risk cardiac conditions). Not an FDA-approved indication for cephalexin.

IDSA / Other Guideline Dosing (May Be Used Off-Label)
  • Skin or soft tissue infections: 500 mg orally four times daily.
  • Impetigo: 250 mg orally four times daily.
  • Pharyngitis: 20 mg/kg orally twice daily (maximum single dose: 500 mg).
  • Treatment duration: 10 days (for β-hemolytic streptococcal infections).

Condition

Dosage

Maximum Daily Dose

Treatment Duration

Indication

Otitis Media

250-333 mg every 6 hours, or 500 mg every 12 hours

4 g

7-14 days

Susceptible isolates of S. pneumoniae, H. influenzae, S. aureus, S. pyogenes, M. catarrhalis

Respiratory Tract Infections

250-333 mg every 6 hours, or 500 mg every 12 hours

4 g

7-14 days (≥10 days for β-hemolytic streptococcal infections)

Susceptible isolates of S. pneumoniae and S. pyogenes

Skin or Soft Tissue Infections

250-333 mg every 6 hours, or 500 mg every 12 hours

4 g

7-14 days

Susceptible isolates of S. aureus and S. pyogenes

Bone Infections

250-333 mg every 6 hours, or 500 mg every 12 hours

4 g

7-14 days

Susceptible isolates of S. aureus and P. mirabilis

Genitourinary Tract Infections (Including Acute Prostatitis)

250-333 mg every 6 hours, or 500 mg every 12 hours

4 g

7-14 days

Susceptible isolates of E. coli, P. mirabilis, K. pneumoniae

Dosage for Children

Cephalexin is prescribed in pediatric patients using weight-based dosing. The recommended total daily dose for pediatric patients over 1 year of age is typically 25 to 50 mg/kg per day in equally divided doses for 7 to 14 days. In severe infections, a total daily dose of 50 to 100 mg/kg per day may be administered in equally divided doses. For otitis media, the recommended total daily dose is 75 to 100 mg/kg per day in equally divided doses.

Otitis Media
  • 75 to 100 mg/kg per day in equally divided doses (for example, every 6 hours).
All Other Indications (General Pediatric Dosing, Over 1 Year)
  • 25 to 50 mg/kg per day in equally divided doses.
  • Severe infections: 50 to 100 mg/kg per day in equally divided doses.
  • Duration: 7 to 14 days (β-hemolytic streptococcal infections require at least 10 days).
Precautions

Safety and efficacy in children under 1 year of age have not been established.

What to Do in Case of a Missed Dose or Overdose

If a dose of cephalexin is missed, take it as soon as remembered. However, if it is almost time for the next dose, skip the missed dose—do not take a double dose. In the case of an overdose, symptoms may include nausea, vomiting, stomach pain, diarrhea, and (rarely) seizures, particularly in patients with renal impairment. If an overdose is suspected, seek immediate medical attention and contact Poison Control.

Other Instructions

Cephalexin can be taken with or without food. Capsules and tablets should be swallowed with a full glass of water.

Animal studies have not shown fetal harm, but there are no adequate and well-controlled studies in pregnant people; use during pregnancy only if clearly needed and as prescribed. Cephalexin is excreted in human milk; use caution while breastfeeding and monitor the infant for diarrhea, thrush, or rash.

Patients should remain vigilant for signs of Clostridioides difficile-associated diarrhea, such as watery or bloody diarrhea, abdominal cramps, or fever, which can occur during treatment or in the weeks to months after antibiotics. To help reduce resistance, complete the full prescribed course, even if symptoms improve.

Contraindications to Cephalexin for Different Age Groups

Specific age groups and medical conditions can make the use of cephalexin either dangerous or ineffective. In this article, we cover age-related and condition-related precautions to support safer use.

Neonates (0-28 Days Old)

Neonates, or newborns, have immature organ systems, particularly their kidneys, which can affect how certain medicines are cleared from the body. For oral cephalexin, safety and effectiveness have not been established in infants younger than 1 year; use in neonates should be determined by a clinician.

In cases where antibiotics are required, pediatric clinicians select an agent and regimen based on the suspected infection, likely bacteria, and the baby’s overall health.

Infants and Young Children (1 Month – 12 Years)

Cephalexin may be prescribed for bacterial infections in children, and dosing is typically weight-based (mg/kg). Dose adjustment may be needed in children with renal impairment.

Children with a known allergy to cephalosporins should not take cephalexin. If there is a history of severe allergy to penicillins, a clinician should assess whether cephalexin is appropriate.

All antibiotics, including cephalexin, can be associated with antibiotic-associated diarrhea, including C. difficile–associated diarrhea. Use caution in patients with a history of colitis, and seek medical care for severe, watery, or persistent diarrhea.

Adolescents and Adults (13-65 Years)

Symptoms of a serious allergic reaction may include swelling, difficulty breathing, or widespread rash; seek urgent medical care if these occur.

Additionally, those with kidney dysfunction may require dose adjustment. Cephalosporins have been associated with seizures, particularly in patients with renal impairment when the dosage was not reduced.

Elderly (65+ Years)

Because cephalexin is eliminated primarily by the kidneys, dosing may need to be modified in patients with reduced renal function, and monitoring during treatment may be appropriate.

Contraindications and Precautions by Medical Conditions

Allergy to Cephalosporins or Penicillins

People who have experienced severe allergic reactions to cephalosporins should not take cephalexin. If there is a history of severe allergy to penicillins, a clinician should assess whether cephalexin is appropriate due to possible cross-reactivity. Allergic reactions can range from mild rashes to severe, life-threatening anaphylaxis. Patients should inform their healthcare providers about any antibiotic allergies.

Renal (Kidney) Impairment

Because cephalexin is primarily eliminated through the kidneys, dosage reduction and/or extended dosing intervals may be needed in patients with renal impairment. A clinician should determine the regimen and monitor response and tolerability.

Gastrointestinal Conditions

Patients with a history of antibiotic-associated colitis or C. difficile–associated diarrhea should use caution with antibiotics. Cephalexin can disrupt normal gut flora and may contribute to diarrhea; seek medical care for severe or persistent diarrhea.

Liver Disease

Cephalexin is not appreciably metabolized. Patients with significant liver disease should still discuss all medications with their clinician, especially if other comorbidities are present.

Diabetes

Some oral suspension formulations may contain sugars or other carbohydrate-based ingredients. People with diabetes should check the product ingredients and monitor glucose as advised by their clinician or pharmacist.

Pregnancy and Breastfeeding

If you are pregnant, planning pregnancy, or breastfeeding, use cephalexin only if prescribed. Discuss benefits and risks with your clinician. Small amounts can pass into breast milk; monitor the infant for diarrhea, thrush, or rash.

Cephalexin Interactions

While cephalexin is generally well tolerated, it can interact with certain medications, vaccines, supplements, and pre-existing medical conditions. Understanding these interactions can help you use cephalexin appropriately and reduce the risk of complications.

Does Cephalexin Interact with Food or Drinks?

There is no known direct interaction between cephalexin and alcohol. However, alcohol can worsen dehydration or stomach upset and may make it harder to recover, so consider limiting alcohol while you’re being treated for an infection.

Can Cephalexin Be Taken with Dairy?

Cephalexin does not significantly interact with dairy products, unlike some antibiotics such as tetracyclines. You can generally consume milk, cheese, yogurt, and other dairy foods while taking cephalexin.

If cephalexin causes stomach discomfort, taking it with food (including dairy) may help. If digestive issues persist, speak with a clinician.

Cephalexin and Drug Interactions

Some medications can affect cephalexin therapy or increase the risk of side effects.

Examples of clinically important interactions and considerations include:

  • Metformin: Co-administration can increase plasma metformin concentrations and reduce its renal clearance. Your clinician may recommend monitoring and possible dose adjustment.
  • Probenecid: Can reduce renal excretion of cephalexin and increase cephalexin exposure; co-administration is generally not recommended.
  • Urine glucose tests: Cephalexin may cause a false-positive urine glucose result (method-dependent).
  • Anticoagulants / bleeding risk: Cephalosporins may be associated with prolonged prothrombin time (PT). If you take warfarin or other anticoagulants, your clinician may monitor PT/INR more closely.
  • Live oral vaccines (travel vaccines): Antibiotics can reduce the effectiveness of live attenuated oral typhoid (Ty21a) and oral cholera vaccines. Vaccination timing may need adjustment.

If you are unsure whether your medications are compatible with cephalexin, consult your clinician or pharmacist.

Cephalexin and Birth Control

Most antibiotics (including cephalexin) have not been shown to routinely reduce the effectiveness of hormonal birth control. However, vomiting or severe diarrhea can reduce absorption of an oral contraceptive pill.

If you experience prolonged vomiting or severe diarrhea, consider a backup contraceptive method (such as condoms) and follow the guidance for missed pills in your contraceptive’s instructions.

Cephalexin and Pre-Existing Medical Conditions

Certain health conditions may increase the risk of side effects or require closer monitoring when taking cephalexin. If you have any of the following, consult a clinician:

  • History of colitis or antibiotic-associated diarrhea (including C. difficile–associated diarrhea).
  • Kidney disease (dose adjustment may be needed because cephalexin is eliminated through the kidneys).
  • Diabetes: cephalexin may cause a false-positive urine glucose test (method-dependent).
  • Liver disease: discuss use with a clinician, especially with significant hepatic impairment or prolonged therapy.
  • Dialysis (requires individualized dosing and monitoring).
  • Prolonged prothrombin time (PT) or anticoagulant therapy (monitoring may be needed).
  • Seizure disorders (risk can be higher in renal impairment if dosage is not adjusted).

Mixing Cephalexin with Herbal Remedies and Supplements

Evidence on interactions with many herbal products is limited. To be safe, consult a healthcare provider before combining cephalexin with herbal remedies or dietary supplements.

If you take zinc-containing products, consider separating doses (for example, take zinc at least 2 hours before or 4–6 hours after your cephalexin dose). If you are unsure, ask a pharmacist for a schedule that fits your regimen.

Side Effects of Cephalexin

Gastrointestinal Issues

One of the most common side effects associated with cephalexin is gastrointestinal discomfort. This can include symptoms such as:

  • Diarrhea – this is one of the most frequently reported side effects. Seek medical care if diarrhea is severe, watery, persistent, or contains blood.
  • Nausea and vomiting – may occur in some people.
  • Abdominal pain – some individuals may experience discomfort in the stomach area.
  • Dyspepsia (indigestion) and gastritis – may cause bloating, nausea, and discomfort after eating.

In some cases, antibiotics (including cephalexin) can be associated with severe diarrhea, including Clostridioides difficile-associated diarrhea (CDAD). If you experience persistent or severe diarrhea, contact a healthcare provider promptly.

Allergic Reactions

Cephalexin can trigger allergic reactions that may be severe. Seek urgent medical help if you experience signs of a serious allergic reaction, such as:

  • difficulty breathing or wheezing;
  • swelling of the face, lips, mouth, tongue, or throat;
  • trouble swallowing or a sensation of tightness in the throat;
  • hives (itchy, raised rash), widespread rash, or severe skin symptoms;
  • dizziness, lightheadedness, or fainting.

Rarely, serious skin reactions such as erythema multiforme, Stevens-Johnson syndrome (SJS), or toxic epidermal necrolysis (TEN) can occur and require urgent medical care.

Seizures

Seizures have been reported with cephalosporins, particularly in patients with renal impairment when the dosage is not reduced. Seek urgent medical advice if you notice possible seizure symptoms, such as:

  • muscle twitching, jerking, spasms, tremors, or other involuntary movements;
  • stiffening of the arms and legs;
  • confusion or sudden changes in awareness;
  • falling or losing consciousness.

Antibiotic-Associated Diarrhea (C. diff)

Clostridioides difficile (C. diff) infection can occur when antibiotics disrupt the normal gut microbiome. Diarrhea can develop during treatment or in the weeks to months after taking antibiotics. Contact a healthcare provider if you experience:

  • watery diarrhea;
  • persistent diarrhea;
  • blood in your stool;
  • severe abdominal cramps;
  • fever developing during or after treatment.

Blood Disorders

Rare blood-related side effects (including hemolytic anemia) have been reported. Contact a healthcare provider promptly if you experience symptoms such as:

  • yellowing of the skin or the whites of your eyes (jaundice);
  • unexplained weakness or fatigue;
  • dizziness, lightheadedness, or feeling faint;
  • shortness of breath.

Other Possible Side Effects

Aside from the side effects listed above, cephalexin may cause other effects, including:

  • genital or anal itching;
  • yeast infections (including vaginal yeast infections);
  • vaginal discharge and vaginitis;
  • fatigue, dizziness, or headache;
  • rare nervous system effects such as agitation, confusion, or hallucinations;
  • joint pain;
  • rare kidney inflammation (interstitial nephritis);
  • changes in liver-related lab tests (for example, AST/ALT) have been reported.

Risk of Superinfection

Prolonged or inappropriate use of antibiotics can disrupt the natural balance of bacteria in the body, potentially leading to superinfection (for example, thrush or yeast infections) or contributing to C. diff–associated diarrhea. Contact a healthcare provider if you notice unusual symptoms such as persistent diarrhea or fungal infections during treatment.

Impact on Pregnancy and Breastfeeding

Animal studies have not shown harm to the fetus, but there are no adequate and well-controlled studies in pregnant people. Use cephalexin during pregnancy only if clearly needed and as prescribed. Cephalexin is excreted in human milk; use caution while breastfeeding and monitor the infant for diarrhea, thrush, or rash.

Precautions for Specific Populations

Some people may need additional caution or monitoring when taking cephalexin, including those with a history of colitis/antibiotic-associated diarrhea, kidney impairment (dose adjustment may be needed), or a history of severe allergy to beta-lactam antibiotics. Always inform your healthcare provider of your medical history.

Altered Laboratory Results

Cephalexin and other cephalosporins have been associated with changes in certain lab tests. Reported effects include:

  • prolonged prothrombin time (PT), especially in at-risk patients;
  • changes in kidney-related labs (for example, BUN/creatinine) in some cases;
  • rare hematologic abnormalities (reported postmarketing for the cephalosporin class).

What to Do if You Experience Side Effects

If you experience side effects, consult a healthcare provider. Supportive care may be enough for mild symptoms, but for severe reactions, urgent evaluation may be needed.

Follow the prescribed dosage. If you have kidney problems, your clinician may need to adjust your regimen.

Cephalexin and Antibiotic Resistance

Bacteria can become resistant to cephalexin through several mechanisms that allow them to survive despite the presence of the antibiotic. One way is through changes in penicillin-binding proteins (PBPs), which can reduce binding of beta-lactam antibiotics like cephalexin and make cell-wall inhibition less effective.

Another common mechanism is the production of beta-lactamase enzymes, which can inactivate beta-lactam antibiotics and reduce cephalexin’s activity against certain bacteria. These resistant bacteria can multiply, leading to infections that no longer respond to cephalexin.

Bacteria may also use efflux pumps (transport proteins that expel antibiotics) or form biofilms, which can make infections harder to treat and may require alternative or prolonged therapy.

The Growing Threat of Cephalexin Resistance

The overuse and misuse of antibiotics are major drivers of antimicrobial resistance. Cephalexin is prescribed for common infections, and unnecessary or inappropriate use increases selective pressure, allowing resistant strains to emerge and spread.

Resistance patterns vary by region and over time. For infections such as UTIs and skin infections, clinicians often rely on local susceptibility data (antibiograms) and culture results when available to guide antibiotic selection. If resistance rates rise locally, cephalexin may be less suitable for empiric therapy in some settings, and other options may be considered.

Different forms of cephalexin (capsules, tablets, oral suspension) may affect dosing flexibility and ease of use, which can influence adherence.

Preventing Antibiotic Resistance When Taking Cephalexin

It is crucial to take cephalexin responsibly to minimize the risk of resistance. Patients should follow their clinician’s instructions and avoid stopping the medication early unless advised. Incomplete treatment can allow surviving bacteria to persist and may increase the chance of recurrence.

Self-medication is another major issue. Antibiotics like cephalexin do not treat viral infections such as the flu or common cold. Never share antibiotics with others or use leftover antibiotics, as the infection and dose may be different.

Patients uncertain about the correct dosage for their condition should consult a healthcare provider to ensure they are taking the right amount for the appropriate duration. Appropriate use helps slow the development of resistance and preserve antibiotic effectiveness.

Another key consideration is how cephalexin interacts with other medications. Some drugs may increase the risk of side effects or affect how treatment is managed.

Consequences of Cephalexin Resistance

The development of antibiotic resistance has serious implications for both individuals and public health. When bacteria become resistant to cephalexin, once treatable infections may no longer respond to the drug. This can result in treatment failure, longer recovery times, and a higher risk of complications.

Patients with resistant infections may require alternative antibiotics, which can carry different risks or require intravenous administration in some cases. This can increase medical costs for individuals and healthcare systems. Resistant strains can also spread within communities and healthcare facilities, making infections harder to control.

Resistance poses a challenge for many areas of medical care, including situations where antibiotics are used to treat or prevent infections. The effectiveness and risks of cephalexin can also vary across life stages. Understanding Contraindications to Cephalexin for Different Age Groups is important when deciding whether cephalexin is an appropriate choice.

Global Efforts to Combat Cephalexin Resistance

To address the growing threat of antimicrobial resistance, healthcare organizations worldwide implement strategies to slow its progression. Antibiotic stewardship programs aim to ensure antibiotics are prescribed only when needed and used appropriately, and they encourage targeted treatment based on clinical evaluation and culture results when available.

Public awareness campaigns also educate people about the dangers of antibiotic misuse and when antibiotics should and should not be used. Surveillance and research help monitor resistance patterns and guide treatment recommendations, while supporting the development of new tools to prevent and treat infections.

Comparison of Cephalexin with Other Antibiotics

Understanding how cephalexin compares to other frequently prescribed antibiotics can help clinicians and patients understand key differences when an antibiotic is prescribed for a specific infection.

Commonly Prescribed Antibiotics

Several antibiotics are frequently prescribed to treat bacterial infections, each with its own spectrum and typical uses. Commonly used antibiotics include:

  1. Amoxicillin – A penicillin-class antibiotic widely used for certain respiratory and ear infections, and some urinary tract infections depending on susceptibility.
  2. Azithromycin – A macrolide antibiotic used for certain respiratory infections, some skin infections, and certain sexually transmitted infections.
  3. Doxycycline – A tetracycline antibiotic used for acne, certain respiratory infections (including atypicals), and tick-borne illnesses.
  4. Ciprofloxacin – A fluoroquinolone antibiotic used for certain urinary tract infections and some types of bacterial diarrhea.
  5. Clindamycin – A lincosamide antibiotic used for certain skin, bone, dental, and anaerobic infections.
  6. Metronidazole – Used primarily for anaerobic and protozoal infections (and bacterial vaginosis).
  7. Sulfamethoxazole/Trimethoprim (Bactrim) – A combination antibiotic used for certain UTIs, some MRSA skin infections, and Pneumocystis jirovecii pneumonia (PJP).
  8. Levofloxacin – A fluoroquinolone used for certain respiratory, urinary, and skin infections.
  9. Nitrofurantoin – Primarily used for uncomplicated urinary tract infections.
  10. Cephalexin – A first-generation cephalosporin commonly used for skin and soft tissue infections and some urinary tract infections, depending on susceptibility.

Comparison of Cephalexin with Other Commonly Used Antibiotics

Antibiotic

Spectrum of Activity

Mechanism of Action

Common Indications

Side Effects

Formulation/Administration

Cephalexin

Primarily Gram-positive; limited Gram-negative

Inhibits bacterial cell wall synthesis

Skin and soft tissue infections, certain urinary tract infections, and certain respiratory tract infections (depending on susceptibility)

GI upset, rash, allergic reactions

Oral (capsules, tablets, suspension)

Amoxicillin

Gram-positive & some Gram-negative

Inhibits bacterial cell wall synthesis

Ear, throat, and certain respiratory infections; some UTIs depending on susceptibility

GI distress, rash, allergic reactions

Oral (tablets/capsules, suspension)

Azithromycin

Broad-spectrum, including atypicals

Inhibits protein synthesis

Certain respiratory infections, certain STIs, some skin infections

GI upset, QT prolongation

Oral, IV

Doxycycline

Broad-spectrum, including intracellular bacteria

Inhibits protein synthesis

Acne, tick-borne infections, and certain respiratory infections (including atypicals)

Photosensitivity, GI upset

Oral

Ciprofloxacin

Broad-spectrum, especially Gram-negative

Inhibits DNA replication

Certain UTIs, certain GI infections, anthrax (post-exposure)

Tendinitis/tendon rupture, peripheral neuropathy, CNS effects

Oral, IV

Clindamycin

Gram-positive and anaerobes

Inhibits protein synthesis

Certain skin, dental, and anaerobic infections

C. difficile infection risk, GI upset

Oral, IV, topical

Metronidazole

Anaerobes, protozoa

Disrupts DNA synthesis

Bacterial vaginosis, certain anaerobic infections, protozoal infections (e.g., trichomoniasis). C. difficile infection: not first-line in many current guidelines.

Metallic taste, neuropathy (longer courses), alcohol interaction

Oral, IV

Bactrim

Broad-spectrum, including some MRSA

Inhibits folic acid synthesis

Certain UTIs, some MRSA skin infections, and Pneumocystis jirovecii pneumonia (PJP)

Rash, rare severe skin reactions (e.g., SJS/TEN), hyperkalemia

Oral, IV

Levofloxacin

Broad-spectrum

Inhibits DNA replication

Certain respiratory, urinary, and skin infections

Tendinitis/tendon rupture, peripheral neuropathy, CNS effects

Oral, IV

Nitrofurantoin

Urinary pathogens (used for lower-tract infections)

Damages bacterial DNA

Uncomplicated UTIs

GI upset, rare pulmonary/hepatic toxicity (risk increases with prolonged use)

Oral

Key Comparisons

Spectrum of Activity

Cephalexin mainly covers Gram-positive bacteria, which can make it suitable for certain skin and soft tissue infections. Broader-spectrum options such as amoxicillin (in some scenarios) and azithromycin may be selected depending on the suspected pathogen and clinical setting.

Clinical Applications

Cephalexin is commonly used for skin and soft tissue infections, certain UTIs, and certain respiratory tract infections when the expected bacteria are susceptible. Other antibiotics (e.g., azithromycin or doxycycline) may be preferred for atypical respiratory pathogens or intracellular organisms.

Resistance Considerations

Some bacteria that produce beta-lactamases may be resistant to cephalexin, and cephalexin does not cover MRSA. Local resistance patterns and culture results can help guide antibiotic choice.

Side Effects and Safety

Cephalexin is generally well-tolerated but may cause GI upset and allergic reactions. Fluoroquinolones (ciprofloxacin, levofloxacin) carry warnings for serious adverse effects (including tendinitis/tendon rupture and peripheral neuropathy), which can limit their use for certain uncomplicated infections.

Formulations and Administration

Cephalexin is primarily an oral medication, whereas some other antibiotics, such as clindamycin and levofloxacin, also have IV formulations that may be used in more severe infections.

Age Considerations

Cephalexin is commonly used in pediatric patients. Some antibiotics have age-related considerations (for example, tetracyclines are generally avoided for prolonged/repeated courses in young children due to tooth-related effects, though doxycycline may still be recommended for certain serious tick-borne infections).

Benefits of Cephalexin

  • Cephalexin is often effective against susceptible streptococcal and methicillin-susceptible staphylococcal infections.
  • Cephalexin is generally well tolerated when used as directed, though side effects can occur.
  • Available in capsules, tablets, and suspension, which can make it easier to use at home.
  • Because cross-reactivity can occur, patients with penicillin allergy should discuss cephalexin use with a clinician; it may be considered in some cases depending on the allergy history.
  • May be used as a first-line option for certain infections when it matches the likely or confirmed pathogen and local resistance patterns.

How to Store Cephalexin Tablets

Keep the tablets in the original packaging until use to help protect them from moisture, and keep all medicines out of reach of children.

Do not use cephalexin tablets past the expiration date on the package.

Reviewed by
Donna Brettler
BPharm, MPH - Pharmacologist and medical writer

Other Antibiotics medications