The convicted Alam alias Tajimul, 45, is the son of Lutfar Rahman of Shahjahanpur village in Sadar upazila.
The court also fined him Tk 1 lakh and in default he will have to serve one more year of rigorous imprisonment.
According to case statement, members of Rapid Action Battalion (Rab) arrested Alam with 1.58 kg of heroin and Rs2 lakh from on November 27, 2017.
Sub-Inspector Mustakin Hossaim of Chapainawabganj Rab filed a case at Sadar Police Station in this connection.
After examining records and witnesses, Additional District and Sessions Judge Md Shakot Ali handed down the verdict.