Nilaiyur is a suburb in Madurai district in Tamil Nadu, South India. It is located between the cities of Madurai and Thirumangalam.