Taiwan evacuated more than 8,300 people ahead of Wednesday's arrival of a much weakened Typhoon Fung-wong that brought heavy downpours to the mountainous east coast and unleashed floods that ran neck-high in places.
Businesses and schools were shut in most southern areas of the island, with 51 people injured.
Television images showed severe floods in parts of the largely rural eastern county of Yilan, with waters neck-deep as soldiers mounted rescue efforts for those stranded.
"The water came in so quickly," said fisherman Hung Chun-yi, who spent the night clearing mud from his home in the eastern harbour town of Suao, after its first floor was engulfed in waters 60-cm deep.
"It rained so much, and so fast, the drainage couldn't take it."
The fire department said about 8,300 people were moved from their homes to safer areas, mostly in Yilan and nearby Hualien, where a monsoon from the north swelled the rainfall with the unseasonably late typhoon.
Yilan's town of Dongshan received 794 mm of rain on Tuesday, weather officials said.
Fung-wong is forecast to graze the far southern tip of Taiwan later on Wednesday before heading into the Pacific Ocean. It lost considerable strength after swirling through the Philippines to kill 27 people.
A typhoon in September caused floods that killed 18 people in Hualien.
This week's typhoon will not directly affect the northern city of Hsinchu, home to TSMC, the world's largest contract chipmaker.

Trump backs down on Greenland tariffs, says deal framework reached
Train crashes into crane in southeastern Spain, several injured
New Zealand rescuers seek landslide survivors as weather havoc kills two
3 people shot dead in eastern Australia, town in lockdown
Death toll in Karachi mall fire climbs to around 50, official says
