Ajak is a town in Szabolcs-Szatmár-Bereg county, in the Northern Great Plain region of eastern Hungary. It covers an area of 24.76 km2 (9.56 sq mi) and has a population of 3952 people (2002).