Thayumanaswami Temple is a temple situated in the Rockfort complex in the city of Tiruchirappalli, India. The temple is situated close to the base of the Rockfort and was constructed by the Pallava king Mahendravarman I in the 6th century AD. Shiva is worshiped as Thayumanavar, and is represented by the lingam and his consort Parvati is depicted as Mattuvar Kuzhalammai. The presiding deity is revered in the 7th century Tamil Saiva canonical work, the Tevaram, written by Tamil saint poets known as the nayanars and classified as Paadal Petra Sthalam.The temple complex has three shrines, two of which are dedicated to Lord Ganesha, one at the foot and the Ucchi Pillayar Temple at the top, and the Thayumanaswami Temple between them.