Fasting means voluntarily abstaining from food for a set period, but the specific rules depend entirely on why you’re fasting. A pre-surgery fast follows different standards than a religious fast or an intermittent fasting protocol. The common thread is a period without caloric intake, though even “zero calories” gets blurry in practice. Here’s what counts as fasting in every major context.
What Happens in Your Body During a Fast
When you stop eating, your body doesn’t immediately switch into “fasting mode.” For the first several hours, it burns through glucose stored in your liver as glycogen. Once those stores run low, your metabolism shifts to burning fatty acids and molecules called ketones for energy. This transition, sometimes called the metabolic switch, typically happens somewhere between 12 and 36 hours after your last meal. The wide range depends on how full your glycogen stores were when you stopped eating and how physically active you are during the fast. Someone who exercises while fasting will deplete glycogen faster than someone sitting at a desk.
At around the 12-hour mark, your body also begins ramping up autophagy, a cellular cleanup process where damaged or old cell components are broken down and recycled. Activity peaks closer to 24 hours of fasting. This is one reason many intermittent fasting protocols aim for at least a 16-hour fasting window: it pushes past the point where these metabolic changes begin.
Fasting Before Surgery or Medical Tests
Medical fasting is the most strictly defined version. Before surgery, current guidelines call for no solid food for at least 6 hours. Clear liquids like water, black coffee, or apple juice without pulp are typically allowed up to 2 hours before the procedure. For infants, breast milk is considered safe up to 4 hours before surgery.
The reason is practical: an empty stomach reduces the risk of aspiration, where stomach contents enter the lungs during anesthesia. Fasting for blood work follows a similar logic but for different reasons. Tests like fasting glucose or a lipid panel need a baseline reading without the noise of recently digested food. For most blood tests, fasting means no food or caloric drinks for 8 to 12 hours, though water is almost always fine and even encouraged to make blood draws easier.
Fasting for Intermittent Fasting
Intermittent fasting (IF) uses scheduled eating and fasting windows to change when you eat rather than what you eat. The two most common approaches are the 16/8 method, where you eat within an 8-hour window and fast for 16 hours each day, and the 5:2 method, where you eat normally five days a week and limit yourself to 500 to 600 calories on the other two days.
The 5:2 approach is worth noting because it technically allows some food on “fasting” days. This makes it a less strict definition of fasting, but it still achieves a significant calorie deficit. The 16/8 method, on the other hand, expects zero or near-zero caloric intake during the fasting window. Some people extend the fast to 20 hours with a 4-hour eating window, or practice alternate-day fasting, rotating between regular eating days and fasting days.
What Breaks a Fast
This is the question that generates the most debate, and the answer depends on your goal. If you’re fasting before a blood test or surgery, anything with calories breaks the fast. Full stop.
For intermittent fasting, the line is less clear. The key trigger is insulin. When you consume carbohydrates or protein, your pancreas releases insulin to process the incoming nutrients, which shifts your metabolism out of the fat-burning, fasted state. Keeping carbohydrate intake below roughly 50 grams per day is low enough to maintain significantly reduced insulin secretion and keep the body in a fat-burning state. But during a fasting window, most IF practitioners aim for as close to zero calories as possible.
Small amounts of certain substances are generally considered acceptable during an IF fasting window because their caloric and insulin impact is negligible:
- Water (plain, sparkling, or with a slice of lemon or cucumber)
- Black coffee with no sugar, cream, or milk
- Plain tea (green, black, or herbal) without sweeteners
- Electrolyte drinks that are sugar-free and very low calorie
- Apple cider vinegar diluted in water (one to two tablespoons)
What will break your fast: milk or cream in coffee, juice, smoothies, diet sodas with artificial sweeteners (some can trigger an insulin response), and bone broth if it contains more than trace calories. Tonic water is another common trap since it often contains added sugar despite tasting similar to sparkling water.
Religious Fasting
Religious fasts often follow stricter rules than any health-related protocol. During Ramadan, Muslims abstain from all food and drink, including water, from before the first light of dawn until sunset. This typically spans 29 to 30 consecutive days, with each daily fast lasting anywhere from 11 to 18 hours depending on the season and geographic location. People who are ill, traveling, menstruating, or have a medical condition where fasting could cause harm are excused and either make up the days later or provide charitable meals instead.
Other religious traditions have their own definitions. Jewish fasting on Yom Kippur similarly restricts all food and water for roughly 25 hours. Christian fasting traditions vary widely, from the Catholic practice of limiting food to one full meal and two smaller meals on Ash Wednesday and Good Friday, to Eastern Orthodox fasts that restrict animal products for weeks at a time. In Hinduism, fasting practices range from complete abstinence to avoiding specific foods like grains or salt. The common element across traditions is intentional restriction as a form of spiritual discipline, but what “counts” varies enormously.
How Long You Need to Fast Depends on Your Goal
The minimum duration that qualifies as a fast shifts depending on what you’re trying to achieve. Here’s a practical breakdown:
- Blood work: 8 to 12 hours without food or caloric drinks
- Pre-surgery: 6 hours without solid food, 2 hours without clear liquids
- Basic intermittent fasting benefits: 12 to 16 hours, enough to begin the metabolic switch from glucose to fat burning
- Enhanced cellular cleanup (autophagy): 16 to 24 hours, with activity increasing the longer the fast continues
- Deep ketosis: 24 to 36 hours for most people, though this varies significantly based on diet, activity level, and individual metabolism
Anything under about 8 hours without food is just the normal gap between meals. Your body doesn’t enter a meaningfully different metabolic state in that window. The overnight period between dinner and breakfast is technically a fast (that’s where the word “breakfast” comes from), but it only becomes physiologically significant once it stretches past the 12-hour mark for most people.

