It is bordered on the north by Terrassa and Ullastrell, on the south by Sant Cugat del Vallès, on the west by Castellbisbal and on the east by Sant Quirze del Vallès.
The municipality is positioned near Terrassa and Ullastrell to the north, adjacent to Sant Cugat del Vallès to the south, bordering Castellbisbal to the west, and neighboring Sant Quirze del Vallès to the east.