Schloss Schafisheim is a small, late-Gothic style castle in the center of Schafisheim. This is the oldest castle in Aargau, which was not designed as a fortification from the start, but as a residential building.
The building was erected a few years after the Battle of Sempach (1386) on behalf of the Lords of Baldegg, whose ancestral seat had been destroyed by the Confederates during the turmoil of war. The exact year of construction is not known, the first documentary mention of the castle was in 1474. The building served as the residence of the holders of the jurisdiction of Schafisheim within the subject area of the city of Bern.
In 1482, the Baldeggers, who were in financial difficulties, sold the castle and court rule to the Hallwylers. In 1736, after the Hallwyler line in Schafisheim had died out, the Bernese transferred ownership to the brothers Samuel and Etienne Brutel, descendants of French Huguenots who had fled Montpellier. In 1802 the castle came into the possession of the community of Schafisheim. After several changes of ownership, the castle is still privately owned today.