Five militants were held from Sabujbagh area under Khilgaon Thana in the capital in a drive conducted by the Counter Terrorism and Trans-national Crime Unit (CTTC).
Acting on a tip-off, a CTTC team conducted the operation in the area on Sunday night and detained them.
The arrestees could not be identified immediately.
Deputy Commissioner of DMP Masudur Rahman confirming the matter said fiver members of Ansar Al Islam were held from Sabujbagh area in the capital.