(CNN) -- At least 30 people were killed and 350,000 displaced when torrential rains soaked much of West Africa, the United Nations said Friday.
Flooding in Burkina Faso's capital, Ouagadougou, killed five and affected about 150,000, the aid agency said.
It also prompted evacuations at a city hospital, said Elizabeth Byrs, a spokeswoman for the U.N. Office for the Coordination of Humanitarian Affairs.
At least 25 people were killed in Ghana, mostly in the capital, Accra.
In neighboring Niger, about 3,500 buildings were partially destroyed, with the north's Agadez region hardest hit, the United Nations said.
Benin, Guinea and Senegal each reported tens of thousands of people affected by the rains.
As many as 350,000 people in the region have been affected, Byrs said.