No. If you forgot you were fasting, stop as soon as you remember and carry on. Your fast is still valid.
The detail
The Prophet ﷺ said that whoever forgets they are fasting and eats or drinks should complete their fast, because it was Allah who fed them and gave them drink. This is the view of most scholars, and they say there is nothing to make up.
The Maliki school agrees the day is not sinful, but asks you to make up the day later if it was an obligatory fast such as Ramadan.
Forgetting is different from eating on purpose, or eating because you thought it was not yet dawn. If you knew you were fasting, this ruling does not apply.
If you see someone else eating who seems to have forgotten, many scholars say it is kind to remind them.
Sources
How to read these answers. Each one is a short summary of the main positions, with the school named where scholars differ. It is not a fatwa. For your own situation, and especially anything medical, follow your doctor and ask a scholar you trust.
Related questions
- Missing suhoorDoes not break the fast
- Tasting food while cookingDoes not break the fast
- Chewing gumBreaks the fast
See all 28 questions · Read How to Fast
Last updated 5 December 2026.