It was first mentioned in written sources in 1153. Most of the inhabitants were wine growers and tree fellers. Throughout the history Gyarmat had changed its face. In the times of Ottoman Turkish reign most inhabitants fled because of the beg's oppression. New settlers came from Austria in 1695. During the Rákóczi's War of Independence between 1703 and 1711 the village sustained a great tragedy when an imperial general burned down the village with all its people. Therefore Gyarmat was destroyed again. In 1720 German catholic settlers came from Rhineland-Palatinate. As a consequence, till today a lot of surnames are not Hungarian. During the First World War the majority of the people were part of the infantry regiment.