Does not break the fast
No. Something that happens in your sleep is out of your control and does not break the fast. Make ghusl when you wake.
The detail
Scholars agree that a wet dream does not break the fast, because it is not something you chose.
You will need ghusl before you pray. See How to make ghusl.
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
See all 28 questions · Read How to Fast
Last updated 5 December 2026.