According to a Home Ministry circular, people who were not voters or residents of the Narayanganj City Corporation (NCC) would have to have left the area by yesterday.
Starting today up till the polls day ends, if any outsider is within the election area and found trying to illegally influence the election, they will face legal action, the circular says.
Motorcycle movement has also been banned in the city within the same time frame.
Narayanganj district Election Officer Tarifuzzaman confirmed the directives.
Platoons of Border Guard Bangladesh were deployed in the electoral zones of Narayanganj city yesterday afternoon and will remain posted throughout the election period.
NCC polls Returning Officer Nuruzzaman Talukdar said a total of 22 platoons of BGB have been stationed in Narayanganj city under the command of Maj Mostafa Kamal Pasha.
The Narayanganj City Corporation election is scheduled to be held on Thursday.
Teams of RAB and police will also work during the election and a magistrate has also been stationed in each of the 27 wards.
Owners of legal firearms in the city are banned from carrying their weapons starting today till December 25.
The Election Commission earlier dismissed the necessity of army deployment in the electoral area, saying the local law enforcement were capable of maintaining law and order during the polls.