The church of Sant Joan de Fàbregues and its castle are documented from the year 968. The church, which was the main church of the municipality, is located about 3 km from the castle. In the 12th century, the town grew around the castle of Rupit. Noble families built a new church, Sant Miquel, where they had built their houses. This church now is the parish church.
In 1959 the municipality was officially named Rupit. In 1977, the hamlet of Pruit was united with Rupit village. And now it’s officially called Rupit i Pruit.
The origin both the hamlet of Pruit and the village of Rupit already shared the same jurisdiction under the viscount of Osona. According to the tradition, he lived in the castle of Rupit before moving to Cardona.
Nowadays Rupit is best known as a tourist town, because of its medieval appearance, stone houses and streets made of natural rock. There are also interesting walks and sightseeing around the village and nearby cliffs.
There are birds like the eagle and the Egyptian vulture living near the cliffs. • Old part of Rupit with its narrow medieval streets with old houses and stone streets.
Romanesque Church of Sant Joan de Fàbregues