|Andratx is located at the southwest end of the Tramuntana mountain range on the island of Mallorca.|
As often in Majorca, the town is at the interior, away from the attacks of the Barbary pirates. Its port, Port d'Andratx, located 4 km south-west.
The municipality of Andratx occupies the westernmost of Majorca, where the peaks of the Serra de Tramuntana are lower end, the highlight of the town is the Mount of the Mola de l'Esclop (927 m), popularly called " Sa Madonna " because of its shape, which resembles a woman lying with hands on chest.
Andratx is about thirty kilometers from Palma.
The town of Andratx is part of the county of the Serra de Tramuntana. To the west there is the town of Calvià, on the north-east, that of Estellencs.