More than 80,000 people have been displaced by floods in Indonesia. / Photo: AFP

The death toll from flash floods and landslides on Indonesia's Sumatra island has risen to 21, with tens of thousands of people fleeing to temporary government shelters, officials said on Sunday.

A river burst its banks and ripped through mountainside villages in West Sumatra's Pesisir Selatan district late Friday, Doni Yusrizal, a spokesperson for the National Disaster Management Agency, told reporters.

According to Yusrizal, seven bodies were recovered in the village of Koto XI Tarusan, while another three were found in two neighbouring villages, bringing the total number of deaths to 21.

However, seven people are still missing.

Thousands displaced

"Relief efforts for the dead and missing were hampered by power outages, blocked roads covered in thick mud and debris," Yusrizal said.

The agency said at least two villagers were injured, while more than 80,000 people have fled to temporary government shelters.

Flash floods and landslides are common in Indonesia, where millions live near floodplains, particularly during the rainy season.

Click here to follow our WhatsApp channel for more stories.

AA