Thirumayam, about 15 km west of Pudukkottai, has a compact but rewarding combination of fort and temples on a single rocky hill. The fort was constructed in the late 17th century by the Ramanathapuram Sethupathis and later occupied by various powers including the British. Its walls of rammed earth and brick enclose a large area at the top of the outcrop, with bastions and gates in reasonable preservation.
More interesting are the two cave temples at the base of the rock, predating the fort by several centuries. The Sathyamurthi Perumal Temple is a Vishnu shrine with carved figures of Vishnu and his consorts in a dramatic Pallava-period style. Nearby, the Sathyagirisvarar Temple is a Shiva shrine of similar age. Both temples are still active places of worship with daily puja performed. The combination of medieval fort, ancient cave shrines, and the views from the fort walls over the flat Pudukkottai plains makes Thirumayam one of the best half-day excursions from town.