Rampur district is one of the districts of Uttar Pradesh state of India, and Rampur town is the district headquarters. Rampur district is a part of Moradabad division. The district occupies an area of 2,367 km². This district has a population of 1,922,450 (2001 Census). Rampur is known for its ‘Rampuri knives’.

According to the 2011 census Rampur district has a population of 2,335,398, roughly equal to the nation of Latvia or the US state of New Mexico.This gives it a ranking of 194th in India (out of a total of 640).The district has a population density of 987 inhabitants per square kilometre (2,560/sq mi).Its population growth rate over the decade 2001-2011 was 21.4%.Rampur has a sex ratio of 905 females for every 1000 males, and a literacy rate of 55.08%.51% of the population of Rampur is Muslim.