Cardiff and Vale University Health Board said that "torrential rain" yesterday caused water to enter the Children's Hospital for Wales.
The hospital has been "temporarily evacuated" while the extent of water damage is assessed.
It says 18 patients have been safely moved to child health areas in the main University Hospital of Wales building, and are being cared for by staff from the children's hospital.
Our teams were superb in swiftly moving children out of the affected areas and identifying safe and appropriate areas within the main hospital as temporary accommodation.
No-one was injured in the incident and everyone has remained calm, with staff helping patients and their families settle in to their new environments. Our estates team is currently assessing the damage but it is likely the Children’s Hospital will be out of action for the remainder of this week.
Paediatric emergency and elective inpatient services have not been affected.
The cause of the flooding is currently being investigated.
More top news
A very unsettled day with frequent outbreaks of persistent, occasionally heavy rain, especially in the south and over hills.
Protesters are set to march through Cardiff city centre today to campaign against local budget cuts to the arts.
Deaths from liver disease in Wales have more than doubled in the last 20 years.