Skip to content

Cephalexin: Uses, Side Effects, and How to Take It

Published: July 22, 2026Updated: July 22, 2026

Cephalexin is a cephalosporin antibiotic used to treat certain bacterial infections, including infections of the throat, ears, skin, and urinary tract. It does not treat viral illnesses such as colds or flu, and should be used only when prescribed by a healthcare professional.

Quick summary

Take cephalexin exactly as prescribed and finish the full course unless your clinician tells you to stop. Contact a doctor or pharmacist if you have a serious allergic reaction, severe or persistent diarrhea, or other concerning symptoms.

Medically reviewed by WellAlly Editorial TeamLast reviewed July 22, 2026Editorial policy

Key facts at a glance

ATC
J01DB01
Generic
Cephalexin
Class
antibiotic-beta-lactam
Brands
Keflex
Availability
rx
Pregnancy
B
Lactation
safe
Half-life (h)
1
Onset (min)
60
Duration (h)
6
Routes
oral
Forms
capsule, tablet
Regions
CN, US, EU, JP
Monitoring
allergy, renal-function

This page is for informational purposes only.

Do not use this information to diagnose yourself or to replace a physician's advice. Always consult a qualified healthcare provider before starting, stopping, or changing any medication. If you believe you are experiencing a medical emergency, call your local emergency number immediately.

Dosage and administration

adult (standard)tablet
Usual dose
500mg twice daily
Maximum
consult physician
Frequency
every 12 hours
Instructions
Follow physician instructions
Duration limits
as prescribed
Monitoring
standard
pediatric (standard)tablet
Usual dose
250mg twice daily
Maximum
consult physician
Frequency
every 12 hours
Instructions
Follow physician instructions
Duration limits
as prescribed
Monitoring
standard
geriatric (standard)tablet
Usual dose
250mg twice daily
Maximum
consult physician
Frequency
every 12 hours
Instructions
Follow physician instructions
Duration limits
as prescribed
Monitoring
standard

Overdose information

Important overdose information
Toxic dose: Single dose that may cause serious toxicity, though cephalexin generally has low acute toxicity
Chronic overdose: Prolonged high-dose therapy may lead to accumulation in patients with renal impairment
Immediate actions
Supportive care - gastric decontamination if large recent ingestion, monitor renal function, maintain hydration
Antidote
No specific antidote - supportive care only(N/A - no specific antidote exists for cephalexin overdose)
Poison Control: 1-800-222-1222

Special Populations

10 groups
⚠

pregnancy

first trimester
caution
FDA Category
B
Dose Adjustment

no standard adjustment

Key Recommendations

use only if benefits outweigh risks

Monitor

regular prenatal monitoring

Use with caution and monitor for adverse effects.

⚠

pregnancy

second trimester
caution
FDA Category
B
Dose Adjustment

no standard adjustment

Key Recommendations

use only if benefits outweigh risks

Monitor

regular prenatal monitoring

Use with caution and monitor for adverse effects.

⚠

pregnancy

third trimester
caution
FDA Category
B
Dose Adjustment

no standard adjustment

Key Recommendations

use only if benefits outweigh risks

Monitor

regular prenatal monitoring

Use with caution and monitor for adverse effects.

⚠

lactation

breastfeeding
caution
FDA Category
N
Dose Adjustment

no standard adjustment

Key Recommendations

use with caution monitor infant for diarrhea or candidiasis

Monitor

observe infant for gastrointestinal disturbances

Use with caution and monitor for adverse effects.

⚠

geriatric

elderly
caution
FDA Category
N
Dose Adjustment

adjust dose based on renal function

Key Recommendations

monitor renal function and adjust dose accordingly

Monitor

定期监测肾功能和不良反应

Use with caution and monitor for adverse effects.

✓

pediatric_age

children
safe
FDA Category
N
Dose Adjustment

dose based on body weight

Key Recommendations

standard pediatric dosing 25-50mg/kg/day divided every 6 hours

Monitor

monitor for allergic reactions and gastrointestinal effects

⚠

renal_impairment

moderate impairment
caution
FDA Category
N
Dose Adjustment

reduce dose by 50% when CrCl 10-50 mL/min

Key Recommendations

reduce dose and monitor renal function

Monitor

monitor renal function and serum drug levels if prolonged therapy

Use with caution and monitor for adverse effects.

⚠

renal_impairment

severe impairment
caution
FDA Category
N
Dose Adjustment

reduce dose by 75% when CrCl less than 10 mL/min

Key Recommendations

reduce dose significantly and extend dosing interval

Monitor

close monitoring of renal function and drug levels

Use with caution and monitor for adverse effects.

✓

hepatic_impairment

mild impairment
safe
FDA Category
N
Dose Adjustment

no adjustment needed

Key Recommendations

no dosage adjustment required

Monitor

standard monitoring

⚠

hepatic_impairment

moderate impairment
caution
FDA Category
N
Dose Adjustment

use with caution

Key Recommendations

monitor liver function tests

Monitor

monitor hepatic function

Use with caution and monitor for adverse effects.

Statistics and clinical data

prescribingFDA
2023

FDA approval year

Value:1971

Year when Cephalexin was first approved by the FDA

drug_classWHO
2023

Drug class

Value:First-generation cephalosporin antibiotic

Antibiotic class classification based on ATC system

usageMedical guidelines
2023

Common uses

Value:Skin infections, respiratory tract infections, urinary tract infections, bone infections

Common therapeutic uses for Cephalexin

mechanismFDA
2023

Mechanism of action

Value:Inhibits bacterial cell wall synthesis

Primary pharmacological mechanism of action

Contraindications

Conditions and patient states where this medication should be avoided or used with caution.

Do not use (1)

ABSOLUTEhypersensitivity

Known allergy to this medication or its components

Use caution (1)

RELATIVEpregnancy

Consult healthcare provider for benefits vs risks assessment

Official drug label

WellAlly may earn a referral fee from linked resources at no extra cost to you. Editorial content is never influenced by commercial relationships.

This information is for educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment.

Medical Disclaimer

This content is for general informational and educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek the guidance of a qualified healthcare provider with any questions you have about a medical condition, and never disregard professional medical advice or delay seeking it because of something you read here.

If you think you may have a medical emergency, call your local emergency number or go to the nearest emergency department immediately.

Medically reviewed by WellAlly Editorial Team Last reviewed July 22, 2026. · Read our editorial policy