Shahjahanpur is a town and the district headquarters of the Shahjahanpur District located in western Uttar Pradesh, India. It serves as a municipal corporation for the local area.
The city is geographically situated between Bareilly and Lucknow, which is the capital city of the state of Uttar Pradesh.