No. Washing, showering and swimming do not break the fast, as long as you do not swallow water.
The detail
The Prophet ﷺ was seen pouring water over his head while fasting, because of thirst or heat.
Swimming is allowed too, but it is easy to swallow water, so be careful. Avoid diving if you tend to get water in your mouth or nose.
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
See all 28 questions · Read How to Fast
Last updated 5 December 2026.