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².