How Many Hours Should You Fast?

DetoxWater Editorial Team•Published November 4, 2026

A 12–14-hour overnight fast is a common option for healthy adults who choose intermittent fasting, but no fasting duration is required for health. Your age, health conditions, medications, pregnancy or breastfeeding status, and reason for fasting can change whether fasting is appropriate. If you are considering fasting for detox, know that your liver and kidneys do most of the body's detoxification; your lungs and gut also help eliminate waste.

How do you calculate fasting hours?

Count from your last calorie-containing food or drink to your next one. The fasting interval usually includes sleep, so an overnight fast does not mean staying awake or skipping a full day of meals.

Fasting scheduleFasting windowEating windowExample fasting window
12:1212 hours12 hours7 p.m. to 7 a.m.
14:1014 hours10 hours7 p.m. to 9 a.m.
16:816 hours8 hours7 p.m. to 11 a.m.

Each schedule divides a 24-hour day into a fasting window and an eating window. These are examples, not targets everyone needs to meet. A longer fast is not automatically better, and a schedule that makes it hard to eat enough or feel well may not suit you.

For example, if you finish a snack at 8 p.m. and next consume calories at 8 a.m., your fast lasts 12 hours. A calorie-containing drink during that interval ends the fast for this calculation. Water is generally allowed during intermittent fasting; plain, unsweetened tea or coffee is also commonly included, although individual needs and medical instructions may differ.

What changes how many hours you should fast?

Your health, age and medications

Some people should not choose a fasting schedule without medical advice. This includes children and teenagers, people who are pregnant or breastfeeding, and people who are underweight or have a current or past eating disorder.

Talk with a clinician before fasting if you have diabetes, particularly if you take insulin or medicines that can lower blood sugar. Also ask for advice if you have another medical condition, take medication that needs to be taken with food, or have been told to follow a particular eating plan. Do not skip or change prescribed medication to fit a fast.

Your reason for fasting

If fasting is required before a blood test, procedure or surgery, follow the instructions from your care team rather than an intermittent fasting schedule. The instructions may specify different rules for food, drinks and medication.

For general health, fasting is optional. A 2017 review of intermittent fasting found that some regimens may support weight loss and metabolic health, but the proposed benefits of longer overnight fasting needed further testing. A 2022 review also noted that more research is needed on long-term outcomes. Neither establishes a fasting duration that everyone should follow.

Your routine and how you feel

Work hours, sleep, exercise, family meals and the timing of medication can all affect whether a schedule is practical. An overnight interval that fits your normal meals may be easier to follow than one that forces you to miss meals or eat at inconvenient times.

Pay attention to whether you can eat enough during your eating window and go about your day comfortably. If fasting leaves you feeling shaky, dizzy or unwell, stop fasting and eat or drink as appropriate. If you have diabetes, follow your care plan for symptoms of low blood sugar.

When should you get medical help?

Seek urgent medical help for fainting, confusion or severe weakness. If you repeatedly feel unwell when fasting, speak with a clinician before trying again; the answer may be not to fast rather than to change the number of hours.

How do you use a fasting calculator?

Enter the time you last consumed calories, then enter the time you expect to eat or drink calories again. Include the time across midnight when calculating an overnight interval. The intermittent fasting timer can help you track that window.

Check that the resulting schedule fits your meals, health needs and any instructions from your care team. A timer calculates elapsed time; it cannot determine whether fasting is safe or necessary for you.

Frequently asked questions

Does sleep count toward fasting hours?

Yes. Time spent asleep counts as long as you do not consume calories during the interval.

Does a fast have to start at a particular time?

No. For intermittent fasting, the start time is the time of your last calorie-containing food or drink. Choose a schedule that fits your routine and health needs.

Is a longer fast always better?

No. Longer fasts are not automatically more beneficial and may be harder to tolerate or inappropriate for some people.

Sources

  1. Intermittent Fasting and Metabolic Health. Nutrients (2022). PubMed 35276989
  2. Metabolic Effects of Intermittent Fasting. Annual review of nutrition (2017). PubMed 28715993