The remains of an estimated 40,000 to 70,000 people rest here, and many of them have been arranged into the chapel's furnishings and ornaments. The church once belonged to Sedlec Abbey, a Cistercian monastery, and the ossuary grew out of the history of its cemetery.

That history begins in 1278, when King Ottokar II of Bohemia sent Henry, the abbot of Sedlec, to the Holy Land. Henry came back with a little earth taken from Golgotha and scattered it over the abbey cemetery, and from then on people across Central Europe wished to be buried here. The Black Death in the mid 14th century and, in the early 15th century, the Hussite Wars filled the cemetery with many thousands of new graves, and it had to be greatly enlarged.

Around 1400 a Gothic church was built at the centre of the burial ground: a vaulted upper storey stood over a lower chapel intended to hold bones from mass graves dug up during the building work or cleared to make space for new burials. Legend says that after 1511 a half-blind monk of the order was given the task of exhuming the skeletons and stacking the bones in the chapel. Between 1703 and 1710 Jan Santini Aichel designed a new entrance to support the front wall, which had started to lean outward, and the upper chapel was rebuilt in the Czech Baroque style.

The arrangement seen today is the work of František Rint, a woodcarver whom the Schwarzenberg family employed in 1870 to bring order to the heaps of bones. Large bell-shaped mounds of bones fill the four corners of the chapel. From the centre of the nave hangs a chandelier that contains every bone of the human body at least once, while garlands of skulls hang across the vault. Piers and monstrances stand on either side of the altar, the Schwarzenberg family's coat of arms is worked in bone, and near the entrance Rint signed his work on the wall, also in bone.