Get a Cephalexin (Keflex) prescription online for UTI, skin, and bacterial infections within 5 minutes

You don't need an urgent care visit to find out if Cephalexin is the right antibiotic for what you have. Our licensed doctor can review your symptoms in chat, screen for penicillin allergy and pregnancy, and prescribe Cephalexin online if it is medically appropriate.

get prescription
Get Clindamycin online

Trusted by millions for instant online care

Over 1 million Patients

5-star Doctor Ratings

4.8 Rating

20k+ App Reviews

4.6 Rating

1k+ Trustpilot Reviews

Benefits of getting Cephalexin prescription from Your Doctors Online

Our process ensures you receive the right treatment promptly, without leaving your home.

Pharmacy fulfillment, not shipping

Your prescription is sent electronically to your local pharmacy. Same-day pickup at CVS, Walgreens, Walmart, Costco, Kroger, or your nearest independent pharmacy.

Connect within minutes

The average wait time to start a chat is under 5 minutes. Nights, weekends, and holidays included. We are online 24/7.

Penicillin allergy screening is built in

Your doctor reviews your full allergy history before prescribing and switches to a non-beta-lactam alternative when needed.

How to get a Cephalexin prescription online in 3 steps

Getting a Cephalexin prescription online is faster than booking an urgent care appointment. The full process, from starting the chat to your pharmacy holding your prescription takes minutes.

1

Start a chat with a US-licensed doctor

Open the Your Doctors Online chat from your phone or laptop. No appointment slots, no waiting room, no clinic drive.

2

Describe your symptoms or upload photos

Share your symptoms and when they started. Upload photos of the skin infection, if possible. The doctor will also ask about allergies, current medications, pregnancy or breastfeeding, and any kidney problems.

3

Get your prescription sent to your pharmacy

If Cephalexin is appropriate, the doctor sends a prescription to your preferred pharmacy for same-day pickup. If another antibiotic is a better fit, it can be prescribed in the same chat at no extra visit cost.

Cephalexin dosage

Cephalexin comes as oral capsules and as an oral suspension for patients who can’t swallow capsules. Adult dosing is 250 mg every 6 hours or 500 mg every 12 hours for most infections, and treatment courses run 7 to 14 days depending on the infection.

Dose Form Frequency Max daily
250 mg Oral capsule Every 6 hours for mild-to-moderate infection 4,000 mg
500 mg Oral capsule Every 12 hours for moderate infection (UTI, skin) 4,000 mg
500 mg Oral capsule Every 6 hours for severe infection (cellulitis, bone,) 4,000 mg
750 mg Oral capsule Every 12 hours when clinically indicated 4,000 mg
125 mg / 5 mL or 250 mg / 5 mL Oral suspension Every 6 hours, weight-based for pediatric or adults unable to swallow capsules Provider-set
Form Oral capsule
Frequency Every 6 hours for mild-to-moderate infection
Max daily 4,000 mg
Form Oral capsule
Frequency Every 12 hours for moderate infection (UTI, skin)
Max daily 4,000 mg
Form Oral capsule
Frequency Every 6 hours for severe infection (cellulitis, bone,)
Max daily 4,000 mg
Form Oral capsule
Frequency Every 12 hours when clinically indicated
Max daily 4,000 mg
Form Oral suspension
Frequency Every 6 hours, weight-based for pediatric or adults unable to swallow capsules
Max daily Provider-set

Take Cephalexin with or without food. If it upsets your stomach, take it with a snack. Take iron supplements at least 1 hour before or 2 hours after Cephalexin, because iron can reduce how much of the antibiotic your body absorbs. Take each dose at roughly the same time of day to keep blood levels steady. Finish the full course your doctor prescribed, even if you feel better by day 2 or 3. Stopping early increases the risk that the infection will return and that the bacteria will develop resistance to Cephalexin and related antibiotics.

What does an online Cephalexin prescription cost?

The cost of Cephalexin includes the doctor's visit to get the prescription and the medication at your pharmacy. Your Doctors Online charges a flat $20 per month for the visit and follow-up care.

Consultation Plan
$20/month
  • Visit with a licensed doctor (24/7 chat)
  • New Cephalexin prescription or refill
  • Doctor's note for work or school if needed
  • Lab requisition if needed (urine culture, kidney function)
  • Unlimited follow-up messages during the month
  • Cancel anytime
Start a consultation

Cost with insurance

Coverage Visit copay Medication copay (generic Cephalexin)
Most commercial plans (BCBS, Aetna, Cigna, UHC, Humana) $0 to $30 (same as in-office visit) $0 to $10 (tier 1 generic on most formularies)
Medicare Part D Plan copay $0 to $10 (tier 1 generic)
Medicaid (state-dependent) Plan-defined copay Generic Cephalexin covered

Cost without insurance

PharmacyCephalexin 500 mg, 14 capsules
Walmart$39.57
Costco$45.29
CVS Pharmacy$24.51
Walgreens$29.87
Kroger$32.10
Average retail$34.27

Actual prices vary by pharmacy, location, and any active manufacturer or pharmacy promotions.

Conditions for which Cephalexin is prescribed online

Skin infections, cellulitis, and abscesses

Ear infections

Dental infections (Second line)

Respiratory tract infections

Strep throat (Second line)

Cephalexin for UTI: how it works and when it's prescribed

Cephalexin is an antibiotic that treats UTIs by killing bacteria such as E. coli, Proteus mirabilis, and Klebsiella pneumoniae.

It's not usually the first choice for uncomplicated UTIs in non-pregnant women, but doctors often prescribe it when:

  • You're pregnant and need an antibiotic with a strong safety record.
  • A child has a UTI.
  • You have a sulfa allergy or can't take Bactrim.

A typical dose for UTI is 500 mg for 5–7 days. Recent studies suggest that twice-daily dosing may be as effective as four-times-daily dosing for uncomplicated UTIs and is easier to follow.

Most people notice symptom relief within 24–48 hours. If symptoms aren't improving after two days, contact your doctor, as you may need a urine culture or a different antibiotic.

Cephalexin side effects and safety

The most common Cephalexin side effects are mild digestive issues such as diarrhea, nausea, vomiting, stomach pain, and indigestion. These usually improve within a few days and don't require stopping the medication.

Headache, dizziness, fatigue, or rash
Vaginal yeast infection after antibiotic use
Rarely, watery or bloody diarrhea caused by C. difficile infection

People with a penicillin allergy should tell their doctor before taking Cephalexin. Most can take it safely, but those with a history of severe allergic reactions may need a different antibiotic. Cephalexin can interact with certain medications, including metformin, warfarin, iron supplements, and probenecid, so be sure to tell your doctor about any medicines you're taking.

Contact a doctor if you develop severe diarrhea during treatment or within several weeks after finishing the antibiotic, as this may indicate a serious intestinal infection.

Meet our online doctors in the United States

Frequently asked questions

No, Cephalexin is prescription-only in the United States across all formulations (capsules, oral suspension, and the discontinued tablet forms). The FDA has not approved any over-the-counter version of Cephalexin in any country we ship prescriptions to, and no major pharmacy chain (CVS, Walgreens, Walmart, Costco, Kroger) carries it without a prescription. Cephalexin shares a beta-lactam ring with penicillin, so a small fraction of patients with a penicillin allergy may react to it, sometimes severely. A licensed doctor needs to review your allergy history, pregnancy or breastfeeding status, kidney function, and current medications before approving the prescription. The five-minute online consult is what makes that check possible.

No, you cannot buy Cephalexin online without a prescription. Any website offering to ship Cephalexin without a prescription is operating outside FDA and DEA regulations. The FDA has flagged unlicensed online pharmacies as a documented source of counterfeit, contaminated, mislabeled, and incorrectly dosed antibiotics.

Yes. A US-licensed online doctor can prescribe Cephalexin for an uncomplicated lower urinary tract infection after reviewing your symptoms, allergy history, pregnancy status, and kidney function. Cephalexin is FDA-approved for UTIs and is a preferred option during pregnancy and in pediatric patients. For most non-pregnant adult women, the doctor may also discuss first-line options like Nitrofurantoin (Macrobid) or Trimethoprim-sulfamethoxazole (Bactrim) and decide based on your history, allergies, and prior antibiotic responses.

Usually, yes, but it depends on the type of reaction you had. If your reaction to penicillin was mild, such as a rash, Cephalexin is often a safe option. However, if you’ve had a severe reaction, such as trouble breathing, throat swelling, or a serious skin reaction, your doctor will likely prescribe a different antibiotic, such as Clindamycin or Doxycycline. Always tell your doctor about any past antibiotic allergies before starting Cephalexin.

You should start to feel symptom improvement within 24 to 48 hours of the first dose. For a UTI, that means the burning, frequency, and urgency start easing on day 1 or 2. For cellulitis or a skin abscess, the redness border stops spreading, and the warmth starts settling within 48 hours. If you haven’t noticed improvement by 48 to 72 hours, message your doctor. The bacteria may not be susceptible to Cephalexin, and a culture-guided antibiotic change may be needed. Even after you feel better, finish the full course your doctor wrote.

There’s no direct interaction between Cephalexin and alcohol. But alcohol can worsen the GI side effects (nausea, stomach upset) that Cephalexin already causes, and it slows your body’s recovery from a bacterial infection. Skip alcohol until you’ve finished the course.

Yes, Cephalexin is safe to take during pregnancy. It’s also one of the preferred antibiotics for UTIs later in pregnancy, when some other antibiotics may not be recommended. Cephalexin is generally safe while breastfeeding, as only a very small amount passes into breast milk. You should never self-medicate. However, you can skip the visit to an in-person doctor and see an online doctor to get antibiotic prescription.

It depends on the infection. Amoxicillin is first-line for ear infections, strep throat, and dental abscesses, while Cephalexin is the standard pick for uncomplicated skin infections (cellulitis, abscess) and UTI in pregnancy or pediatric use. Cephalexin and Amoxicillin share a beta-lactam ring but target slightly different bacteria. Amoxicillin reaches more strep and Haemophilus species, while Cephalexin has stronger activity against methicillin-susceptible Staphylococcus aureus. Your doctor picks based on the infection site, the most likely bacteria, your allergy history, and any local resistance patterns.

How we've helped our patients recover

Get antibiotic treatment