He represents the Kunnamangalam constituency in Kozhikode district and Pro-tem Speaker in the Kerala Legislative Assembly.
Born at Koduvally in Kozhikode district on 8 March 1949, Rahim started his political career through MSF during his college days.
[citation needed] He was secretary of the Indian Union Muslim League Kozhikode District Committee and he was also President of Koduvally Grama Panchayath (1988–1993, 1998–2006).
He made a successful movement in the Panachayat election held in 2005 with the support of Left Front in Koduvally.
In early 2011 with the support of LDF, under the leadership of P. T. A. Rahim a new party, National Secular Conference (NSC) was formed, which aimed to protect the rights of Dalits, religious minorities and other backward sections of people.