Gavi borders the following municipalities: Arquata Scrivia, Bosio, Carrosio, Francavilla Bisio, Isola del Cantone, Novi Ligure, Parodi Ligure, San Cristoforo, Serravalle Scrivia, Tassarolo, and Voltaggio.
Later in the Middle Ages the town was under the Marquisses of Gavi, allied with Frederick Barbarossa, who took refuge here after the Battle of Legnano. In 1202 Gavi was sold to the Republic of Genoa. After a parenthesis under the Visconti and France, it returned to Genoa in 1528.
In 1625 it was attacked and stormed by French-Savoy troops, but the Genoese retook it after only 21 days. It was decided to turn Gavi into a powerful fortress. After a French domination from 1804, in 1915 it was assigned to the Kingdom of Sardinia.
The fortress was later turned into a penitentiary; during World War II it was used as a POW camp.
id:lightgrey value:gray(0.9)
id:darkgrey value:gray(0.8)
id:sfondo value:rgb(1,1,1)
id:barra value:rgb(0.6,0.7,0.8)
ImageSize = width:455 height:303 PlotArea = left:50 bottom:50 top:30 right:30 DateFormat = x.y Period = from:0 till:7500 TimeAxis = orientation:vertical AlignBars = justify ScaleMajor = gridcolor:darkgrey increment:500 start:0 ScaleMinor = gridcolor:lightgrey increment:100 start:0 BackgroundColors = canvas:sfondo
BarData=
bar:1861 text:1861
bar:1871 text:1871
bar:1881 text:1881
bar:1901 text:1901
bar:1911 text:1911
bar:1921 text:1921
bar:1931 text:1931
bar:1936 text:1936
bar:1951 text:1951
bar:1961 text:1961
bar:1971 text:1971
bar:1981 text:1981
bar:1991 text:1991
bar:2001 text:2001
PlotData=
color:barra width:20 align:left
bar:1861 from: 0 till:6131
bar:1871 from: 0 till:6521
bar:1881 from: 0 till:6838
bar:1901 from: 0 till:6904
bar:1911 from: 0 till:6684
bar:1921 from: 0 till:6185
bar:1931 from: 0 till:5653
bar:1936 from: 0 till:5478
bar:1951 from: 0 till:5137
bar:1961 from: 0 till:4881
bar:1971 from: 0 till:4299
bar:1981 from: 0 till:4507
bar:1991 from: 0 till:4569
bar:2001 from: 0 till:4506
PlotData=
bar:1861 at:6131 fontsize:XS text: 6131 shift:(-8,5)
bar:1871 at:6521 fontsize:XS text: 6521 shift:(-8,5)
bar:1881 at:6838 fontsize:XS text: 6838 shift:(-8,5)
bar:1901 at:6904 fontsize:XS text: 6904 shift:(-8,5)
bar:1911 at:6684 fontsize:XS text: 6684 shift:(-8,5)
bar:1921 at:6185 fontsize:XS text: 6185 shift:(-8,5)
bar:1931 at:5653 fontsize:XS text: 5653 shift:(-8,5)
bar:1936 at:5478 fontsize:XS text: 5478 shift:(-8,5)
bar:1951 at:5137 fontsize:XS text: 5137 shift:(-8,5)
bar:1961 at:4881 fontsize:XS text: 4881 shift:(-8,5)
bar:1971 at:4299 fontsize:XS text: 4299 shift:(-8,5)
bar:1981 at:4507 fontsize:XS text: 4507 shift:(-8,5)
bar:1991 at:4569 fontsize:XS text: 4569 shift:(-8,5)
bar:2001 at:4506 fontsize:XS text: 4506 shift:(-8,5)
TextData=
fontsize:S pos:(20,20)
text:Data from ISTAT