Alam began his career as a teacher at the GowainghatHigh School for two years. His entrance to politics started at the Basic Democracy elections held in 1959 under Ayub Khan's military rule. He became a member initially, and then later the uncontested chairman of the constituency. Alam participated in the May 1962 Basic Democracy elections, becoming a member of the East Pakistan Legislative Assembly, representing the PE-113 (Sylhet-IV) constituency. According to Ehsanul Haq Jasim, Alam was convicted in a murder case eighteen months later and his seat became void. A by-election was held with KhandakarAbdul Jalil being nominated. He was later found to be innocent. Gowainghat was made an upazila in 1983 as part of the President of BangladeshHussain Muhammad Ershad's decentralisation programme and Alam was appointed as the inaugural chairman of the Gowainghat Upazila Council in 1985. Alam was also the elected founding chairman of the undivided Alirgaon Union.