Iraiyanar (Tamil: இறையனார்), literally meaning "the Lord" and also a common name of Shiva, was a legendary poet of the Sangam period who is believed to have composed verse 2 of Kurunthogai. He was believed to be the incarnation of Lord Shiva of the temple at Madurai, known as 'Aalavaai Sokkar' or 'Sokkanathar'. Verse 3 of the Tiruvalluva Maalai, praising Valluvar, is also attributed to him.
Iraiyanar appears in the Tiruvilaiyadal Puranam, where he confronts poet Nakkeerar. He is also said to have given the work Iraiyanar Akapporul.