Algarrobo is a town and municipality located in the province of Málaga within the autonomous community of Andalusia in southern Spain. Situated at an altitude of 86 meters, the municipality lies in the coastal area of La Axarquía, approximately 32 kilometers from the city of Málaga.
The municipality is bordered by Arenas and Sayalonga to the north, Vélez-Málaga to the east and west, and the Mediterranean Sea to the south. The primary population center is the town of Algarrobo, which features Arab architecture and is situated 3.5 kilometers from the coastline. Other locations within the municipality include Algarrobo Costa, Mezquitilla, and Trayamar.