Mohd Khalid joined the
Royal Malaysia Police (PDRM) on 5 April 1987 as Probationary Inspector after completing his general police training earlier that year. His first posting was at the
Special Branch at
Bukit Aman police headquarters and served until 1999. Subsequently, from 2002 to 2004, he was posted to the Special Branch in
Gombak. Between 2008 and 2010, he held the position of
Deputy superintendent of police (DSP) FCCC at the special branch, Bukit Aman. From 2010 to 2013, Mohd Khalid served as Superintendent of social extremist threats at the Special Branch, Bukit Aman. In 2013 to 2014, he was appointed as Superintendent of security protection, also at the Special Branch, Bukit Aman. Between 2014 and 2018, he was posted as a police attaché and
Security Liaison Officer (SLO) at the
High Commission of Malaysia in
London,
United Kingdom. From 2018 to 2021, he served as the head of the
Pahang Special Branch. Mohd Khalid was later appointed as Principal Assistant Director E2, Special Branch, Bukit Aman, from 2021 to 2022. From 2022 to 2023, he held the position of Deputy director I of the Special Branch. On 10 April 2023, he was promoted to Director of the special branch, a role he continued to serve in on a contract basis after his official retirement on 8 April 2025. On 23 June 2025, Mohd Khalid was appointed as the
inspector-general of police (IGP) for a two-year term until 22 June 2027. His appointment was made by the
Yang di-Pertuan Agong on the advice of the
prime minister and based on the recommendation of the police force commission. He became the second IGP to be appointed without previously serving as deputy inspector-general. == Honours ==