Background
He grew up in Shah Alam, Selangor.
He grew up in Shah Alam, Selangor.
He received his secondary education at Maktab Rendah Sains The Majlis Amanah Rakyat Lenggong in Perak and had his university education at Universiti Teknologi The Majlis Amanah Rakyat (UiTM), graduated with a bachelor"s degree in medicine and surgery.
After leaving university, Afif worked as medical officer at the Seberang Jaya Hospital and Sungai Buloh Hospital. In October 2010, Afif married Mardhiah Zakaria. The couple have two children.
Election to the Penang State Assembly
In 2013, Afif was nominated by Parti Keadilan Rakyat to contest the Seberang Jaya state seat in Penang for the 2013 Malaysian general election.
On 9 May 2013, Afif was appointed as the State Executive Councillor in charge of agriculture, agro-based industries, rural development and health replacing Law Choo Kiang who had been appointed as the new Speaker of the Penang state legislative assembly. Parti Keadilan Rakyat Youth.
In the Parti Keadilan Rakyat party elections in 2014, Afif was elected as the deputy chief of the youth wing succeeding Khairul Anuar Ahmad Zainuddin.