Our Services
Medical Information
Helpful Resources
Published on: 9/14/2026
Keflex (cephalexin) usually starts fighting bacteria within hours of the first dose, but most people do not notice clear improvement in symptoms like pain, redness, or fever until about 24 to 48 hours in, with more complete relief by day 3. Slower response can happen with skin and soft tissue infections, bone or deeper infections, or when the bacteria are resistant, and worsening symptoms after 2 to 3 days is a reason to call a clinician. Finishing the full prescribed course, typically 7 to 14 days, matters even after you feel better, since stopping early invites relapse and resistance. Several factors affect the timeline, including infection type and site, dose and frequency, your kidney function, and whether you take it with food, so see below to understand more before deciding what to do next.
If you are unsure whether your symptoms are improving on schedule or quietly getting worse, a free, instant, online symptom check can help you compare what you are feeling against likely causes and red flags in just a few minutes, so you know whether to keep monitoring at home or get seen today.
Last reviewed for medical accuracy: 09/14/2026
Keflex (generic name: cephalexin) is a commonly prescribed antibiotic in the cephalosporin family. It’s effective against a wide range of bacterial infections, including skin infections, respiratory tract infections, ear infections, and urinary tract infections. Understanding how quickly keflex begins to work can help you set expectations for symptom relief and know when to seek further medical attention.
Mechanism of action
Keflex interferes with bacterial cell wall synthesis. By binding to specific penicillin-binding proteins (PBPs), it weakens the bacterial cell wall, causing the bacteria to burst and die.
Spectrum of activity
Effective against many gram-positive and some gram-negative bacteria, such as:
Type and severity of infection
Dosage and frequency
Patient’s overall health
Adherence to the full course
| Infection Type | Typical Course Length | Expected Improvement |
|---|---|---|
| Skin and soft tissue | 7–10 days | 24–48 hours |
| Urinary tract infections | 7 days | 24–72 hours |
| Respiratory tract infections | 7–14 days | 48–72 hours |
| Bone and joint infections | 4–6 weeks | May take longer than 72 hours |
Remember, these are general guidelines. Your doctor will tailor the dose and duration to your specific situation.
Look for these improvements in the first 1–3 days:
If you experience any of the following, call your healthcare provider promptly:
For non-urgent guidance on common symptoms, you might consider doing a free, online symptom check, using the doctor approved Ubie Symptom Checker.
Most side effects are mild and resolve on their own. Watch for:
If side effects become severe, persistent, or you experience signs of an allergic reaction, seek medical advice immediately.
Even if you feel well after a few days, bacteria can linger. Stopping keflex early can:
Keflex generally begins to work within 24–48 hours, with full relief by 72 hours for most uncomplicated infections.
Factors like infection type, dosage, and patient health affect the timeline.
Common courses range from 7 days (skin, UTIs) to 14 days (respiratory infections).
Watch for improvement in fever, pain, and swelling.
If symptoms don’t improve or worsen after 72 hours, contact your doctor.
Use keflex exactly as prescribed and complete the full course.
Manage mild side effects at home; seek help for severe reactions.
Consider a free, online symptom check, using the doctor approved Ubie Symptom Checker before deciding if you need a doctor’s appointment.
This information is meant to help you understand how long keflex may take to work. It does not replace professional medical advice. Always speak to a doctor about any life-threatening or serious symptoms. If you’re unsure whether keflex is right for you or if your infection isn’t improving, reach out to your healthcare provider.
(References)
* Roberge RJ, Fowler RM 4th, Mayer NM. Glossal abscess. Am J Emerg Med. 1989 Jul;7(4):406-8. doi: 10.1016/0735-6757(89)90048-x. PMID: 2735988.
* Gill CL. Cephalexin. J Am Dent Assoc. 1980 Feb;100(2):172-4. doi: 10.14219/jada.archive.1980.0055. PMID: 6928143.
* Skoog SM, Smyrk TC, Talwalkar JA. Cephalexin-induced cholestatic hepatitis. J Clin Gastroenterol. 2004 Oct;38(9):833. doi: 10.1097/01.mcg.0000139074.40365.04. PMID: 15365421.
* Ayazi P, Mahyar A, Taremiha A, Ghorani N, Esmailzadehha N. Effect of oral cephalexin in the treatment of BCG lymphadenitis. Infez Med. 2014 Jun;22(2):112-7. PMID: 24955797.
* Mogilevski T, Nickless D, Hume S. β-lactam-associated eosinophilic colitis. BMJ Case Rep. 2015 Jun 23;2015. doi: 10.1136/bcr-2014-206964. Epub 2015 Jun 23. PMID: 26106168; PMCID: PMC4480096.
* Ekkelenkamp MB, Vervoorn MT, Bayjanov JR, Fluit AC, Benaissa-Trouw BJ, Ramjankhan FZ. Therapy and Outcome of Staphylococcus aureus Infections of Intracorporeal Ventricular Assist Devices. Artif Organs. 2018 Oct;42(10):983-991. doi: 10.1111/aor.13159. Epub 2018 Apr 19. PMID: 29675919; PMCID: PMC6220828.
* Gwee A, Autmizguine J, Curtis N, Duffull SB. Twice- and Thrice-daily Cephalexin Dosing for Staphylococcus aureus Infections in Children. Pediatr Infect Dis J. 2020 Jun;39(6):519-522. doi: 10.1097/INF.0000000000002646. PMID: 32412727.
* Yamada T, Minami K, Oda K, Suzuki K, Nishihara M, Uchiyama K, Ukimura A. Probability of target attainment of oral antimicrobials for Escherichia coli and Klebsiella pneumoniae based on Monte Carlo simulations. Diagn Microbiol Infect Dis. 2022 May;103(1):115662. doi: 10.1016/j.diagmicrobio.2022.115662. Epub 2022 Feb 25. PMID: 35321800.
* Lloyd A, Grey J, Fronczek C, Durkin H, Marr K. Cefdinir vs cephalexin for the treatment of urinary tract infections: A retrospective evaluation. Am J Health Syst Pharm. 2024 May 24;81(Suppl 2):S55-S60. doi: 10.1093/ajhp/zxae026. PMID: 38349523.
* Haynes AS, Wei Z, Anderson P, Scheetz MH, Parker SK, Fish DN. Cefadroxil and cephalexin pharmacokinetics and pharmacodynamics in children with musculoskeletal infections. Antimicrob Agents Chemother. 2024 May 2;68(5):e0018224. doi: 10.1128/aac.00182-24. Epub 2024 Apr 10. PMID: 38597672; PMCID: PMC11064491.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.