Valeggio borders the following municipalities: Alagna, Dorno, Ferrera Erbognone, Ottobiano, Scaldasole, Tromello. In medieval times, it was a fief of the monastery of San Salvatore at Pavia.
The municipality of Valeggio shares its borders with the following towns: Alagna, Dorno, Ferrera Erbognone, Ottobiano, Scaldasole, and Tromello. Historically, it was part of the territory controlled by the monastery of San Salvatore at Pavia.