"This crime is extraordinary and there have been so many victims."
He said the punishment would be authorised soon through a presidential directive, which means it will automatically become law without parliament having to vote on it.
It would be carried out by injecting paedophiles with female hormones, he said.
Indonesia joins a small group of places that use chemical castration against child sex offenders, including Poland and some states in the US. In 2011, South Korea became the first Asian country to legalise the punishment.
Indonesia has been shocked by a series of high-profile child sex attacks. The most recent case was the kidnap, rape and murder of a nine-year-old girl.
Her body was discovered stuffed in a cardboard box in the capital Jakarta earlier this month, and an autopsy revealed that she had been repeatedly sexually assaulted.
Under current laws, child sex abuse is punishable by 15 years in jail but in many cases paedophiles have been handed short sentences.
More about: