He started his career in the public sector, notably in the Ministry of Agriculture. In 1993, he was named cabinet director at the Ministry of Agriculture, remaining in that post until 1997. He later served as cabinet director at the Ministry of the Interior. In 2001, he was appointed as Secretary of State for Fishing and later on as Secretary of State for the Environment.
After the Tunisian Revolution, he was appointed as Minister of the Interior in the government of Prime Minister Beji Caid Essebsi on 28 March 2011. He was also chosen by Hamadi Jebali to be his Security Advisor following the 23 October 2011 elections.