Cephalexin and blood sugar level?

Cephalexin and  Diabetes

Cephalexin and Diabetes



Question:


Does cephalexin increase blood sugar or lower it?




Quick Answer


Cephalexin is an antibiotic. It is not usually a major direct cause of high blood sugar, but the infection being treated can raise blood sugar because illness increases stress hormones.


Blood sugar may also go lower than usual during illness if you eat less, vomit, sweat, or continue diabetes medicines while taking in fewer carbohydrates.


If you take metformin, ask your doctor or pharmacist about monitoring because cephalexin may increase metformin levels in some cases. Check glucose more often while you are sick.



Answer by Dr. Albana Greca, MD, MMedSc


Hello,


Cephalexin is a commonly used antibiotic for bacterial infections. It is also sold under brand names such as Keflex. In people with diabetes, blood sugar changes during antibiotic treatment are often caused by the infection, fever, pain, appetite changes, or dehydration rather than by the antibiotic alone.


Can Cephalexin Raise Blood Sugar?


Cephalexin itself is not usually considered a strong direct cause of high blood sugar. However, the infection being treated can raise glucose. When your body fights infection, stress hormones may increase and insulin may not work as well. This can make blood sugar rise.


This is especially common during urinary tract infections, skin infections, dental infections, fever, inflammation, or severe pain.


Helpful page: why isn’t my blood sugar going down?


Can Cephalexin Lower Blood Sugar?


Low blood sugar may happen during illness if you eat less than usual, skip meals, vomit, sweat from fever, drink less fluid, or continue insulin or diabetes pills while taking in fewer carbohydrates.


People taking metformin should also ask their clinician or pharmacist whether extra monitoring is needed while taking cephalexin, especially if they have kidney problems, dehydration, poor appetite, or stomach symptoms.


Helpful page: is my blood sugar too high or too low?


What About Urine Sugar Tests?


Cephalexin may cause a false-positive urine glucose result with some urine sugar tests. This means the urine test may look positive even when blood glucose is not truly high.


For diabetes decisions, blood glucose testing and HbA1c are more useful than urine sugar alone.


Related answer: can blood sugar be normal but sugar high in urine?


Does Liquid Cephalexin Contain Sugar?


Some liquid antibiotic preparations may contain sweeteners or other ingredients to improve taste. If you use cephalexin suspension, ask your pharmacist whether it contains sugar and whether it matters for your diabetes plan.


Most tablets or capsules do not contain enough carbohydrate to meaningfully raise blood sugar, but always check with your pharmacist if you are unsure.


What Should You Do While Taking Cephalexin?



  • Take cephalexin exactly as prescribed.

  • Do not stop the antibiotic early unless your doctor tells you to.

  • Check blood sugar more often while you are sick.

  • Drink fluids unless your doctor has restricted fluids.

  • Keep eating regular meals or safe sick-day foods if possible.

  • Ask your doctor what readings should trigger a call.


Helpful resource: blood sugar levels by time of day.


When Should You Call Your Doctor?


Call your doctor if your blood sugar is repeatedly above your target, repeatedly below 70 mg/dL, or if the infection is not improving after starting the antibiotic.


Also call if you have rash, swelling, diarrhea, severe stomach pain, vomiting, dehydration, symptoms of low blood sugar, or trouble keeping fluids down.



Important Safety Note


Seek urgent care for facial swelling, throat tightness, wheezing, trouble breathing, severe allergic reaction, confusion, severe weakness, dehydration, chest pain, fruity-smelling breath, deep or rapid breathing, or moderate to large ketones with high blood sugar.




Doctor’s Note


Cephalexin is often needed to treat bacterial infection. In diabetes, the safer approach is to monitor glucose more closely during illness, follow your sick-day plan, and ask your doctor before changing diabetes medicine.




Educational safety note: This answer is for general diabetes education only. It does not replace personal medical advice, diagnosis, or treatment. Do not start, stop, or change cephalexin, metformin, insulin, or diabetes medicine without speaking with your healthcare provider.



Most Asked Questions


Does cephalexin raise blood sugar?


Cephalexin is not usually a major direct cause of high blood sugar. The infection being treated is often the main reason blood sugar rises.


Can cephalexin lower blood sugar?


Low blood sugar can happen during illness if you eat less, vomit, sweat from fever, or take diabetes medicines while eating less than usual.


Can cephalexin affect urine sugar tests?


Yes. Cephalexin may cause false-positive urine glucose results with some tests, so blood glucose testing is more reliable.


Related Questions



Related Resources



Last reviewed: July 2026.


Comments for Cephalexin and blood sugar level?

Average Rating starstarstarstarstar

Click here to add your own Comment / Follow up

Aug 26, 2021
Rating
starstarstarstarstar
Blood sugar level
by: Jim


QUESTION: Hi,

I just started taking the medication and I'm wondering prior to me taking the medication my blood sugar levels were normal now since I started taking this my blood sugar levels are like 71 79 82 whenever I tested throughout the day.

So I'm wondering can this also be answer to be a medication that lowers blood sugar level?



ANSWER: Hello,

I understand your concern.

Indeed, many medications used to treat diabetes work by lowering blood sugar levels.

If you have recently started taking a medication for diabetes, it is possible that your blood sugar levels have decreased as a result of the medication.

However, it is important to note that blood sugar levels can vary throughout the day and can be influenced by factors such as food, exercise, stress, and illness.

It is also possible that your blood sugar levels would have naturally decreased even if you did not start taking the medication.

If you have recently started taking a medication for diabetes and your blood sugar levels have decreased, it is possible that the medication is responsible for the decrease.

I would suggest to keep monitoring your blood sugar levels, and continue the medications as prescribed by your doctor.

If you will notice any unusual symptoms, should consult with your caring doctor in order to make appropriate changes in your therapy.

Hope this helps.

Dr.Albana

May 09, 2021
Rating
starstarstar
Lows, Not Highs
by: Cheryl

I'm Type 2 Diabetic taking Cephalexin following ICD replacement surgery. My blood sugar has been dipping to 65. I watched it go from 139 mg/dL to 65 mg/dL in a period of just two hours. My lows are usually 72-74.

I'm sure it's the Cephalexin — I'm not doing anything else differently.

The doctors who prescribed this antibiotic know I'm diabetic so I'll just have to keep a close eye out.

Feb 26, 2018
Rating
starstarstarstarstar
blood sugar spike after taking antibiotic
by: Tim

QUESTION: Hello,

I have been prescribed cephalexin 500MG for a very bad allergic reaction. The problem is my blood sugar went up to 267 it normally runs about 115. I will retest it in the AM.

Should I continue?

ANSWER: Hello,

I understand your concern.

1. First let me explain that cephalexin is an antibiotic. It is used to treat bacterial infections.

Usually, we do prescribe it for a bacterial infection of the skin, lungs, or others.

We do not prescribe for allergy reaction.

2. You are worried because you found that your blood sugar levels raised up to 267 mg/dL. That's a bit high in fact.

However, there are 2 main things to point out in here:
- you had an allergy reaction. That will increase your blood sugar as it is considered a stress situation.
- it's true that Cephalexin can raise blood sugar but not at this point as in your case. There is something else going on here.

And you are right. Further tests are required to determine the right diagnosis:
- complete blood count
- fasting blood sugar test
- oral glucose tolerance test
- HbA1C test

After getting the results, send to me to evaluate them adequately.

Perhaps you had an impaired blood glucose before taking Cephalexin, and its use has triggered it.

Hope this helps. Let me know if you have any other concern.
Dr.Albana

Nov 07, 2017
Rating
starstarstarstarstar
Cephalexin effect on fasting blood sugar?
by: Anonymous

HELLO: Hello,

I tested my blood sugar yesterday morning,it was 118 normal for my fasting test.

I got a prescription of cephalexin for chest/lung infection,this morning my blood sugar is 191 fasting,it has never been over 138 fasting?

ANSWER: Hello,

Thank you for trusting us your medical concern.

I advise to keep monitoring your blood sugar levels, and record the results for reference.

Meanwhile, continue taking cephalexin as prescribed by your doctor.

I also advise to run HBA1C test to evaluate the mean of your blood sugar the last 3 months.

Try to be careful with foods you consume; try to be physically active.

Hope this answers your query. Let me know if you have any other concern.

Dr.Albana

Sep 17, 2017
Rating
starstarstarstarstar
Sugar level rising
by: Anonymous

QUESTION: My mother is diabetic and was recently given cephalexin to take 4 times a day. In morning level is normal. As the day goes on by time for her 3rd dose about diner time. Her sugar is at about 186 and at bedtime close to 200.. is that normal with this med?



ANSWER: Hi,

I understand your concern.

Your mother's blood sugar levels are acceptable although she is taking cephalexin. I advise to continue taking this antibiotic as prescribed and to take other hypoglycemiant agents as recommended by her doctor.

Be careful with food she is eating; diet is also very important.

In general, her blood sugar levels are ok.

Let me know if you have other queries.

Dr.Albana

Aug 10, 2017
Rating
starstarstarstarstar
Blood sugar went up after taking antibiotic Zithromax (Azithromycin)
by: Tim

QUESTION: My blood sugars have gone up after taking Zirthomax. Azithromycin.

I called doc and waiting for his response. It has raised my blood sugar in the morning by about 30-40 points.


ANSWER: Hi Tim,

I understand your concern.

Zithromax is the brand name for the antibiotic Azithromycin. I believe you are taking pills form and not suspension.

Now, azithromycin can alter liver function sometimes. As liver is responsible for accumulation and production of glucose in the body; alteration in its function can cause oscillations in blood sugar too.

To be more specific, I need to have your blood glucose levels checked:
- at bedtime
- early in the morning
- 2 hours after eating


Thank you.
Dr.Albana

Nov 09, 2014
Rating
starstarstarstarstar
blood sugar increased after taking cephalexin
by: newman

QUESTION: Hi,

My blood sugar also went up 100 points after I started taking cephalexin.


Answer: Hi,

Thank you for sharing with your your concern.

If you think that your blood sugar level went up 100 points after started taking cephalexin, I advise to report this to the doctor who prescribed cephalexin.

You might need to change therapy or adjust the dosage of current hypoglycemiant medications.

All the best!
Dr.Alba

Click here to add your own Comment / Follow up

Ask the Doctor now? Simply click here to return to Side effects of Diabetes.