The church was founded by King Inge the Elder and his wife Helena in the early twelfth century, replacing an earlier wooden church. It later became closely linked with a Cistercian nunnery, formally instituted around 1162, and for centuries the building was divided by a screen into a monastic choir for the nuns and a nave for the parish congregation. Following the Reformation, Gustav Vasa converted the former monastic church into a Lutheran parish church in 1533.
Built largely of limestone, the church has a complex plan formed from several joined sections: a three-aisled nave with a cruciform layout, a western tower with a curved roof, and a burial chapel added to the south. The building suffered at least two serious fires during the Middle Ages, after which sections were rebuilt with stone vaulting in a style reflecting Cistercian influence. A carved seventeenth-century pulpit stands in the nave, and above the entrance to the choir hangs the church's Romanesque triumphal crucifix, originally carved around 1200 and later altered in the Gothic period.
Several burial monuments recall the church's royal and noble associations, though inscriptions added after the Reformation by Gustav Vasa's secretary Rasmus Ludvigsson are now considered historically unreliable in places. A tomb in the south-east corner is thought to be that of King Inge the Younger and his wife, while a circular medieval burial chapel outside the south transept, decorated with painted ceiling motifs, was long associated with Ragnvald Knaphövde—although historians now consider it more likely linked to Inge the Elder's son Ragnvald Ingesson. A Baroque burial chapel was added in 1663 for the noble Douglas family.
The building underwent a major, carefully documented restoration between 1915 and 1917 under the architect Sigurd Curman, which aimed to reveal the medieval structure while repairing accumulated damage. Further conservation work took place in 1988, including cleaning of wall paintings and the crucifix, and a new choir organ was installed in 1998, replacing part of the earlier furnishings. Fittings of interest include a medieval font, a fourteenth-century wooden sculpture, choir stalls with tip-up seats, and a silver-gilt chalice with a history connecting it to a German monastery and the Swedish nobleman Robert Douglas.
The church stands within a churchyard alongside the ruins of the former monastery buildings, with a stone storehouse of probable late-medieval origin nearby, later adapted for storage and, in the twentieth century, as a small mortuary chapel.