The oldest documentation that refers is from the year 1185. In 1246, through a bull of Pope Innocent IV, the parish, together with the church of Santa María de Pineda, became dependent on the monastery of Sant Salvador de Breda. For many centuries it had its own priest, but later the rector of Pineda took over. In 1985 it was reopened for worship, while the rectory was converted into a day camp.
The church maintains the original Romanesque structure, from the 11th century, with a nave and apse, and a late bell tower, with a square plan, crowned by a pyramidal pinnacle between stepped battlements. Its current appearance is, to a large extent, the result of the extensions carried out during the 17th century, although the original decoration of the Romanesque apse can still be seen, based on blind arches and lesenas, of the Lombard type. This ornamentation is also visible on the southern wall, where the old portal was, which preserves two Romanesque windows.