Our Services
Medical Information
Helpful Resources
Published on: 9/28/2026
Keflex (cephalexin) is a first-generation cephalosporin antibiotic prescribed for bacterial infections of the skin, throat, ears, bones, urinary tract, and respiratory tract, and it is typically taken by mouth every 6 to 12 hours for 7 to 14 days, with or without food, until the full course is finished even if symptoms improve early. Dosing, timing, kidney function adjustments, alcohol and drug interactions, and side effects such as diarrhea, rash, or allergic reactions vary by person and infection type, so there are several important factors to consider below. Because Keflex only works against bacteria and not viruses, taking it for the wrong illness can delay real relief and contribute to antibiotic resistance. A free, instant, online symptom check can help you clarify whether your symptoms point to a bacterial infection worth a prescription conversation, which questions to raise with a clinician, and how urgently you should be seen. It takes only a few minutes, requires no account, and gives you a clearer starting point before your next appointment.
Last reviewed for medical accuracy: 09/28/2026
Cephalexin, commonly known by the brand name Keflex, is a widely prescribed keflex antibiotic used to treat various bacterial infections. If you’ve been advised to take Keflex, understanding its uses, dosing guidelines, possible side effects, and precautions can help you use it safely and effectively.
Cephalexin works by interfering with bacterial cell wall synthesis, causing bacteria to burst and die. It does not work against viral infections (e.g., colds, flu).
Keflex antibiotic is effective against a range of mild to moderate bacterial infections, including:
Your healthcare provider will determine if Keflex is right for your specific infection based on symptoms, physical exam, and possibly lab tests.
Keflex antibiotic has a bactericidal effect, meaning it kills bacteria rather than merely stopping their growth.
Follow your doctor’s instructions exactly. Typical guidelines include:
Most people tolerate Keflex well, but you may experience:
Common (1–10% of users)
Less common (0.1–1%)
Serious (rare)
If you notice any severe side effects or signs of an allergic reaction, stop Keflex and seek immediate medical attention.
Before starting Keflex antibiotic, inform your doctor if you have:
Use Keflex cautiously during pregnancy and breastfeeding. Discuss risks and benefits with your healthcare provider.
Keflex may interact with other medications, altering effectiveness or increasing side effects. Important interactions include:
Always provide your healthcare provider a complete list of prescription, over-the-counter, and herbal products you take.
Missed Dose
Overdose
For peace of mind before starting treatment, consider a free, online symptom check, using the doctor approved Ubie Symptom Checker.
Note: Always speak to a doctor about any life-threatening or serious health issues.
By understanding what Keflex antibiotic treats, how it works, and how to take it safely, you can help ensure a smooth recovery from bacterial infections. Always communicate openly with your healthcare provider, report any unusual side effects, and complete your full course of therapy.
(References)
* Potaschmacher LO, Dash CH, Jefferson KA, Kennedy MR. A survey of the sensitivity of fresh clinical isolates to cefuroxime and other antibiotics. J Clin Pathol. 1979 Sep;32(9):944-50. doi: 10.1136/jcp.32.9.944. PMID: 512055; PMCID: PMC1145856.
* Kalcheva V, Mincheva Z, Andreeva P. Synthesis and in vitro activity of new cephalosporin derivatives containing a benzoxazolone ring. Arzneimittelforschung. 1990 Sep;40(9):1030-4. PMID: 2080938.
* Galante D, Esposito S, Barba D, Scioli C. [Sensitivity of 5 beta-lactam antibiotics to beta-lactamase isolated from E. coli and its respective transconjugates]. Boll Soc Ital Biol Sper. 1983 Nov 30;59(11):1678-82. PMID: 6320847.
* Ware MA, Bennett GJ. Case report: Long-standing complex regional pain syndrome relieved by a cephalosporin antibiotic. Pain. 2014 Jul;155(7):1412-1415. doi: 10.1016/j.pain.2014.03.014. Epub 2014 Mar 22. PMID: 24667741.
* Smith SC, Heal CF, Buttner PG. Prevention of surgical site infection in lower limb skin lesion excisions with single dose oral antibiotic prophylaxis: a prospective randomised placebo-controlled double-blind trial. BMJ Open. 2014 Jul 30;4(7):e005270. doi: 10.1136/bmjopen-2014-005270. Epub 2014 Jul 30. PMID: 25079934; PMCID: PMC4120377.
* Nambudiri VE, Dwyer RC, Camargo CA Jr, Kupper TS, Pallin DJ. Outcome assessment in cellulitis clinical trials: is telephone follow up sufficient? Clin Microbiol Infect. 2015 Jul;21(7):676.e5-7. doi: 10.1016/j.cmi.2015.03.008. Epub 2015 Apr 13. PMID: 25882364.
* Thiessen K, Kraleti S. Cephalexin-induced haemolytic anaemia: A case report. J Clin Pharm Ther. 2017 Oct;42(5):615-617. doi: 10.1111/jcpt.12542. Epub 2017 May 5. PMID: 28474415.
* Kumar R, Singh AK, Sharma K, Talwar V. A rare case of cephalexin-induced acute interstitial nephritis with hypokalemic periodic paralysis. Indian J Pharmacol. 2020 May-Jun;52(3):210-212. doi: 10.4103/ijp.IJP_532_19. Epub 2020 Aug 4. PMID: 32874004; PMCID: PMC7446675.
* Gu S, Rajendiran G, Forest K, Tran TC, Denny JC, Larson EA, Wilke RA. Drug-Induced Liver Injury with Commonly Used Antibiotics in the All of Us Research Program. Clin Pharmacol Ther. 2023 Aug;114(2):404-412. doi: 10.1002/cpt.2930. Epub 2023 May 24. PMID: 37150941; PMCID: PMC10484299.
* Zhu T, Du Q, Wang H, Chang S, Wang Z, Guo W, Ngo HH, Song Z, Zhang X. New insights into the impact of cefalexin on anaerobic digestion: microbial stress response and quorum sensing. Bioresour Technol. 2026 Jan;440:133495. doi: 10.1016/j.biortech.2025.133495. Epub 2025 Oct 13. PMID: 41093030.
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.