The attorney general of Indonesia said Indonesian president is to sign a decree allowing the use of chemical castration to punish pedophiles due to the increase in child sex crimes.
The castration process does not involve any surgery, but convicted pedophiles who undergo chemical castration are injected with a female hormone that effectively reduces his sex drive for a period of time.
Attorney General Prasetyo told reporters after a cabinet meeting late on Tuesday, "We are very concerned about child molestation abuse cases. This phenomenon has reached extraordinary levels. It has been agreed that there will be additional punishment in order to make people think a thousand times before doing this."
After the cabinet agreed, Indonesian President Joko Widodo is due to issue a presidential decree approving the punishment.
Indonesia has recently faced a rise of pedophilia crimes which triggered urgent measures to deal with the problem.
A group of janitors were reported raping a six-year-old student, at the US embassy-backed Jakarta Intercultural School, rekindled calls for tougher punishments.
In April, the FBI reported a suspected child predator, who committed suicide later on, had taught at several international schools.
In May also, the police jailed a man for reportedly abusing more than 100 young boys for months.
A nine-year-old schoolgirl was raped and killed in the capital, Jakarta earlier this month while also a 39-year-old man has been arrested in relation to that case.
South Korea became the first Asian country to permit the use of castration as a punishment in 2011, while Malaysia and India have recently considered similar measures against repeat sex offenders and convicted rapists.
Indonesia will be joined to a small group of countries that use castration as a punishment, including Poland, Russia, and Estonia, as well as some of the US states.