Castello dei Pecorari is located on the southwest slopes of Mount della Croce at an altitude of 551 m, about 2.5 km N.W. of Piobbico.
The ruins of the castle stand out on a hilltop covered by woods, clearly visible for those traveling along the road along the Candigliano valley.
An ancient local family, the Pecorari, gave the castle its name. The first mention of its existence dates back to 1216, when it belonged to the Brancaleoni della Rocca; later (1481) it passed to the Ubaldini.
Around 1930 it was partially dismantled to build a farmhouse.
Around the year one thousand the Castle belonged to the Abbots of the monastery of S. Vincenzo del Furlo. later Gentile Brancaleoni added it to his possessions (13th century). In 1446 it was confiscated from Count Antonio Brancaleoni dei Pecorari and donated by Duke Federico Malatesta to his faithful captain Francesco Ubaldini della Carda.
It remained the property of the Ubaldinis until 1816, when, after the abolition of feudalism, the last descendants sold it together with the lands to the noble Bartolucci family from Piobbico, who in turn ceded it to a Basili from Urbania.