The church was built around 1260 near a medieval settlement and a cemetery. In the nineteenth century, it ceased to fulfill its original functions, and liturgical rites were celebrated only once a year, on the day of the patron of the church, Saint Margaret. The last one was to take place in 1927, then the building served as a grain warehouse. In the years 1983-1984, the church was repaired, the façades renovated and the wooden ceiling replaced.
The building was erected as a late romanesque brick church with a rectangular nave, an elongated semicircular apse and a sacristy on the north side. The construction has been practically unchanged since the Middle Ages; as one of the few churches in Slovakia has an original romanesque sacristy. Romanesque windows have been preserved on the southern wall of the nave, apse and sacristy. A romanesque decorative frieze runs under the roof of the apse and the nave. Inside the chancel there is a separate groin vault. In the northern wall of the apse, a pastophorium in the shape of a trapezoidal niche, has been preserved.
Website apsida.sk, Šámot.