Advertisement

Can I exercise while fasting in Ramadan?

Gym treadmill
Photo: GhoziSeptiandri, CC BY-SA 4.0 via Wikimedia Commons

Yes. Exercising doesn't break your fast, and staying active in Ramadan is fine for most healthy people. The key is timing and intensity: train lighter than usual, ideally shortly before iftar (the sunset meal) or a couple of hours after it, and stop if you feel dizzy or unwell.

Does exercise break the fast?

No. Sweating, getting tired or feeling thirsty doesn't affect your fast. Only things like eating, drinking and intercourse during daylight do. Just be careful not to sip from your water bottle out of habit.

Swimming is also allowed, but avoid getting water into your mouth or nose, since swallowing it would break the fast. See Can I still go swimming at a public pool as a Muslim?

Islam values a healthy body. The Prophet ﷺ said: "A strong believer is better and is more lovable to Allah than a weak believer, and there is good in everyone" (Sahih Muslim 2664). At the same time, you shouldn't push yourself into harm:

وَلَا تُلْقُوا۟ بِأَيْدِيكُمْ إِلَى ٱلتَّهْلُكَةِ "And do not throw [yourselves] with your [own] hands into destruction." Quran 2:195

The best times to train

  • 30 to 60 minutes before iftar: popular for light cardio or a walk, since you can rehydrate soon after.
  • 1 to 2 hours after iftar: best for strength training or harder sessions, once you've eaten and had water.
  • After suhoor (the pre-dawn meal): possible for a gentle session, but you'll have a long day without water ahead.

Many people also find that taraweeh (the Ramadan night prayer) and the walk to the mosque add a fair bit of movement.

Keep it lighter than usual

Ramadan is a time to maintain fitness, not to chase personal records. Cut volume and intensity, avoid long sessions in the heat, and favor walking, mobility work, yoga-style stretching or moderate weights. Sleep and hydration matter more than ever, so drink water steadily between iftar and suhoor and include protein in both meals.

Dressing modestly at the gym still applies while fasting. See Can I still wear shorts to the gym as a Muslim? For sisters, see How do I wear hijab for sports?

When to stop

  • Warning signs: dizziness, a racing heart, confusion, fainting or severe headache mean stop right away.
  • Real danger: if you're at risk of serious harm, breaking the fast is allowed. You make up the day later.
  • Health conditions: if you have diabetes, heart problems, are pregnant or take regular medication, ask your doctor before exercising while fasting.

These are general tips, not medical advice. Listen to your body; it's part of looking after the trust Allah gave you.

Key points
  • Exercise doesn't break your fast.
  • Train just before iftar or a few hours after it.
  • Go lighter than usual and stay hydrated at night.
  • Stop if you feel unwell; ask a doctor if you have a condition.
Tip: Try a 20-minute walk before sunset each day. It's gentle, keeps you moving and you'll arrive at iftar with a good appetite.

People also ask

Is Ramadan fasting the same as intermittent fasting?

Ramadan fasting is not the same as intermittent fasting: no water from dawn to sunset, a fixed month and an act of worship, not just a diet.

Read the full answer →
How do Muslim athletes fast in Ramadan?

Muslim athletes fast in Ramadan by training around iftar, eating a solid suhoor and drinking well at night. Illness and travel allow postponing.

Read the full answer →
Does kissing break your fast?

No, kissing your spouse doesn't break your fast by itself, as the Prophet did, but it's disliked if it may lead further. Scholars' views.

Read the full answer →
How do I prepare for my first Ramadan as a new Muslim?

To prepare for your first Ramadan as a new Muslim, learn the basics, do practice fasts, plan sleep and work, and keep your goals small.

Read the full answer →
What is taraweeh and do I have to pray it?

No, you don't have to pray taraweeh. It's a highly recommended Ramadan night prayer after Isha. Here's how many rakat and how to start.

Read the full answer →