Sant Pere de Ribes is a town located in the center of the Garraf comarca within the province of Barcelona in the Catalonia region of Spain.
The town is notable for containing the remains of a 12th-century castle. This fortification was once ruled by the troubadour Guillem de Ribes.