Skip to content

General health information · not medical advice · some links earn a commission · OPA Nutrition is owned by the same company · Disclosure

Guide · Nov 4, 2026

Intermittent Fasting and Shift Work: Building an Eating Window That Fits

Night work makes fasting schedules tricky. Here's what the lab and trial research found about meal timing on night shifts, plus three eating windows you can adapt to your rota.

By Michael Gonzales · Last updated

Intermittent Fasting and Shift Work: Building an Eating Window That Fits

Short answer: If you work nights, the research points to one idea worth building around: keep most of your eating in the daytime hours and keep the middle of the night shift light or food-free. In a lab study of simulated night work, people who ate only during the day kept their glucose tolerance, while people who ate at night lost some of it [1]. The largest real-world trial so far found that a 5:2 fasting plan worked about as well as everyday calorie cutting for night workers, so the best schedule is the one you can repeat across your rota [2].

PingDiet shares general information, not medical advice. If you take medication for diabetes or blood pressure, are pregnant, or have a history of disordered eating, talk with your doctor before you change when or how much you eat.

What does the research say about fasting and night shifts?

Most fasting studies use people who sleep at night. Shift workers are harder to study, so the evidence is thinner. Here's what the main studies found.

StudyWho was studiedWhat it found
Chellappa et al., 2021 [1]Healthy adults in a 14-day lab protocol with simulated night workEating at night threw the body's glucose rhythm out of step with its central clock and worsened glucose tolerance. Restricting meals to daytime prevented both.
SWIFt trial (Bonham et al., 2025) [2]250 night shift workers with overweight or obesity in Melbourne and Adelaide, 24 weeksTwo 5:2 plans (low-energy days on days off, or on night shifts) did not beat ordinary calorie restriction for weight or insulin resistance. The days-off fasting group had lower total and LDL cholesterol than the calorie-restriction group.
Wulandari et al., 2026 review [3]Four randomized trials of meal timing in shift workersNight fasting improved some after-meal glucose measures in one trial, but the authors say the trials are too few and too small for firm conclusions.

Two points stand out. First, when you eat on a night shift seems to matter for blood sugar, at least in the lab [1]. Second, for weight, no fasting plan has clearly outperformed simply eating less [2]. The SWIFt researchers found that most night workers who stayed in the program made meaningful progress, whichever plan they were given [2].

How do you pick an eating window on a night shift?

Start with your sleep, not the clock. Your eating window should end a few hours before your main sleep and sit mostly in the hours when you'd normally be awake in daylight.

Here are three patterns people commonly try. None of them has been tested head to head, so treat them as starting points.

Pattern 1: Eat before the shift, go light overnight

For a 7 p.m. to 7 a.m. shift, sleeping roughly 8 a.m. to 3 p.m.:

  • 3:30 p.m.: first meal after waking (protein, vegetables, a starch)
  • 6:30 p.m.: main meal before you leave for work
  • 11 p.m.: small protein snack on your first break
  • Midnight to waking: water, plain tea, or black coffee early in the shift only

That's an eight-hour eating window, or a 16:8 pattern built around the shift. Most of the food lands before the night starts, which is close to the daytime eating that protected glucose tolerance in the lab study [1]. If you want to compare 16:8 with longer windows, see our guide to 16/8 vs 18/6 vs OMAD.

Pattern 2: Fast on your days off, eat normally on shift

This is the "5:2 on days off" approach from the SWIFt trial. Participants had about 500 calories (2,100 kJ) on two days a week and ate as usual on the other five [2][4]. Picking days off for the low-calorie days means you aren't running on little food at 4 a.m. in front of a patient or a machine.

Pattern 3: Keep a 12-hour window and protect the night

If longer fasts feel like too much, a 12-hour window still keeps the last stretch of the night food-free. On a 7 p.m. start, that could mean eating from about 3 p.m. to 3 a.m. on work days, with most of the food early in that window and nothing from 3 a.m. until you wake up.

What should you eat and drink during a night shift?

Keep the overnight hours simple:

  • Water. Keep a bottle at your station.
  • Black coffee or plain tea early in the shift. Both are close to zero calories. Stop caffeine several hours before you plan to sleep. Our guide to whether coffee breaks a fast covers creamers and sweeteners.
  • Salt or electrolytes on long fasting stretches if you get lightheaded. See electrolytes while fasting.
  • A planned snack if you need one. A small protein snack, like a boiled egg or Greek yogurt, is easier to plan than whatever the vending machine has at 3 a.m.

How do you handle rotating shifts and days off?

Rotating schedules are the hardest. A few things help:

  1. Pick one rule for each type of day. For example: work nights use Pattern 1, days off use a normal 12-hour daytime window.
  2. Shift your window gradually on changeover days. Moving from nights back to days, have a light breakfast after a short nap and eat your main meal at a normal dinner time.
  3. Don't stack a fast on top of a sleep debt. If you've slept badly, eat a normal meal and pick the plan back up the next day.
  4. Track weight and how you feel for a few weeks before you judge the plan. The SWIFt trial ran for 24 weeks [2].

If you're new to fasting, read our intermittent fasting for beginners guide first.

Who should be careful?

Night work is already hard on sleep. Skip or modify fasting and talk with your doctor if you:

  • take insulin or other glucose-lowering medication
  • drive, operate machinery or make safety-critical decisions and feel shaky or foggy while fasting
  • are pregnant or breastfeeding
  • have a history of an eating disorder

Sources

  1. Science Advances. Daytime eating prevents internal circadian misalignment and glucose intolerance in night work (Chellappa et al., 2021)
  2. eBioMedicine. Intermittent fasting for weight loss in night shift workers: a three-arm, superiority randomised clinical trial (Bonham et al., 2025)
  3. Nutrition and Health. Cardiometabolic status among shift workers under meal time regulation: a systematic review of randomized controlled trials (Wulandari et al., 2026)
  4. BMJ Open. Study protocol for the Shifting Weight using Intermittent Fasting in night shift workers (SWIFt) study (Rogers et al., 2022)

Photo: Mikhail Nilov / Pexels

After you pick hours that follow the shift, the eating window calculator shows that eating window and the fast beside it.

Frequently asked questions

Can you do intermittent fasting on night shift?

Yes. Many night workers set an eating window that ends before the main sleep and keeps the middle of the shift light. In a 24-week trial of 250 night workers, a 5:2 plan was about as effective as standard calorie cutting.

Is it better to eat before or after a night shift?

A lab study of simulated night work found that eating only in the daytime kept glucose tolerance steady, while eating at night worsened it. For many people, that means a main meal before the shift and a light or no meal overnight.

Should I fast during my night shift or on my days off?

The SWIFt trial tested both. Neither beat ordinary calorie restriction for weight loss. The days-off group had lower total and LDL cholesterol than the calorie-restriction group, and fasting on days off avoids low-energy hours at work.

Does black coffee break a fast on night shift?

Black coffee has almost no calories, so most fasting plans allow it. Stop caffeine several hours before you plan to sleep.

Is intermittent fasting safe for nurses and other shift workers?

It can be for healthy adults, but fasting on top of short sleep can make you tired or shaky. If you take diabetes medication or do safety-critical work, talk with your doctor first.

Michael Gonzales

Written by

Michael Gonzales

Founder & Editor

Michael Gonzales is the founder of Cloudalien Technologies LLC, the company that owns PingDiet, and he edits every page on the site. PingDiet publishes practical guides to intermittent fasting and to eating fewer times a day. Michael is not a doctor or registered dietitian, so nothing on PingDiet is medical advice.