Shahjahanpur is a municipal corporation, town and district headquarters of Shahjahanpur District in Western Uttar Pradesh, India. It is located between Bareilly and Lucknow, the capital of Uttar Pradesh.