The word compton means village in a combe and aptly describes the settlement as it primarily consists of a long street on the side of a chalk valley.
Shawford is notable for having the longest railway viaduct in Hampshire (now known as Hockley Railway Viaduct). This is over 2,000 feet (610 m) in length and 40 feet (12 m) high. Disused since 1966, the viaduct was initially threatened with demolition when the M3 motorway was proposed but after much protest it was incorporated into the scheme.
The two halves of the parish are linked by Shawford Down which runs alongside the River Itchen. However they are now symbolically separated by the motorway with Compton on its west side and Shawford on its east.