According to the 2001 census, the district ranked 6th in terms of population density in Uttar Pradesh. The district had an average literacy rate of 65.96%, higher than the national average of 64.8% and the state average of 57.36%. 16.66% of the population was under 6 years of age. The percentage of Muslim population over 36% (one of the largest among the cities of India).