Cephalexin is a type of antibiotic medicine. It's used to treat certain types of infections caused by bacteria. It works by stopping the bacteria from growing and multiplying. It's often used for infections in the skin, throat, or lungs.
Every report comes from a Lived member, sent anonymously.
Have you tried Cephalexin for Cellulitis?
Cephalexin is a prescription antibiotic, taken by mouth, that treats infections caused by certain bacteria. It belongs to the cephalosporins, a family of antibiotics chemically related to penicillin. In the US it was once sold under the brand name Keflex, which has since been discontinued; today it is prescribed as a generic capsule, tablet or liquid. Its approved uses include skin infections such as cellulitis, middle ear infections, strep throat and some other respiratory infections, bone infections, and urinary tract infections, including infection of the prostate. It only helps when the infection is caused by bacteria it can kill, so the prescriber weighs the likely germ, and sometimes a culture result, before choosing it. Cephalexin is also sometimes used before certain dental procedures to prevent a heart valve infection in people who have specific heart conditions and are allergic to penicillin. Like every antibiotic, cephalexin does nothing for colds, flu or other viral infections. Taking it when it is not needed brings side effects without benefit and helps bacteria become resistant to antibiotics.
Bacteria are wrapped in a tough outer cell wall that they have to keep building as they grow and divide. Cephalexin interferes with the construction of that wall, and the weakened bacteria die rather than merely stop growing. Cephalexin works well against many of the streptococcus and staphylococcus bacteria behind skin and throat infections, and against some common urinary bacteria such as E. coli. It does not work against MRSA (methicillin-resistant Staphylococcus aureus, a staph germ that resists many antibiotics), most enterococci or Pseudomonas, so a different antibiotic is needed when one of those is suspected or found.
Cephalexin is taken by mouth as a capsule, tablet or liquid, with or without food. Adults usually take a dose every 6 or 12 hours, depending on the infection and the strength prescribed, and more serious infections call for larger doses. Children's doses are worked out from body weight, and the liquid is used for children who cannot swallow capsules. Shake the liquid well before each dose, keep it in the refrigerator, and throw away any that remains after 14 days. Cephalexin leaves the body through the kidneys, so people with severely reduced kidney function need a lower dose. Without that adjustment the drug can build up, and seizures have been reported in that situation. The label's courses run 7 to 14 days, and the prescriber sets the exact length; infections caused by strep bacteria are usually treated for at least 10 days. Take doses at about the same times each day and keep taking them as directed even after feeling better. Skipping doses or stopping early can leave the infection incompletely treated and encourages resistant bacteria. If a dose is missed, take it when remembered unless the next one is nearly due, and do not double up. Leftover antibiotic should not be saved for later or shared.
The most common side effects are digestive: diarrhea, nausea, vomiting, indigestion and stomach pain. They are usually mild and settle once the course ends. Because antibiotics also disturb the body's normal bacteria, some people develop a vaginal yeast infection or genital or anal itching. Headache, dizziness and tiredness can also occur, and confusion, agitation or hallucinations, though uncommon, should be reported to the prescriber. Diarrhea that becomes severe, watery or bloody, especially with stomach cramps or fever, can be a sign of C. difficile, a bacterial infection of the colon that can take hold when antibiotics upset the gut's usual balance of bacteria. It can begin during treatment or as long as two months after the last dose, and it needs prompt contact with the prescriber. Allergic reactions range from an itchy rash or hives to anaphylaxis, a severe whole-body reaction. A new rash or hives is a reason to stop taking cephalexin and call the prescriber right away. Swelling of the face, lips, tongue or throat, wheezing, or difficulty breathing or swallowing is an emergency: call 911. Rarely, cephalexin causes a severe skin reaction with blistering or peeling skin, which also needs immediate medical care.
Cephalexin should not be taken by anyone who has had an allergic reaction to it or to another cephalosporin antibiotic. Because cephalosporins are related to penicillin, some people who are allergic to penicillin also react to cephalexin. Tell the prescriber about any penicillin allergy and what happened, since the type of past reaction helps decide whether cephalexin is a reasonable choice. Cephalexin raises blood levels of metformin, a common diabetes medicine, so people taking both may need closer blood sugar monitoring or a change in their metformin dose. Probenecid, a gout medicine, slows the kidneys' removal of cephalexin and is not recommended with it. In some people cephalexin lengthens the time blood takes to clot. This matters most for people taking a blood thinner such as warfarin, those with kidney or liver disease or poor nutrition, and those on long courses, who may need extra clotting tests such as the INR (international normalized ratio, a blood test of how long blood takes to clot). The official US prescribing label for cephalexin lists no interaction with hormonal birth control, and contraception guidance from the US Centers for Disease Control and Prevention places no restriction on using birth control pills, patches or rings with broad-spectrum antibiotics. Some drug leaflets still suggest backup contraception, so it is reasonable to ask the prescriber. Decades of use in pregnancy have not shown a link to birth defects or miscarriage, although the studies have limitations. Small amounts pass into breast milk. Anyone pregnant or breastfeeding should mention it so the prescriber can weigh the choice.
Most people start to feel better within the first few days of treatment. If symptoms are not improving after a few days, or are getting worse, contact the prescriber: the bacteria may not be ones cephalexin covers, or the infection may need a different treatment or a closer look. A short course for a routine infection usually needs no blood tests or follow-up visit. Longer courses, or taking cephalexin alongside a blood thinner, may come with follow-up appointments or lab tests. The prescription is often not refillable. If signs of infection are still present after the last dose, contact the prescriber rather than starting leftover antibiotics or asking for more of the same.
Last reviewed • Oct 2026
Educational content, not medical advice.
Share your experience taking Cephalexin, what you've noticed, or ask the community a question.