Food and drug regulator BPOM also said it was investigating the possibility that the ingredients, diethylene glycol and ethylene glycol, had contaminated other materials that are used as solvents.
Gambia and India are investigating the deaths from acute kidney injury in the west-African country thought to be linked to cough syrups made by New Delhi-based Maiden Pharmaceuticals Ltd.
The World Health Organization has said it found "unacceptable" levels of the ingredients, which can be toxic, in four Maiden products.
"To provide protection to the public, BPOM has set a requirement at the time of registration that all medicinal syrup products for children and adults are not allowed to use diethylene glycol (DEG) and ethylene glycol (EG)," the regulator said in a statement.