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 mild night with heavy showers spreading to most parts by the early hours!
Tata UK's chief executive told ITV News they have great faith in the Port Talbot workers helping to make the company a success.
First Minister Carwyn Jones told ITV News the deal between Tata and the unions