Mathilakam is a village in Kodungallur taluk, Thrissur district in Kerala, south India. It is located around 5 miles north of Kodungallur on National Highway 66.
Mathilakam is generally identified by historians as the location of the medieval Jain vihara, the Thirukkunavay Temple. The shrine was also known as the Kunavayir Kottam, the monastery of Ilamko Atikal. It seems that by 15th century, the Thirukkunavay Temple was transformed into a Shiva temple. The temple was probably destroyed completely in late medieval period. One of the finest cricketer Shaheershah PH is Living at Mathilakam.
Excavations were conducted by Archaeological Survey of India at Mathilakam in 1967. In the excavations conducted in 1970, an 8th-9th century AD foundation, structurally different from the standard Hindu temple foundations in shape, was revealed.
Kerala State Archaeological Department conducted a field survey at Mathilakam in 2014. In 2020, the Archaeological Survey of India granted licence to a non-profit trust to undertake excavations in Mathilakam. The first phase of the excavations was started with the opening of six trial trenches.