NA-171 Rahim Yar Khan-III () is a constituency for the National Assembly of Pakistan.
General elections were held on 10 October 2002. Khusro Bakhtiar of PML-Q won by 70,116 votes.
General elections were held on 18 February 2008. Makhdoom Shahabuddin of PPP won by 59,710 votes.
General elections were held on 11 May 2013. Khusro Bakhtiar, an independent, won with 64,272 votes and became the member of National Assembly. He later joined the PML(N).
General elections were held on 25 July 2018.
General elections were held on 8 February 2024. Mumtaz Mustafa won the election with 103,834 votes.
A by-election was held on 12 September 2024 due to the death of Mumtaz Mustafa, the previous MNA from this seat. Makhdoom Tahir Rashid ud Din, a candidate of Pakistan People's Party (PPP) and Makhdooms of Mianwali QureshianâÂÂs consensus candidate won the election with 116,429 votes.