It is located next to the Catalàmediterranean coast, between the municipalities of Vilassar de Mar and Mataró, although the urban centre is at about 2,5 km inland, in a small valley between the hills of Burriac (where the remains of the Sant Vicenç de Burriac castle are located) and Montcabrer. Apart from the two mentioned, Cabrera de Mar also borders with the municipalities of Cabrils and Argentona.
Population in Cabrera de Mar is quite scattered in several nucleus of different origins. The casc antic (main centre), Agell (also known as Santa Elena d'Agell), Sant Joan de Munt and Mas Terrillo are located inland, whereas Pla de l'Avellà, Costamar and Bonamar are located next to the coast.
Like almost all municipalities of Maresme, Cabrera de Mar has been historically very well connected with the rest of the comarca and with Barcelona thanks to old Camí Ral (Royal Way) (actual N-II main road) and railroad (Barcelona-Mataró railroad route (1848) was the first to be constructed in all the Iberian Peninsula). Communications have been enhanced in recent years with the construction (1969) of the C-32's Barcelona-Mataró section, also the first autopista (highway) to be constructed in all the Iberian Peninsula.