Present-day Lamač lies on the territory of four medieval villages. The first one (unknown name) ceased to exist in 1241. Blumenau and Sellendorf were founded between 1279 and 1288 and de facto ceased to exist until 1436, probably because of frequent border disputes and their division between the heirs of the original founder. Croats fleeing from the Ottomans in the south settled this area in the 16th century. Lamač was founded by a Croatian Jan (probably Skerlič). It was first mentioned as "Krabatendorff" (Croatian Village) in 1547 and two years later under its Slavic name "Lamas" (1549). The village suffered from several epidemics and military conflicts, it was burned, looted by anti-Ottoman armies (1604) and four times during the Rákóczi's War of Independence (1703–11). The final battle of the Austro-Prussian War took place on 22 July 1866 during which the Prussians again burned down the village. At the end of the 19th century, the village was mostly Slovak (93,3% in 1900). After the World War I, the village became a part of Czechoslovakia and on 1 April 1946 it became a borough of Bratislava.