Chu Li-lun, a county magistrate, was named to replace him, the president's office said.

Morakot caused massive landslides that wiped out whole sections of villages in the island's southern mountains.

While public anger over the handling of the disaster has been the toughest test for Ma since he became president, analysts said they expected no major fallout.

Daniel Soh, an economist at Forecast Limited in Singapore, said: "Taiwan is politically similar to South Korea where real power sits with the president.

"There is unlikely to be much political instability as a result of the premier's resignation."

The cabinet has earmarked $3bn for reconstruction work and will build 1,000 homes for the storm survivors with the help of a charity group and electronics maker, Hon Hai Precision Industry Co, said Ma.