The church has medieval origins, dating from the 1100s or possibly the early 1200s. In its earliest form it was tiny even by the standards of the province, with a nave only around seven metres long and a square chancel measuring just three metres across. A porch was added later in the medieval period.
The building suffered serious damage by fire or lightning towards the end of the 1600s: accounts describe a tower, thought to have been a small ridge turret, being destroyed along with the vault beneath it, windows and parts of the walls. Repairs were costly, and the cathedral chapter turned for help to the dowager queen Hedvig Eleonora, who contributed towards the restoration. A new turret was built around the mid-1700s.
The most significant remodelling came in 1777–1779, when the old chancel and sacristy were demolished, the nave was extended, and a new sacristy with an unusual semicircular wall was built onto the east end — a design rarely seen elsewhere among Södermanland's churches. In 1797 a new entrance was opened through the west gable after an older timber porch on the south wall was removed. It is not known for certain what form of roof covered the church before these eighteenth-century works; the present flat wooden ceiling, gently vaulted towards the side walls, gives the interior its distinctive character.
The church's most treasured object is a carved Marian altar cabinet made in Antwerp around 1500, acquired in 1780 by the local governor Sven Liljecrantz from the neighbouring parish of Vårdinge. The pulpit and pew furnishings date from the 1770s, contemporary with the major rebuilding of the church.
An organ by Anders Rockman of Åker was installed in 1850, and a harmonium was used before 1937. The current organ, built in 1937 by Lindegrens Orgelbyggeri of Gothenburg, has a case designed by the architect Martin Westerberg.