Workers were sent to local clinics from the GMS Factory in Sardaganj Sultan Market area on Tuesday night, police said.
Nazrul Islam, an inspector with the Gazipur Industrial Police, said the meal, consisting of a piece of bread, an egg and a banana for every person, was distributed around 8pm.
Some of the workers began to vomit after they resumed work. Some others fainted.
The factory management quickly brought out the workers and sent them to clinics.
Many workers took first aid and went home while some remained at the clinics. Doctors said all of them were out of danger.