The Mianwali District (Urdu: ضِلع مِيانوالى) is a district located in the Mianwali division of the Punjab province of Pakistan. It has borders with the Chakwal, Attock, Kohat, Karak, Lakki Marwat, Dera Ismail Khan, Bhakkar, and Khushab districts.
 The history of the district is tied to the Miana family which came from Baghdad and settled in Mianwali. The name Mianwali is derived from a sufi saint Mian Ali's name. Mian Ali Mianwali was a known settlement and an agricultural region with forests during the Indus valley civilization (c. 3300 – c.1300 BCE). Mianwali later became part of the Vedic civilization.
 After the Islamic conquest of Punjab, Arabs who had established themselves in Multan were in control of Mianwali and surrounding areas of Punjab.
 In 997 CE, Sultan Mahmud Ghaznavi took over the Ghaznavid dynasty empire established by his father, Sultan Sebuktegin. In 1005 CE, he conquered the Hindu Shahis and followed it by the conquests of the Punjab region. The Delhi Sultanate and later Mughal empire ruled the region. The population of the Punjab region became majority Muslim, following the conquests by various Muslim dynasties from Central Asia.
 The real historical representation of the Mianwali region is older than 900 AD but the true accuracy is traced to the arrival of Qutb Shah in 1090 AD  who in later years of his conquest allowed his sons to settle and further rule the region.[citation needed] Their lineage still exists to date in the Mianwali district as well as in Pakistan and are known as Awan tribe. Historically, all major rulers of South Asia governed this area in their turn. Mughal emperor Babur mentioned Isakhel in the Baburnama when describing his campaigns against the Malik Awans and Niazi Pakhtuns during his invasion of Punjab in the 1520s.
 Prior to the invasion of Nadir Shah in 1738, there is little to relate concerning the history of the northern part of the district. The upper half of the district was ruled by the Gakhars, who became feudatories of the Mughal empire, of which the district continued to form a part until the invasion of Nadir Shah. In 1738, a portion of his army entered Chashma. By its atrocities so cowed the Bannuchis and Marwats that a heavy tribute was raised from them. Another portion of the army crossed the Darra Pezu and worked its way down to Dera Ismail Khan. Contingents raised from the neighborhoods of Bannu and Dera Ismail Khan marched under Nadir Shah's banner to the sack of Delhi.
 In 1739, the area west of the Indus was surrendered by the emperor of Delhi to Nadir Shah and passed after his death to Ahmad Shah Abdali. In 1748, a Durrani army under one of Ahmad Shah's generals crossed the Indus at Kalabagh, and drove out the Ghakkars, who still ruled in the cis-Indus tracts of the district, owing nominal allegiance to the emperor at Delhi. Their stronghold, Muazzam Nagar, was razed to the ground, and with their expulsion was swept away the last vestige of the authority of the Mughal emperor in these parts. During the British Raj, the Mianwali district was also among the states of the British Punjab where regional offices of East India Company were in position until winter of 1883 when the regional office of East India Company in Mianwali was shutdown due to civil unrest and hostile conditions.
 Mianwali district covers an area of 5,840 square kilometres (2,250 sq mi). The area in the north is a continuation of the Pothohar Plateau and the Kohistan-e-Namak. Southern side of the district is a part of Thal desert. Indus River flows through the district.
 Mianwali district has an extreme climate with a long hot summer season and dry cold winters. Summer lasts from May to September and winter lasts from November till February. June is the hottest month with average temperature of 42 °C (highest recorded temperature was 52 °C); in winter, the average temperature can be as low as 3 to 4 °C, particularly in December and January. The average rainfall in the district is about 385 mm.
 The district is administratively divided into three tehsils 7 Municipal Committees and 51 union councils:
 At the time of the 2017 census, Mianwali district had 237,952 households and a population of 1,542,601. Mianwali had a sex ratio of 998 females per 1000 males and a literacy rate of 61.28% - 78.54% for males and 44.35% for females. 327,812 (21.25%) lived in urban areas. 396,880 (25.73%) were under 10 years of age.
 As per the 2017 census, Muslims made up almost the entire population with 99.53%, although there is a small mainly urban minority of Christians numbering 7,000.
 Languages of Mianwali district (2017)
 At the time of the 2017 census, 76.05% of the population spoke Punjabi, 11.53% Pashto, 9.35% seraiki and 2.76% Urdu as their first language.
 
 32°00′N 71°30′E﻿ / ﻿32.000°N 71.500°E﻿ / 32.000; 71.500