I ate something by accident while fasting — is my fast broken?
No. If you genuinely forgot you were fasting, your fast stands: finish the day as normal and there is nothing to make up and nothing owed. Stop as soon as you remember. This is one of the few points where the ruling is stated so directly that there is no room for the anxiety it usually causes.
The four schools concur on this.
This happens to almost everyone at some point, usually in the first week, and usually with a cup of tea made on autopilot.
The ruling is explicit: “If somebody eats or drinks forgetfully then he should complete his fast, for what he has eaten or drunk has been given to him by Allah” (Sahih al-Bukhari 1933).
So, concretely:
- Your fast is valid. Not “valid but weaker” — valid.
- You do not make the day up.
- There is no expiation, no extra fast, and no penalty.
- The moment you realise, you stop and rinse your mouth. Continuing knowingly after remembering is what would break it.
The reasoning is that fasting is an act of intention, and an intention you did not abandon is not undone by a hand that moved without you. The same principle covers the person who forgets and eats twice in one day, and the person who does it more than once in a month.
Where people go wrong is in the opposite direction: having eaten by mistake, they conclude the day is ruined and eat properly. That does break the fast, and that is what has to be made up. The mistake costs nothing; giving up after it is what costs.
One related case worth knowing: if you eat believing it is still night and dawn had in fact broken, or break the fast believing the sun has set when it had not, the schools discuss the ruling and most treat a genuine error gently — but the safe course, and the one to ask about, is to make that day up.
- HadithSahih al-Bukhari 1933