Palani (Tamil: [paɻani] or Palni as in British records, is a town and a taluk headquarters in Dindigul district of the western part of Tamil Nadu state in India. It is located about 106 kilometres (66 mi) south-east of Coimbatore and 122 kilometres (76 mi) north-west of Madurai, 67 kilometres (42 mi) from Kodaikanal. The Palani Murugan Temple or Arulmigu Dhandayuthapani Swamy Temple (Thiru Avinankudi), dedicated to Lord Murugan is situated on a hill overlooking the town. The temple is visited by more than 7 million pilgrims each year. As of 2011, the town had a population of 126,751 which makes it the second largest town in the district after Dindigul.