Is my fast valid if I don't pray?

According to most scholars, yes, your fast is still valid if you don't pray, but you are missing an even bigger obligation. Prayer and fasting are separate duties. Skipping one doesn't cancel the other, though some Hanbali scholars hold a stricter view.
Two separate pillars
Prayer and fasting are both pillars of Islam (Sahih al-Bukhari 8), and each one stands on its own. A fast is valid when you make the intention and avoid food, drink and intercourse from dawn to sunset. Prayer is not listed among the conditions of a valid fast. So the majority of scholars in the Hanafi, Maliki and Shafi'i schools say the fast counts and you are rewarded for it, while you are sinful for missing the prayers.
Why some scholars are stricter
Prayer has a special status. The Prophet ﷺ said that between a person and disbelief is abandoning the prayer (Sahih Muslim 82), and "The covenant between us and them is the prayer; whoever abandons it has disbelieved" (Jami' at-Tirmidhi 2621). Many Hanbali scholars take these words literally for someone who abandons prayer completely, and conclude that such a person's fast is not accepted. The majority understand them as a severe warning rather than leaving Islam, especially for someone who believes prayer is a duty but is lazy or struggling.
Either way, scholars of all schools agree on one thing: the answer is not to stop fasting, but to start praying.
If you are a new Muslim
Many converts find fasting easier than praying five times a day at first, especially before they've learnt the words. That is very common, and Allah sees your effort. Ramadan is actually the perfect time to build the habit, because your whole day already revolves around worship.
- Start with one or two prayers you can manage, then add more.
- Use a simple guide and pray even if you only know a few words. See How do I pray as a Muslim?
- Link prayers to fasting moments: Fajr after suhoor, Maghrib right after iftar.
See also Do I have to pray five times a day right after becoming Muslim?
If you're struggling for other reasons
If depression, burnout or a difficult home situation is making prayer feel impossible, be gentle with yourself and reach out for support. See Do I still have to pray when I'm severely depressed?
- Most scholars say a fast is valid even if the person doesn't pray.
- Some Hanbali scholars say a person who abandons prayer completely gains nothing from the fast.
- Missing prayer is a more serious sin than missing a fast.
- Keep fasting and start praying, step by step.
People also ask
Do I recite out loud or silently in prayer?
It depends: Fajr, Maghrib and Isha are recited out loud in the first two rakat, Dhuhr and Asr silently. How loud, praying alone, and behind an imam.
Read the full answer →Can I pray while I need the toilet?
It's better not to pray while you need the toilet; the Prophet discouraged it. Go first, make wudu, then pray, unless prayer time is running out.
Read the full answer →Can I pray with my eyes closed?
Yes, prayer with your eyes closed is valid, but the sunnah is to keep them open and lowered. Here's what the four schools say and how to stay focused.
Read the full answer →Do women have to cover their feet in prayer?
It depends on your school: Shafi'is and Hanbalis say women must cover their feet in prayer, Hanafis don't. Socks keep you safe in every view.
Read the full answer →Can I pray before the adhan?
Yes, you can pray before the adhan if the prayer time has started. A prayer before its time doesn't count. Here's how to handle apps and mosque times.
Read the full answer →