The name of the settlement originates from the name of the Nyék tribe (coming to Hungary during the settlement of Hungarian tribes). The first residents probably belonged to a subgroup of the tribe. When István I. defeated Koppány, Nyék became a land of the queen. The name of the settlement is mentioned first in 1193 as Neck. Later the names Kápolnás Nyék, Káposztás Nyék, and Fertőfő Nyék are used to mention this rather insignificant place located between Buda and Fehérvár, which is south of the commercial route. As a border village Kápolnásnyék suffered from double taxation during the Turkish occupation (both Hungary and the Turkish Empire collected taxes). Therefore the population of the village decreased considerably and it even became uninhabited during the Turkish campaign of 1543. The inhabitants returned to the village in 1772. 