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.
- Adults 18 and older treated for UTI, skin and soft-tissue infections, ear infections, dental infections, and strep throat
- Anyone under 18 must attend with a parent or guardian
- No clinic visit, the entire consult runs in chat from your phone
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.
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.
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.
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 |
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.
- 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
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
| Pharmacy | Cephalexin 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.
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.
Meet our online doctors in the United States
Dr. Stotland Mitchell is a board-certified Occupational Medicine physician with 5+ years of experience. He provides virtual care across all U.S. states and D.C., blending allopathic medicine with public health insights. His approach focuses on rapid symptom relief and long-term prevention, often resulting in faster recovery and improved health outcomes for his patients.
Dr. Richard Honaker is a board-certified physician with more than 40 years of experience in family and emergency medicine. He serves as Chief Medical Advisor at Your Doctors Online and is affiliated with Medical City Plano in Texas. Recognized multiple times by D Magazine and Texas Monthly, Dr. Honaker provides evidence-based care across a wide range of conditions including diabetes, hypertension, and injury care.
Dr. Monique Rainford is an OB/GYN expert and Assistant Clinical Professor at Yale School of Medicine. With 25+ years of experience, she’s led OB/GYN departments at Yale Health and Baltimore Medical System. Her clinical interests include pregnancy, menstrual health, chronic pelvic conditions, and lifestyle medicine. Dr. Rainford advocates for maternal health equity, especially in underserved communities.
Dr. Candice Fraser is an OB/GYN practitioner and founder of Trinity Medical Care. With over a decade of experience, she focuses on reproductive care, menstrual health, and menopause management. Along with medical training and residency, she also holds an MBA in healthcare management, blending business insight with clinical excellence.
Dr. Danielle DonDiego is a double board-certified Family and Obesity Medicine physician, business mentor, and author of Self-Care Rx. She focuses on helping patients manage weight, improve nutrition, and adopt sustainable lifestyle changes. A graduate of the Virginia College of Osteopathic Medicine with an MBA from Virginia Tech, she combines her medical expertise with a passion for patient education and long-term wellness.
Dr. Amber Robins is a double board-certified Family and Lifestyle Medicine physician with a strong focus on women’s health, preventive care, and patient advocacy. She earned her MD from the University of Rochester and an MBA from LSU-Shreveport. A published author and media contributor, she blends clinical expertise with a passion for empowering patients to make informed health decisions.
Dr. Nina Carroll is a retired OB/GYN with decades of experience serving women in the U.S. and abroad. She specialized in menopause care, sexual health, and trauma-informed women’s health. Today, she continues her work through medical writing, focusing on sexual minority women’s health and care for survivors of trauma.
Dr. Nerissa Bauer is a behavioral pediatrician specializing in ADHD, parenting strategies, and mental health in children. A former academic and AAP spokesperson, she is the creator of the TEACH Me ADHD program, helping families better understand and manage ADHD. She brings warmth, creativity, and evidence-based guidance to her work with patients and parents.
Frequently asked questions
Is Cephalexin available over the counter?
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.
Can you buy Cephalexin online without a prescription?
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.
Can a doctor prescribe Cephalexin for a UTI online?
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.
Can I take Cephalexin if I'm allergic to penicillin?
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.
How fast does Cephalexin work for a UTI or skin infection?
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.
Can you drink alcohol while taking Cephalexin?
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.
Is Cephalexin safe to take during pregnancy?
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.
Cephalexin vs Amoxicillin, which one should I take?
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.