Thiruvaiyaru (also spelled as Tiruvaiyaru) (Tamil: திருவையாறு) is a panchayat town in Thanjavur District in the Indian state of Tamil Nadu. Thiruvaiyaru is situated on the banks of the river Kaveri, 13 km from Thanjavur. Thiruvaaiyaru has an old Siva temple dedicated to Panchanatheeswar. Though pilgrims flock to this temple throughout the year, Thiruvaiyaru is more renowned for its association with Saint Thyagaraja, who, along with Muthuswami Dikshitar and Shyama Sastri, comprised the Trinity of Carnatic music. Thiruvaiyaru means Five Rivers around the city.