Police said the leaked chemical is believed to be hydrochloric acid and that the building, on the site of Chemtura Manufacturing, had been evacuated.
The cause of the leak was not yet known.
Superintendent Chris Ullah from Greater Manchester Police said:
Emergency services are working at the scene to control the leak and motorists are being asked to avoid the area. We will keep the public updated but would ask people around the Trafford Park area to stay indoors for the time being as a precautionary measure.
More top news
MI5 has reportedly launched two urgent inquiries into how it missed the danger posed by the Manchester bomber, Salman Abedi.
Helicopters are searching for survivors who may be marooned after a weekend of heavy rain.
Thousands of people attended a protest on Copacabana Beach to demand presidential elections as pressure mounts on Brazil's leader to resign.