The commune is accessible via exit number 7 titled "Vayres et Izon" (Vayres and Izon) and exit number 8 titled "Vayres, Arveyres, Saint-Germain-du-Puch et Libourne" (Vayres, Arveyres, Saint-Germain-du-Puch and Libourne) on the A89 autoroute.
Vayres has been inhabited since antiquity. It was located on the Roman road that connected Burdigala, now Bordeaux to Vesunna, now Périgueux. At the time it was a camp and market but gradually developed due to its location on a rocky outcrop overlooking the confluence between the Gestas and the Dordogne on which the castle was built. Vayres was a Barony, then a Marquisat where the Seigneurs were rich and powerful. The first written records of the Seigneurs of Vayres were the statements of various donations (Frenchs: états de donations diverses), written between 1060 and 1086. In the 11th century the Seigneurs from the Gombaud family owned Vayres and Lesparre-Médoc. An archbishop of Bordeaux also had this name at the end of the 10th century. During the French Revolution the parish of Saint-Jean de Vayres became the commune of Vayres.[8]