Indonesia has introduced the death penalty and chemical castration for child rapists.
President Joko Widodo said the sanctions “intended to overcome the crisis caused by sexual violence against children”, the BBCreports.
The maximum sentence for rape, of a child or an adult, was previously 14 years in prison.
Those jailed for child sexual offences may also be electronically tagged after their release.
The change follows public outrage over rising levels of violent crimes in the past year, including the gang-rape and murder of a 14-year-old girl as she walked home from school on the western island of Sumatra last April.
It was introduced by presidential decree and will come into effect immediately, although the country’s parliament could overturn the measure at a later date.
President Widodo was elected in 2014, having previously served as mayor of Surakarta and governor of Jakarta.
Having allowed the implementation of the death penalty on a widespread basis against convicted drug users and traffickers, his stance on execution has drawn international scrutiny.
Brits Lindsay Sandiford, from Teeside, and Gareth Cashmore, from Yorkshire, are among those currently on death row, facing death by firing squad, after being convicted of drug smuggling.
Last April, the country was widely condemned after a group of prisoners was executed on Nusakambangan Island – including Australian men Andrew Chan and Myuran Sukumaran, Brazilian Rodrigo Gularte, Nigerian men Martin Anderson, Sylvester Nwolise, Okwudili Oyatanze and Raheem Salami, and Indonesian Zainal Badarudin.