The presidential decree which was signed by Indonesian President Joko Widodo on Thursday brings the new punishments immediately into effect although parliament could later overturn it.
According to Jokowi, the administrative order is a response to increasing sexual violence against children.
"I have declared that sexual offenses against children are an extraordinary crime, because they threaten and endanger the lives of children," Jokowi said.
READ: Indonesia introduces death, chemical castration for
The debate reaches Malaysia where
Most
They also claimed mental factor plays a big role in child rape and castration is a more effective punishment compared to imprisonment.
There are also
The new punishments include chemical castration for pedophiles, the use of electronic monitoring bracelets, and publication of offender identities.