Indian cult hero Irfan Pathan has announced his retirement from all forms of cricket.

The 35-year-old starred in India's 2007 ICC World Twenty20 final against Pakistan, taking 3-16 to help steer his country to victory in South Africa. 

All-rounder Irfan first shot to stardom back in 2003 when he claimed figures of 9-16 for India Under-19s against Bangladesh, earning him a spot in the senior squad for a tour of Australia.

He confirmed his decision to call it quits in an interview on Star Sports on Saturday.

"I am announcing retirement from all forms of cricket," said Irfan. "I have been fortunate to share the dressing room with greats of the game like [Sourav] Ganguly, [Rahul] Dravid and [VVS] Laxman. I am calling time on my career.

"I would like to thank my family for providing much-needed support. I would like to thank my fans. They have always hoped for my comeback. Their support has kept me going."

Irfan, who last played on the international stage in 2012, featured in 29 Tests, 120 ODIs and 24 T20s for his country.