The church began as a modest grey stone building in the Romanesque style, likely with an apsidal chancel, probably erected towards the end of the 1100s. Its sturdy tower originally had no connection to the nave and could only be entered by ladder through a high opening, a defensive feature typical of the period; the tower was only linked internally to the nave later in the medieval period.
During the medieval centuries the church evolved considerably. A vaulted sacristy was added to the chancel around the close of the 1300s, and brick cross-vaults were fitted into the nave and chancel in the early 1400s. Later that century the old east wall was demolished, the chancel extended with straight walls, and both chancel and tower room received star vaults. A porch was built in front of the south entrance, and the tower was given a tall, pointed spire.
Disaster struck on 1 August 1893, when lightning triggered a fire so fierce that only the walls and vaults survived. The church was rebuilt the following year under architect F. R. Ekberg, with new roofing, a rebuilt tower spire reaching 16.1 metres, and a widened chancel arch. A stained-glass window depicting Christ was installed in the east window, and the interior received Gothic Revival decoration, some of which was later plastered over during a further restoration in 1961 led by architect Ärland Noréen, when the sanded stone floor and other features seen today were introduced. As a result, the church's exterior retains a medieval character while its interior largely reflects the 1894 rebuilding.
Several furnishings survived the fire or were later reinstated. A sandstone font from the second half of the 1200s stands by the chancel's south wall, and a carved wooden triumphal crucifix, an Uppland work from the early 1300s, hangs on the chancel's north wall; one of its corner plates, bearing an evangelist symbol, has been sawn off. The altarpiece, depicting Ecce Homo, is attributed to court painter Georg Engelhard Schröder. The church silver is said to have been fashioned from jewellery worn by Queen Ulrika Eleonora at her coronation, though this claim rests on tradition rather than documented provenance.
The church's two bells, cast in 1894 by Joh. A. Beckman of Stockholm, replaced older bells melted in the fire. That same year, organ builder Anders Victor Lundahl installed a tubular-pneumatic organ, reputedly the first of its kind in Sweden, designed to make playing lighter and more expressive.