San Roque is a municipality of Spain belonging to the province of Cádiz, which in turn is part of the autonomous community of Andalusia. It is also part of the comarca of Campo de Gibraltar. Located in the southern end of the Iberian Peninsula, San Roque is a short way inland of the north side of the Bay of Gibraltar, to the north of the Gibraltar peninsula. The municipality has a total surface of 145 km with a population of approximately 25,500 people, as of 2005.
The foundation of San Roque as a city owes to the creation of a sort of Gibraltar-in-exile by refugees fleeing from the Rock in the wake of its seizure by Anglo-Dutch forces in 1704.