He ran for the seat of the Provincial Assembly of the Punjab as a candidate of Pakistan Muslim League (N) (PML(N)) from Constituency PP-229 (Pakpattan-III) in the 2002 Pakistani general election but was unsuccessful. He received 22,167 votes and lost the seat to Mumtaz Hussain, a candidate of Pakistan Muslim League (Q) (PML(Q)).[2]
He was elected to the National Assembly of Pakistan as a candidate of PML(N) from Constituency NA-164 (Pakpattan-I) in the 2008 Pakistani general election.[3][4] He received 35,597 votes and defeated Muhammad Shah Khagga (34196), a candidate of PML(Q). In the same election, he was also elected to the Provincial Assembly of the Punjab as a candidate of PML(N) from Constituency PP-229 (Pakpattan-III). He received 22,092 voted and defeated Mian Muhammad Amjad Joiya, a candidate of PML(Q).[5] He vacated the Provincial Assembly seat and retained the National Assembly seat.[6]
He was re-elected to the National Assembly as a candidate of PML(N) from Constituency NA-164 (Pakpattan-I) in the 2013 Pakistani general election.[7][8][9][10] He received 67,984 votes and defeated Muhammad Shah Khagga (65568), a candidate of PML(Q).[11]
In October 2017, he was made Federal Parliamentary Secretary for Defence.[12]
He ran for the National Assembly from NA-145 Pakpattan-I in the 2018 Pakistani general election as an independent candidate. He received 32,491 votes and was defeated by Ahmad Raza Maneka, a candidate of the PML(N).[13]
On 20 March 2023, Dogar joined the Pakistan Tehreek-e-Insaf (PTI) after a meeting with Imran Khan, the party chairman and former Prime Minister.[14] On 27 May 2023, he left the PTI due to the 2023 Pakistani protests.[15]
He was elected member of Punjab Assembly as PML-N candidate from PP-197 Pakpattan-V in the 2024 General Elections and defeated Tariq Qayyum Shah Khagga, an independent candidate supported by PTI.[16]