The history of Gujan-Mestras is rooted in antiquity. Originally, these were two separate parishes — Gujan and Mestras — located in the historical region of Gascony. The name "Gujan," according to researchers, is of Gallo-Roman origin and is likely associated with the name of a major landowner of that era.
The first documentary mentions of the local parish of Saint-Maurice de Gujan date back to the 13th century. In the Middle Ages, this territory was part of the Captalat de Buch — a feudal estate that united the lands around Arcachon Bay. It is worth noting that the town of La Teste was historically the administrative center and capital of the Captalat; however, Gujan always played a significant role in the life of the region due to its location and population size.
For centuries, the lifestyle of the local residents was dictated by unique natural conditions: proximity to the water and vast forests. Before Gujan-Mestras gained its status as the modern "oyster capital," the regional economy relied on other types of activity. The most important industry for centuries was resin tapping (harvesting pine resin) in the Landes forests. The resin was used to produce turpentine and rosin, providing residents with a stable income.
In addition to forestry, the population engaged in farming on sandy soils and coastal fishing. It was these early maritime traditions, combined with the shallow waters of the bay's southern shore, that later laid a solid foundation for the development of oyster farming, which made the town famous worldwide.