Aguilar de Campoo is a town and municipality situated in the northern part of the province of Palencia within the autonomous community of Castile and León, Spain.
The town's historic center is characterized by the presence of the River Pisuerga, which flows through the area. As of 2011, the municipality had a population of 7,741 residents.