How Fasting Affects Blood Sugar
Fasting changes how your body manages blood sugar in ways that differ depending on what type of diabetes you have and what medications you take. When you stop eating, your liver releases stored glucose to keep your blood sugar stable. If you take insulin or certain diabetes medications, this process can cause your blood sugar to drop too low — a condition called hypoglycemia — because the medication is still working even though you are not eating.
For people with type 2 diabetes who do not take insulin, fasting may lower blood sugar more gradually. However, the risk is still real, especially if you take medications like sulfonylureas or meglitinides, which trigger your pancreas to release insulin regardless of whether you are eating. Fasting for religious reasons, weight loss, or medical tests requires planning with your doctor beforehand, not after you have already started.
Key Takeaways
- Never fast without talking to your doctor first if you take insulin or diabetes medications, because fasting can cause dangerously low blood sugar.
- If your doctor approves fasting, you will likely need to adjust your medication dose or timing, which only your doctor or diabetes educator can determine.
- You must check your blood sugar before, during, and after fasting to catch low blood sugar early and know whether fasting is safe for you.
- Certain types of fasting — like intermittent fasting or extended fasts — carry different risks and require different preparation depending on your medications.
- If you feel dizzy, shaky, confused, or unusually tired while fasting, stop when ready and eat something with sugar or carbohydrates.
Types of Fasting and Their Risks
Intermittent fasting — eating within a set window (such as noon to 8 p.m.) and fasting the rest of the day — is the most common form people with diabetes consider. This approach may be safer than extended fasts because you are eating regularly, but it still requires your doctor to review your medication schedule. If you normally take medication with breakfast and you skip breakfast, your medication timing no longer matches your eating pattern, which can cause low blood sugar in the morning.
Extended fasts (24 hours or longer) and religious fasts (such as Ramadan) carry higher risk because your body goes without food for a prolonged period. During Ramadan, some people fast from dawn to sunset for 29 or 30 days. This is a significant change to your routine, and your doctor may recommend reducing insulin doses, splitting doses differently, or monitoring blood sugar more frequently — sometimes four to six times per day instead of the usual schedule.
Fasting before medical tests (such as blood work or surgery) is different because it is temporary and your doctor expects it. Tell the doctor or clinic scheduling your test that you have diabetes and ask whether fasting is necessary. Some tests do require fasting; others do not. If fasting is required, your doctor will tell you whether to take your diabetes medication that morning.
Medications That Make Fasting Riskier
Insulin — whether injected once daily, multiple times daily, or delivered by pump — is the highest-risk medication for fasting because it works on a schedule. If you inject insulin at 7 a.m. and normally eat breakfast at 7:30 a.m., but you skip breakfast to fast, the insulin will lower your blood sugar with nothing to balance it. The same risk applies to long-acting insulin (basal insulin) that works throughout the day.
Sulfonylureas (such as glyburide, glipizide, and glimepiride) and meglitinides (such as repaglinide) trigger your pancreas to release insulin whenever you take them, regardless of whether you eat. Fasting while taking these medications almost always causes low blood sugar. Your doctor may need to skip the dose on fasting days or reduce the dose significantly.
Other medications like metformin, GLP-1 agonists (such as semaglutide), and SGLT2 inhibitors (such as empagliflozin) carry lower risk of low blood sugar during fasting, but this does not mean fasting is automatically safe. Your individual situation — your other medications, your kidney function, and your blood sugar patterns — determines the actual risk. Only your doctor can assess this.
Steps to Take Before You Fast
Schedule a conversation with your doctor or diabetes educator at least one to two weeks before you plan to fast. Bring a list of all your medications, including doses and the times you take them. Describe the type of fasting you want to do — how long, how often, and why. Your doctor will review your blood sugar logs (if you keep them) to see how stable your blood sugar normally is and whether fasting is reasonable for you.
Your doctor may recommend checking your blood sugar more often during fasting days — before you start, every two to three hours while fasting, and after you eat again. If you use a continuous glucose monitor (CGM), you can see trends in real time and catch low blood sugar before you feel symptoms. If you check blood sugar with a meter, write down the numbers so you and your doctor can see patterns.
Ask your doctor for specific instructions: which medications to take on fasting days, which to skip or reduce, and what blood sugar number means you should stop fasting and eat. Ask what symptoms of low blood sugar to watch for and what to eat if it happens. Get this in writing if possible, so you have it to refer to on fasting days.
What to Eat When You Break Your Fast
When you stop fasting and eat again, start with something that contains both carbohydrates and protein or fat. Carbohydrates raise blood sugar quickly; protein and fat slow that rise and keep blood sugar stable longer. Good options include a piece of whole-grain bread with peanut butter, a bowl of oatmeal with nuts, or a meal with chicken and rice.
Avoid breaking a fast with only sugar or straightforward carbohydrates (such as juice, candy, or white bread alone), because your blood sugar will spike and then drop again, leaving you hungry and tired. If your blood sugar is low when you break your fast, eat something with quick carbohydrates first (such as four ounces of juice or three glucose tablets), wait 15 minutes, check your blood sugar again, and then eat a balanced meal if your blood sugar is still low.
Eat at your normal meal times after fasting ends. Do not overeat to make up for the hours you fasted, because this can cause high blood sugar and make it harder to predict how your medications will work the next day.
Warning Signs to Stop Fasting when ready
Shakiness, sweating, rapid heartbeat, dizziness, confusion, difficulty concentrating, or unusual tiredness are signs of low blood sugar. If you feel any of these while fasting, stop fasting when ready and eat or drink something with sugar or carbohydrates — four ounces of juice, three to four glucose tablets, a spoonful of honey, or a regular (not diet) soda. Wait 15 minutes and check your blood sugar if you can. If you feel better, eat a balanced meal. If you do not feel better or your blood sugar is still low, eat more carbohydrates and consider calling your doctor or going to urgent care.
Severe symptoms — loss of consciousness, seizures, or inability to swallow — are a medical emergency. Call 911. Do not try to give the person food or drink if they are unconscious; instead, use a glucagon injection if one is available and you know how to use it.
Fasting for Religious Reasons
If you fast for religious observance, your doctor or diabetes educator may have experience working with people who observe the same tradition. Ask whether your healthcare provider has resources or can connect you with others who fast while managing diabetes. Many hospitals and clinics have staff who understand Ramadan fasting, Yom Kippur, or other religious fasts and can help you plan.
Some religious traditions allow exceptions for people with serious health conditions. If fasting poses a real risk to your health, speak with a religious leader or scholar about whether an exception applies to you. Many traditions permit people with diabetes to break a fast if their health is at risk, and some allow alternative forms of observance (such as donating to charity instead of fasting) for people who cannot fast safely.
Frequently Asked Questions
Can I fast if I take insulin?
You can fast if you take insulin, but only with your doctor's approval and a plan to adjust your insulin dose or timing. Fasting while taking insulin without medical guidance is dangerous because insulin will lower your blood sugar even if you are not eating. Your doctor will tell you which doses to skip or reduce on fasting days.
What if I have low blood sugar symptoms but I am in the middle of fasting for a religious reason?
Stop fasting and eat or drink something with sugar when ready. Your health comes first. Most religious traditions permit breaking a fast if your life or health is at serious risk. After you feel better, speak with your religious leader about whether you can make up the fast later or observe in a different way.
How often should I check my blood sugar while fasting?
Your doctor will tell you based on your medications and blood sugar patterns. Many people check before fasting starts, every two to three hours during the fast, and after eating again. If you use a continuous glucose monitor, you can see trends without pricking your finger as often, but you should still check with a meter at least once during a long fast to confirm the monitor is accurate.
Will fasting help me lose weight if I have diabetes?
Fasting may lead to weight loss, but it is not the only way to lose weight, and it is not safe for everyone with diabetes. Talk to your doctor about whether fasting is a good choice for you, or whether other approaches (such as eating smaller portions, choosing different foods, or increasing activity) would work better with your medications and blood sugar patterns.
What should I do if my blood sugar stays high even though I am fasting?
High blood sugar during fasting can happen if your body is releasing stored glucose faster than expected, or if your medication dose is too low. Do not fast longer or skip more meals trying to lower your blood sugar — this can make things worse. Contact your doctor to discuss what happened and whether your medication needs adjustment.