Quick answer
Do I have to fast during pregnancy?
A pregnant woman fasts if she is able. If she genuinely fears harm to herself or her baby, she may break the fast and make up the days later (qaḍāʾ); the schools differ on whether a fidyah is also owed.
A pregnant woman is, in principle, obliged to fast Ramadan like anyone else if she is able to do so without harm. Pregnancy by itself is not an automatic exemption — the concession applies when fasting would cause real hardship or risk.
If she genuinely fears harm to herself or to her child — based on her own experience or trustworthy medical advice — she is permitted to break the fast. This is a mercy, not a shortcoming: the Prophet ﷺ said Allah has relieved the traveller of half the prayer and the fast, and the pregnant and breastfeeding woman of the fast. (Sunan an-Nasāʾī, Abu Dawud)
The days broken are made up later (qaḍāʾ) when she is able. The schools differ on the fidyah (feeding a poor person per day): the Hanafi school requires only qaḍāʾ; the Shafiʿi and Hanbali schools require fidyah in addition to qaḍāʾ if she broke the fast out of fear for the child alone; the Maliki school has detailed cases. Following the ruling of your madhhab or a trusted scholar is best.
Noor's Ramadan and pregnancy modes track which fasts you broke and keep a running qaḍāʾ count, so the make-up days are not lost track of across a busy postpartum period.
This summary draws on the established positions of the four Sunni madhhabs. For your specific situation, consult a qualified scholar.
Go deeper
Worship guidance during pregnancy