No. If you intended to fast, your fast is valid even if you sleep most of the day. Your prayers are a separate matter.
The detail
Sleep does not break the fast. Your intention to fast was made before dawn, and it carries on through the day.
Missing the prayers while asleep is a separate, serious matter. Set alarms so you wake for Dhuhr and Asr, and pray any missed prayer as soon as you wake.
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.