How to Take Cephalexin: Dosage, Timing, and Food

Cephalexin is typically taken by mouth every six to twelve hours, with or without food, though eating alongside it can soften stomach upset at the cost of slightly slower absorption. The standard adult dose for most infections is 250 mg to 500 mg every six hours, or 500 mg every twelve hours, depending on the type and severity of infection. Getting the timing and food right matters less than most people assume, and recent research has loosened some of the old rules about how frequently you need to take it.

The Standard Adult Dose

For the majority of common infections like skin and soft-tissue infections, urinary tract infections, and strep throat, cephalexin is prescribed to adults at 250 mg to 500 mg per dose. Historically, the classic regimen has been every six hours, meaning four doses a day spread throughout waking and sleeping hours. That schedule can be genuinely inconvenient, and many people end up skipping the middle-of-the-night dose or collapsing the four doses into their waking hours. The good news is that evidence increasingly supports less frequent dosing for certain infections.

A study of women with uncomplicated urinary tract infections found that taking 500 mg twice a day worked just as well as the traditional four-times-daily schedule. Treatment failure rates were similar in both groups, and there was no meaningful difference in recurrence within 30 days.1PubMed Central. Two Times Versus Four Times Daily Cephalexin Dosing for the Treatment of Uncomplicated Urinary Tract Infections in Females That is a significant practical difference for anyone trying to juggle a pill schedule with work and sleep. Ask your prescriber whether twice-daily dosing is appropriate for your specific infection, because the answer depends on what organism is being treated and how severe the infection is.

Does Food Matter?

You will find conflicting advice on this. Some pharmacies print “take on an empty stomach” on the label, while others say “take with food.” Both positions have a kernel of truth, but neither tells the whole story.

A systematic review of cephalexin’s pharmacokinetics found that taking it with food significantly lowers the peak concentration in the blood and delays absorption.2PubMed Central. A Systematic Review on the Clinical Pharmacokinetics of Cephalexin in Healthy and Diseased Populations In plain terms, the drug gets into your system more slowly and reaches a lower high point when you eat alongside it. The total amount absorbed stays about the same, so you still get the full dose; it just arrives in a flatter, more drawn-out wave rather than a sharp spike.

For most garden-variety infections, that slower absorption is clinically irrelevant. Cephalexin kills bacteria based on how long its concentration stays above a certain threshold, not on how high the peak climbs. A somewhat flatter curve spread over a longer time can still clear the infection. If your stomach rebels at taking it on an empty stomach, eating a small meal or snack alongside the dose is a perfectly reasonable trade-off. The exception would be a situation where your prescriber specifically wants rapid peak levels, which is uncommon in outpatient settings.

Spacing Your Doses Evenly

If you are on a four-times-daily regimen, the textbook advice is every six hours, which technically means one dose in the middle of the night. In practice, many clinicians tell patients to space the doses evenly during waking hours instead, such as at 7 a.m., noon, 5 p.m., and 10 p.m. That is not a perfect six-hour interval, but it keeps reasonably steady drug levels and dramatically improves the chance you will actually take all four doses.

For a twice-daily schedule, aim for roughly twelve hours apart. Morning and evening with meals is a natural fit and easy to remember. The key principle is consistency: pick times that work with your daily routine and stick with them. A dose that is an hour early or late will not ruin the course, but regularly skipping or doubling up can either let the infection persist or increase side effects.

If you miss a dose, take it as soon as you remember unless the next dose is almost due. In that case, skip the missed one and return to your regular schedule. Do not take two doses at once to “catch up.”

How Long a Typical Course Lasts

Course length depends entirely on the infection. Uncomplicated urinary tract infections might need only three to seven days. Strep throat is usually treated for ten days to fully eradicate the bacteria and prevent complications like rheumatic fever. Skin infections can range from seven to fourteen days. Bone infections require far longer courses, sometimes weeks.

One of the most common mistakes with cephalexin is stopping early because you feel better. Feeling better after a few days is a sign the drug is working, not that the infection is gone. Stopping early can leave behind resistant bacteria, making a relapse harder to treat. Finish the full course your prescriber ordered, even if your symptoms have resolved.

Dosing for Children

Pediatric doses are calculated by weight, typically in the range of 25 to 50 mg per kilogram of body weight per day, divided into multiple doses. The liquid suspension form is available for children who cannot swallow capsules. It usually needs to be refrigerated after mixing and shaken well before each dose.

Research into simplified pediatric schedules mirrors the adult story. A pharmacokinetic modeling study of children aged one to sixteen with bone and joint infections found that twice-daily and three-times-daily regimens could achieve adequate drug levels against common staphylococcal infections when the total daily dose was appropriately adjusted.3PubMed. Twice- and Thrice-daily Cephalexin Dosing for Staphylococcus aureus Infections in Children Fewer daily doses can make a real difference for families dealing with a sick child who resists taking medicine. That said, the specific regimen should always come from the prescriber, who will factor in the infection type and the child’s weight.

Kidney Function and Dose Adjustments

Cephalexin is eliminated primarily through the kidneys. In people with significantly reduced kidney function, the drug can accumulate to higher-than-intended levels. Standard pharmacokinetic guidelines recommend reducing the dose or extending the interval in people with chronic kidney disease.

Here is where reality diverges from the textbook. A large study of older adults with chronic kidney disease found that about two-thirds of patients received higher doses of cephalosporin antibiotics than pharmacokinetic guidelines recommended. Despite the higher doses, there was no detectable increase in side effects, treatment failure, or death compared to those who received the reduced dose.4PubMed Central. Clinical Outcomes of Failing to Dose-Reduce Cephalosporin Antibiotics in Older Adults with CKD That does not mean dose reduction is pointless; it means the safety margin for cephalexin is fairly wide. If your prescriber does not reduce your dose despite knowing you have kidney problems, it may be a deliberate decision rather than an oversight. If you are concerned, raise it, but do not panic.

Drug Interactions Worth Knowing About

Cephalexin has a relatively short list of meaningful interactions compared to many other antibiotics, but a few are worth understanding.

Probenecid, a drug used for gout, slows the kidney’s ability to clear cephalexin. A study in healthy volunteers found that probenecid prolonged and flattened the drug’s concentration curve, meaning cephalexin stayed in the body longer and at more sustained levels.5PubMed. Probenecid effects on cephalexin pharmacokinetics and pharmacodynamics in healthy volunteers This is sometimes used intentionally to boost effectiveness, but it also increases the risk of dose-related side effects. If you take probenecid, your prescriber should already be aware of the interaction.

A more commonly relevant interaction is with metformin, the widely used diabetes medication. Research found that cephalexin increased metformin’s peak blood levels by about a third and its overall exposure by roughly a quarter, while reducing metformin’s clearance through the kidneys.6PubMed. Effect of cephalexin on the pharmacokinetics of metformin in healthy human volunteers The practical concern is that higher metformin levels could increase the risk of side effects like gastrointestinal distress or, in rare cases, lactic acidosis. If you take metformin and are prescribed cephalexin, mention it to your pharmacist. In most short courses, the effect is manageable, but it is worth monitoring how you feel and checking blood sugar more frequently.

Cephalexin does not interact significantly with hormonal contraceptives. The old blanket warning that all antibiotics reduce birth control effectiveness was based largely on anecdotal reports and a handful of case studies involving rifampin, which works through a completely different mechanism. You do not need backup contraception while taking cephalexin.

The Penicillin Allergy Question

If you have a penicillin allergy on your medical record, you have probably been told at some point to avoid all cephalosporins. That advice is outdated. The commonly cited figure that 10 percent of penicillin-allergic patients will react to cephalosporins is a myth that persists from early, poorly controlled studies. A review of the literature found that the actual cross-reactivity rate is roughly 1 percent for first-generation cephalosporins like cephalexin, and the risk is driven primarily by structural similarity in the chemical side chains rather than the core ring that penicillin and cephalosporins share.7PubMed. The use of cephalosporins in penicillin-allergic patients: a literature review

A more recent UK study reinforced this finding. Out of nearly 1,300 patients who had a penicillin allergy label on their records and were given a cephalosporin, about 99 percent tolerated it without issue. Only nine were flagged by clinical teams as having an allergic reaction, and on specialist review, at least five of those were unlikely to represent true allergy.8Clinical Infection in Practice. Cephalosporin cross-reactivity in patients with a penicillin allergy label: a UK single centre retrospective cohort study

That said, there is a critical distinction: if your penicillin reaction was anaphylaxis, a severe whole-body reaction involving throat swelling, difficulty breathing, or a drop in blood pressure, most clinicians will still exercise extra caution. A mild rash years ago is very different from an emergency-room-level reaction. If you have any doubt about the nature of your prior reaction, formal allergy testing can clarify whether you are truly allergic and to which specific structures.

Common Side Effects and How to Manage Them

The most frequent side effects of cephalexin are gastrointestinal: nausea, diarrhea, and stomach discomfort. These affect a meaningful minority of people but are usually mild enough to tolerate through a short course. Taking the dose with food, as discussed above, can blunt the nausea for most people.

Vaginal yeast infections are another well-known side effect, particularly in women taking longer courses. Cephalexin disrupts the normal balance of bacteria in the body, which can allow yeast to overgrow. Over-the-counter antifungal treatments usually resolve this without needing to change the antibiotic.

Severe allergic reactions like hives, facial swelling, or difficulty breathing are rare but require immediate medical attention. A severe, watery, or bloody diarrhea developing during or after the course could signal a Clostridioides difficile infection, which needs prompt evaluation. Cephalexin carries a relatively low risk of this complication compared to many other antibiotics. In one study evaluating antibiotics associated with C. difficile infection, cephalexin accounted for only about 3.4 percent of cases, a low proportion relative to fluoroquinolones and broader-spectrum cephalosporins.9PubMed Central. Antibiotics Associated With Clostridium difficile Infection

Urine Tests and Lab Interference

Here is a quirk that catches people off guard: cephalexin can cause false-positive results on certain urine glucose tests. This matters primarily for people with diabetes who monitor urine sugar at home using dipstick or tablet tests. Research has confirmed that cephalexin can trigger false positives on both tablet-based and strip-based urine glucose tests, particularly at higher urinary concentrations of the drug.10PubMed Central. Evaluation of the effect of cephalexin and enrofloxacin on clinical laboratory measurements of urine glucose in dogs Although this specific study was conducted in a veterinary context, the chemistry behind the interference applies broadly: the drug itself reacts with the test reagent.

If you are diabetic and rely on urine glucose testing, switching to blood glucose monitoring during your cephalexin course will give you accurate readings. Enzymatic glucose-testing methods used in most modern blood glucometers are not affected by cephalexin. Mention the antibiotic to your lab if you are having any urine tests done during treatment.

Alcohol and Cephalexin

Cephalexin does not cause the notorious “disulfiram-like” reaction that some other cephalosporins, particularly cefoperazone and cefotetan, can trigger when mixed with alcohol. There is no pharmacological interaction between cephalexin and alcohol that produces flushing, vomiting, or dangerously low blood pressure. In that narrow sense, you can drink while on cephalexin without a specific chemical danger.

The practical argument against it is less dramatic but still real. Alcohol can worsen the nausea and stomach upset that cephalexin already causes. It can also impair immune function and disrupt sleep, neither of which helps your body fight an infection. If you are sick enough to need an antibiotic, going easy on alcohol for a week or two is sensible self-care, even if it is not a strict medical prohibition.

Storage and the Liquid Form

Cephalexin capsules and tablets are stable at room temperature and do not need refrigeration. Keep them in a dry place away from direct sunlight, and check the expiration date before starting a course, especially if you have leftover capsules from a prior prescription. Using expired antibiotics risks taking a sub-therapeutic dose, which could promote resistance without curing the infection.

The liquid suspension is a different story. Once mixed by the pharmacist, it typically needs to be refrigerated and is only stable for about 14 days. Shake the bottle well before each dose, because the active ingredient can settle to the bottom, leading to inconsistent dosing. Use the measuring device provided with the prescription rather than a household teaspoon, which can easily deliver 20 to 40 percent more or less than the intended volume. After the course is finished, discard any remaining suspension; do not save it for a future illness.