Castro Marim occupies an elevated position, with magnificent views to the north, towards the ridge of hills which separates the Algarve from the province of the Alentejo. To the east, the mighty Guadiana forms the border with neighboring Spain, while the shimmering Atlantic may be seen to the south.