Kayarohanaswami Temple, a Hindu temple dedicated to Shiva, is located in Nagapattinam. The temple has been in existence from the 6th century CE and has been revered by the verses of "Tevaram", the 7th–8th century Saiva canonical work by Appar, Sambandar and Sundarar. The temple is one of the seven temples of the Thyagaraja cult, classified as "Saptha Vidangam", where the deity Thyagaraja is believed to portray different dance styles. The temple is also known for the shrine of Neelayadakshi, the consort of Kayarohanaswami.