When Do You Fast: Medical, Religious & Diet Fasting

When you fast depends on why you’re fasting. For a blood test, you typically need 8 to 12 hours without food. Before surgery, the rules vary by what you last ate. And if you’re fasting for health or weight loss, the most common schedules involve daily windows of 14 to 18 hours without eating. Here’s a breakdown of each situation so you know exactly what to expect.

Fasting for Blood Tests

Certain blood tests require you to stop eating for 8 to 12 hours beforehand. The most common ones are fasting blood glucose tests and lipid panels, which measure cholesterol and triglyceride levels. Food temporarily changes the amount of sugar and fat circulating in your blood, so eating too close to the test can throw off results.

In practice, most people schedule their blood draw first thing in the morning and stop eating after dinner the night before. Water is fine and even encouraged, since staying hydrated makes it easier for the technician to draw blood. Black coffee is generally acceptable too, but skip the cream and sugar. Your doctor’s office will usually give you specific instructions when you book the appointment, and they’ll tell you whether your particular test requires fasting at all. Many routine blood tests don’t.

Fasting Before Surgery

If you’re having a procedure that requires anesthesia, you’ll be told to stop eating and drinking ahead of time. This prevents food or liquid from entering your lungs while you’re sedated. The required fasting time depends on what you consumed last:

  • Clear liquids (water, black coffee, pulp-free juice, clear soda): 2 hours before
  • Breast milk (for infants): 4 hours before
  • A light meal (toast with clear liquids): 6 hours before
  • A heavy or fatty meal: 8 hours before

These are the guidelines from the American Society of Anesthesiologists, and they apply to healthy, non-pregnant adults. Your surgical team may give you slightly different instructions based on your specific procedure, so follow whatever they tell you. The old rule of “nothing after midnight” is still common at many hospitals, even though the actual evidence supports shorter fasting times for clear liquids.

Intermittent Fasting Schedules

If you searched “when do you fast” because you’re curious about intermittent fasting, the answer comes down to which schedule you choose. The most popular approach is the 16:8 method, where you fast for 16 hours and eat within an 8-hour window. A typical version looks like skipping breakfast and eating only between 11 a.m. and 7 p.m. A gentler starting point is the 14:10 method, with eating between roughly 9 a.m. and 7 p.m. More aggressive protocols push the fasting window to 18 or even 20 hours, sometimes called OMAD (one meal a day).

Research on circadian rhythms suggests that when you place your eating window matters as much as how long you fast. Studies comparing early eating windows (roughly 8 a.m. to 5 or 6 p.m.) versus late ones (noon to 9 p.m.) consistently find that the earlier schedule produces better results for blood sugar control, weight loss, and appetite regulation. Eating during the evening, when your body’s insulin sensitivity naturally drops, has been linked to increased body weight and higher blood sugar levels. If your schedule allows it, finishing your last meal by early evening aligns best with your body’s internal clock.

What Happens Inside Your Body

Your body stores a quick-access energy supply called glycogen in the liver. After you stop eating, it burns through that supply first. Somewhere around 12 hours into a fast, those stores run out and your body begins breaking down stored fat into molecules called ketones for fuel. This shift, sometimes called the “metabolic switch,” typically happens between 12 and 36 hours after your last meal, depending on how much glycogen you had stored and how active you are during the fast. Exercise speeds up the process. On a standard 16:8 schedule, you’re likely hitting this fat-burning state for roughly the last 4 to 6 hours of your fasting window each day.

One practical note: fasting regularly for more than 16 to 18 hours a day has been associated with a higher risk of gallstones. Longer isn’t always better.

Religious Fasting

Many of the world’s major religions include fasting as a spiritual practice, each with different rules about timing. During Ramadan, Muslims fast from sunrise to sundown every day for an entire month, avoiding all food and drink during daylight hours. On Yom Kippur, Jewish observers fast for 25 continuous hours, abstaining from both food and water. Christian traditions vary widely: Lenten fasting may involve giving up specific foods for 40 days, while Eastern Orthodox fasting calendars include over 200 days of dietary restriction throughout the year.

The timing of religious fasts is fixed by tradition and the calendar, so you won’t choose your schedule the way you would with intermittent fasting. But the physiological effects are similar. A Ramadan fast during summer months in northern latitudes can stretch to 18 or 19 hours, which puts it in the same metabolic territory as aggressive intermittent fasting protocols.

Who Should Be Cautious About Fasting

Fasting isn’t safe for everyone, regardless of the reason. The NIH specifically flags several groups that should talk to a doctor before attempting any fast:

  • People under 25, whose bodies are still developing
  • Pregnant or breastfeeding women
  • People with diabetes who take insulin or blood sugar medications
  • Anyone taking medication that must be taken with food
  • People with seizure disorders
  • Night shift workers, whose circadian rhythms are already disrupted

If you fall into any of these categories and need to fast for a medical test or procedure, your healthcare team will already have protocols in place to manage it safely. The concern is more about voluntary, repeated fasting for weight loss or other health goals, where skipping meals could interact unpredictably with medications or underlying conditions.