The first human presence in the lands of Gavi goes back over 2000 years ago. The name probably derives from the existence of Neolithic station of Cavatium from which the Latin Gavium. It is believed that Gavi stay with a Roman garrison in defense of the via Postumia.
After the fall of the Roman Empire of the West was occupied by a tribe gota that perhaps gave him the name (from the ancient Germanic gau, tribe and seat of the tribe, that the genitive does exactly gawi), then also by Hungarians and by the Saracens and according to the legend, a their princess, Gavia (or Gavina), would have established their residence in the castle of the place. It seems it was of French origin and in fact the oldest street of the village below the castle is called Monserito (Mon Cheri).
The first official document that mentions Gavi dates back to the year 972. The domain of the Marquises of Gavi, allies of Barbarossa, the village entered soon in the mire of the Republic of Genoa for its strategic position in the Ligurian hinterland, on the most important routes of communication toward the Po Valley, for a long period remained under its domain.
Given its strategic position on the border, Gavi and especially his fortress found themselves involved in most of the conflicts that was interested in the Republic and the neighboring Duchy of Savoy, then the Kingdom of Sardinia. During the Napoleonic era, the fort was occupied by the French army, in whose files military among others Ugo Foscolo.
The monument that most identifies the history of the village is the Forte di Gavi, a remarkable example of military architecture, built by the genoese between 1540 and 1673 on the ruins of a pre-existing castle, availing itself of the work of the military architect Vincenzo Maculani (said Fra Fiorenzuola). This fortress is the most important defensive outpost of medieval throughout the Lower Piedmont.
Certainly deserve a visit also the Church of San Giacomo Maggiore, the Shrine of Our Lady of the Guard and the home of the composer Angelo Francesco Lavagnino, which every year in June the village dedicates a festival of Music and Cinema. The importance of Gavi in medieval times is underlined in the book Baudolino by Umberto Eco, where the village is quoted for both its location on the border with Liguria both for its wine.
A summer holiday locality, Gavi bases its economy on tourism and on local trade. Important agricultural activity linked to the cultivation of vine and wine production. Gavi is in fact one of the places of production of the wine of the same name, DOCG.