Koodal Aḻagar Temple or "Koodal Allhagar Temple" in Madurai, a city in the South Indian state of Tamil Nadu, is a temple dedicated to the Hindu god Vishnu. Constructed in the Dravidian style of architecture, the temple is glorified in the Naalayira Divya Prabandham, the early medieval Tamil canon of the Alvar saints from the 6th–9th centuries CE. It is one among the 108 Divya Desams dedicated to Vishnu, who is worshipped as Viyooga Sundarrajan, and his consort Lakshmi as Mathuravalli.
A granite wall surrounds the temple, enclosing all its shrines. The temple has a five-tiered rajagopuram, the gateway tower. The temple is originally believed to be built by the Pandyas, with later additions by the Vijayanagara empire and Madurai Nayaks kings who commissioned pillared halls and major shrines of the temple during the 16th century.