Prehistoric remains show the signs of life long ago and proof of the later settlements of Romans, Visigoths, Arabs and Castilians. But the main creation and subsequent growth of San Roque came about after the 4th August 1704, when Spain lost Gibraltar to the British.
This railway station a few km west from the hill village of San Roque and the town of La Linea de la Concepcion (for Gibraltar). It is part of the Mr Henderson's Railway that joins Algeciras and Ronda with the rail network at Bobadilla for main lines to Granada, Malaga, Cordoba and Madrid.