This information is for educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment.
How to Take Cephalexin (Keflex) for Bacterial Skin Infections
Cephalexin is a common cephalosporin antibiotic prescribed to treat bacterial skin infections such as cellulitis, impetigo, and folliculitis. This guide outlines how to take your medication safely, track your skin's healing progress, manage mild side effects, and recognize when to contact your healthcare provider.
Quick Summary
Take cephalexin at evenly spaced intervals, finish the entire prescribed course even if your skin clears up early, and seek medical care if redness or swelling spreads.
Important Medical Disclaimer
This guide is for educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always consult with qualified healthcare providers for medical concerns.
Step-by-Step Guide
Follow the Prescribed Dosing Schedule
Take cephalexin exactly as directed by your healthcare provider, usually every 6 or 12 hours depending on your specific formulation. Spacing doses evenly throughout the day maintains a steady concentration of the antibiotic in your bloodstream and skin tissues. You may take cephalexin with or without food, though taking it with a meal or a glass of milk can help reduce mild stomach upset.
Complete the Entire Course of Treatment
Continue taking your medication until the entire prescription is finished, which typically lasts between 5 to 10 days. Even if your skin lesion improves or disappears after a few days, bacteria may still linger in deeper tissue layers. Stopping therapy prematurely significantly increases the risk of the infection returning and encourages the development of antibiotic resistance.
Important: Never stop taking cephalexin early without explicit guidance from your prescribing clinician, even if your symptoms have completely resolved.
Track the Borders of Your Infection
Use a surgical marker or pen to gently outline the red, inflamed edge of the skin infection when you start the medication. Check the area twice daily in good lighting to verify whether the redness is staying within the line or receding. A slight initial expansion may occur during the first 24 hours, but noticeable improvement in swelling, warmth, and tenderness should be visible by day two or three.
Important: Seek emergency medical care if the redness spreads rapidly past your initial markings, if you develop red streaks traveling toward your heart, or if you develop high fever or chills.
Manage Common Gastrointestinal Side Effects
Cephalexin can cause mild side effects such as nausea, indigestion, or loose stools. Staying well-hydrated by drinking plenty of water and eating small, bland meals can alleviate these symptoms. If you decide to take probiotics to support gut health, space them at least two hours away from your cephalexin dose to ensure the antibiotic does not neutralize the beneficial bacteria.
Important: Contact your doctor immediately if you develop severe, watery diarrhea (more than three times per day), severe abdominal cramping, or blood in your stool, as this could indicate a Clostridioides difficile infection.
Review Current Medications for Potential Interactions
Inform your pharmacist and clinician about all other prescription drugs, over-the-counter medications, and herbal supplements you take. Cephalexin can interact with medications such as metformin by slowing its clearance from your kidneys, which may increase the risk of low blood sugar. It can also interact with probenecid and certain live vaccines, requiring dosage adjustments or careful monitoring.
Store the Medication Appropriately
Store cephalexin tablets or capsules at room temperature between 68°F and 77°F (20°C to 25°C), away from excess moisture, direct light, and heat. Keep the medication tightly closed in its original child-resistant bottle and avoid storing it in humid bathroom cabinets. If you were prescribed oral liquid suspension, keep it refrigerated and discard any unused liquid after 14 days.
Frequently Asked Questions
Can I take cephalexin if I have a penicillin allergy?
How quickly does cephalexin start working on a skin infection?
What should I do if I miss a dose?
Can I drink alcohol while taking cephalexin?
Sources & References
- 1Mayo ClinicSource
- 2
- 3NHSSource
- 4CDCSource
Click any link to access the full source. PubMed Central (PMC) links provide free full-text access.
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 October 19, 2026. · Read our editorial policy