Dipalpur (also written as Depalpur) (Urdu: دِيپالپُور), is a city in Okara District of the Punjab and headquarters of Depalpur Tehsil, assumed to be largest tehsil of Pakistan. It is situated 25 kilometres from the district capital Okara on a bank of the Beas River in Bari Doab. The Tehsil is notable for being the site of several battles in the thirteenth and fourteenth centuries and is also associated with the history of the Bhatti clan. Punjabi is the most spoken language in the region. Pathan (Khan), Rao, Dula, Mian, Arain, Wattoo, Klasson (Jatt), Bhatti, Joiya, Kharal Jutt are the main casts.
In the past, Dipalpur was surrounded by a fortified wall, rising to the height of 25 feet and strengthened by a deep trench. When and by whom this wall was constructed is not known, but it was renovated, repaired and improved during the rule of Firoz Shah Tughluq and later by Abdur Rahim Khan-e-Khanan, who was the governor during the time of Akbar. Firoz Shah Tughluq constructed a grand mosque and palaces. He also excavated a canal from the river Sutlej to irrigate gardens around the town.