The heavy metal-loving governor of Indonesian capital Jakarta has surrendered a guitar given to him by US band Metallica to anti-corruption authorities.

A beaming Joko Widodo appeared on TV last week strumming the maroon bass guitar gifted to him by Metallica's Robert Trujillo, which was autographed and bore the words "Giving Back!.. Keep Playin' That Cool Funky Bass!".

A spokesman for the powerful Corruption Eradication Commission (KPK), Johan Budi, says Joko Widodo has now handed the gift to them.

"We will check if there is any conflict of interest or if there was an exchange of favours," he said.

"The screening process takes up to 30 days, and after that we will decide whether to return the guitar to him or confiscate it."

During the TV appearance, Joko Widodo, an anti-establishment figure who was elected in September, said he was a huge fan of Metallica, whose hits include "Enter Sandman" and "Nothing Else Matters".

He also listed Led Zeppelin, Deep Purple and Napalm Death as among his favourite bands.

His spokesman Eko Hariadi said the guitar was the first gift he had received since becoming governor.

He says it was handed over voluntarily to be checked and there was no conflict of interest.

"The governor loves rock music," he said.

"So he was certainly happy to receive it, it's like getting a tennis racket from Boris Becker.

"To him, it was a souvenir and there was no exchange for favours."

Corruption remains rampant in Indonesia, particularly among public servants, and the country last year slid to 118th of 176 countries in Transparency International's annual graft index.

ABC/AFP