Treviglio (Italian: [treˈviʎʎo] ; Bergamasque: Treì) is an Italian comune with a population of 31,479 inhabitants in the Province of Bergamo, Lombardy. As the second most populous comune in the province, it is situated in the heart of the Po Valley, approximately 22 km (14 mi) south of the provincial capital, Bergamo.
Founded during the Early Middle Ages through the unification of three settlements for defensive purposes, Treviglio serves as the main hub of the Gera d'Adda region. Its strategic location is underscored by its position at the crossroads of roads and railways connecting it to Bergamo, Brescia, Cremona, Lodi, and Milan.