Ailly-sur-Somme is a commune in the Somme department in Hauts-de-France in northern France.
The town is 5 miles to the west of Amiens. It is in the valley of the Somme River.