The laws were passed earlier this month after a proposal from the government, approving harsher penalties for perpetrators of sexual violence against children.
“Our constitution respects human rights, but when it comes to sexual crimes there is no compromise,” President Widodo said in the BBC interview.
“We are strong and we will be very firm. We will hand out the maximum penalty for sexual crimes.
He added: “In my opinion … chemical castration, if we enforce it consistently, will reduce sex crimes and wipe them out over time.”
Penalties under the new law include death as a maximum sentence and chemical castration, with a possible addition of a two-year maximum jail sentence.
President Jokowi signed the proposed regulation in May, after activists and the public called for reform in the wake of the brutal gang rape and murder of a 14-year-old-school girl in Bengkulu, on the western island of Sumatra, in April.
During the wide-ranging interview, the President also spoke on the South China Sea, corruption, the tax amnesty and the government’s stance on homosexuality.
On the South China Sea, he told the BBC that the military is clamping down on illegal fishing.
“These are our natural resources, this is Indonesian wealth. So from now on illegal fishing vessels cannot play around with us,” he said.
“The second thing is Natuna is our territory. Natuna is in Indonesia. So if we want to conduct military operations, war games, then it’s our right. In terms of sovereignty I will never compromise.”
The President was also asked about corruption, to which he replied that the government was taking a “harsh and strict” approach.
“Nine ministers, 19 governors, 300 more local leaders [and] 100 parliamentarians are in jail because of corruption,” he said.
He also responded to a question on a government advert earlier this month calling for a new youth ambassador position which was only open to applicants not involved in “sexually deviant behaviour”.
The Indonesian leader said there was no discrimination against minorities in the country ,while adding: “We are the world’s largest Muslim nation and we have religious norms. You have to remember that and know that. We have social norms.”
Chemical castration or Tattoo across the forehead – their choice.