The first written documents relating to Bajmok came from the fifteenth century. Then the village was for the first time officially mentioned as a village.
King Matthias gave it to his mother,
Erzsébet Szilágyi. The deed of donation was confirmed on 16 February 1462. During
Ottoman administration (16th-17th century), two villages with this name were mentioned: Bajmok and Novi Bajmok. Both villages had about 20 houses. Population was composed of ethnic
Serbs. Between 1770 and 1785 new colonists came, mainly
Bunjevci and
Hungarians. At the time of the
Hungarian revolution, in the fields of this village there was a conflict between the
Hungarian and the
Vojvodinian Serb army, won by the Hungarians (but later lost the war). The Hungarian rebel army from Subotica repressed the Serbian villagers, many Serbs were shot and executed even without a trial. In 1910, population of the village was mainly composed of
Hungarians,
Bunjevci,
Germans, and
Serbs. After
World War I, new Serb settlers came to the village. During the
Second World War, this village was under the
Hungarian fascist occupation. Many of the citizens were exiled from their homes (mainly Serbs) to make room for Hungarian
Csango colonists. Bajmok was liberated from the
Hungarian fascists on 19 October 1944. After World War II, 2,090 settlers came in Bajmok, which enlarged village population to 11,789. Until 1991, the largest ethnic group in the village were
Hungarians. By the 2002 census,
Serbs were listed as the single largest ethnic group in Bajmok. ==Demographics==