Flash floods in the Indonesian capital of Jakarta since New Year’s Eve have left more than 21 people dead.

British travellers to the city have been warned to monitor local weather reports.

As much as 14.8 inches of rainfall was recorded in a day at an airport in east Jakarta – the most in a single day since 1996.

Electricity has been switched off in many districts of Jakarta as a precaution, and some railway lines are also shut.

The Foreign and Commonwealth Office said in updated travel advice on Thursday: “Flash floods have resulted in the deaths of at least 21 people in Greater Jakarta since heavy rainfall began on 31 December.

“Large areas of the country, including parts of west Sumatra, central, east and west Java and Jakarta have been severely affected by heavy rains and subsequent landslides and flooding in recent years.

“Throughout Indonesia flash floods and more widespread flooding occur regularly.

“Cities – especially Jakarta – often suffer severe localised flooding which can result in major traffic congestion and power outages.

“The main toll road to Soekarno-Hatta International airport and other major roads in Jakarta can be affected by flooding.

“Slips and landslides occur in mountainous and remote areas, but also in urban areas.

“Take care when driving and walking. Keep a stock of bottled water and make sure your phone is charged.”