Can I fast if I work night shifts?

Yes, you can fast while working night shifts, and many Muslims find it easier than day work. The fast still runs from dawn to sunset wherever you are, so you eat at night during your shift and sleep through much of the fasting day. Just make sure you don't sleep through the daytime prayers.
The fasting times don't change
Your fast is tied to dawn (Fajr) and sunset (Maghrib), not to your working hours. Allah says to eat and drink until dawn, then "complete the fast until the night" (Quran 2:187). For a night worker, that usually means:
- Iftar at sunset, at home before your shift or on a break.
- Meals and water during the night shift.
- Suhoor before Fajr, often still at work.
- Sleep after you get home, during the fasting day.
Sleeping through the day doesn't affect your fast. For times, see What time do I start and stop fasting in Ramadan?
Don't sleep through Dhuhr and Asr
The real challenge isn't the fast, it's the prayers. Set alarms for Dhuhr and Asr, pray, then go back to sleep. Some people sleep in two blocks: morning until Dhuhr, then again until Asr or shortly before Maghrib. Make wudu before sleeping so getting up to pray is quick.
If the work is truly exhausting
Hard physical night work, like warehouse shifts, nursing or security on your feet all night, can be draining. Scholars generally say you should still start each day fasting. If you reach a point of real danger to your health (fainting, serious dehydration, risk of making unsafe mistakes), you may break the fast and make up the day later. Some scholars also advise asking for lighter duties or a different rota in Ramadan if possible.
If you take medicine for sleep or a health condition, follow your doctor's advice on timing. See Can I take sleeping pills as a Muslim?
Tips for night workers
- Eat a proper iftar, not just snacks, before or early in your shift.
- Pack a balanced suhoor: protein, slow carbs and fruit.
- Drink water regularly through the night.
- Use blackout curtains and earplugs for daytime sleep.
- Tell your manager you're fasting; most UK, EU and US employers will try to help.
Use quiet moments at work for dhikr. See Can I do dhikr while driving or working?
- Night shift workers fast from dawn to sunset like everyone else.
- You eat during the night and sleep in the day.
- Set alarms so you don't miss Dhuhr and Asr.
- Break and make up the day if your health is in real danger.
People also ask
How do I tell my boss I'm fasting for Ramadan?
Tell your boss you're fasting for Ramadan briefly and early. Here's when to bring it up, what to ask for, a sample script and your rights at work.
Read the full answer →Can I fast if I have a physical job?
Yes, you can fast with a physical job. Work alone isn't an excuse, but if your health is at real risk that day, break the fast and make it up.
Read the full answer →Is it haram to work in the weapons industry?
It depends. Working in the weapons industry for lawful defense is allowed in principle, but helping aggression or oppressors is haram.
Read the full answer →Can Muslims work in immigration or border control?
It depends, but most scholars allow Muslims to work in immigration or border control if they act fairly, honestly and with compassion.
Read the full answer →Can Muslims work as prison officers?
Yes, Muslims can generally work as prison officers. Keep people safe, treat every prisoner humanely, and be fair to Muslim inmates too.
Read the full answer →