Five cars of a freight train carrying an industrial chemical derailed in Toronto early Sunday, but no one was injured and nothing harmful was leaked, according to CN and a federal official.

Three of the derailed cars contained vinyl acetate, but the chemical was not spilled, according to Julie Leroux, spokesperson for the Transportation Safety Board of Canada. Two derailed cars were carrying grain and only the one carrying rice leaked, she added.

The federal government says the chemical, not considered harmful to human health, is used in the production of latex paints, adhesives, sealant material and glues. It is found in cosmetics, personal care products and food packaging.

Emergency crews were called to the scene of the derailment on Kennedy Road, south of Eglinton Avenue East, in Scarborough, Toronto's easternmost district, at about 2:43 a.m. ET.

Firefighters found the cars off the tracks and they tried to determine whether any harmful material had spilled, according to Capt. Adrian Ratushniak, spokesperson for Toronto Fire Services. They found nothing harmful had spilled, he added.

Firefighters then created a "safe perimeter" of about 300 metres surrounding the derailment to contain the scene before handing it over to CN staff, Ratushniak told CBC Toronto.

"There is no threat. There is no danger. And there were no injuries at the scene. At this time, our fire crews have cleared."

About 25 firefighters and six trucks responded to the call, he said.

The Transportation Safety Board of Canada says it won't attend the scene of the derailment that occurred overnight. (John Hanley/CBC)

Two ambulances went to the scene, but no one was transported to hospital or treated at the scene, according to James Burgin, deputy commander for Toronto Paramedic Services.

CN 'regrets' impact on local residents

Jonathan Abecassis, spokesperson for CN, said in a statement that CN is investigating the derailment.

"Current reports indicate that five cars have derailed in various positions, that there are no injuries or release of any dangerous goods and that the train is blocking a crossing on Kennedy Road," he said.

"We regret any impact this incident may have on local residents."

That train has since been removed and the roadway has been reopened, according to Toronto police.

The cause of the derailment hasn't been determined.

A derailed freight train car lies in the grass beside CN tracks in Scarborough. (John Hanley/CBC)

Const. David Hopkinson, spokesperson for the Toronto Police Service, said they were told there was "hazardous material" on the train and police were ready to evacuate the area, but nothing leaked from the derailed cars and an evacuation was not necessary.

Hopkinson declined to say what kind of hazardous material was reportedly on the train.

"There was no leak," he said. "Traffic has resumed in the area."

Transportation Safety Board not sending team

Leroux, based in Gatineau, Que., said the board was notified about the derailment at 5:37 a.m. She said cleanup is underway.

"We are still gathering information but we have decided not to deploy," she said.

Once the derailment occurred, the locomotive continued moving for several metres before stopping beside the Salaheddin Islamic Centre, a mosque in Scarborough, according to a CBC photographer. Toronto Fire could not say if the building was evacuated, but said given that the incident happened in the middle of the night, nobody was likely inside.

At that point, it was also determined that the cars with the chemical had not leaked and an evacuation of the area was not necessary.

As well, the derailment occurred near Kennedy subway station, and the Toronto Transit Commission suspended passenger pickup services at the station and closed access to its south parking lot after the incident. Service and access have since resumed.

Leroux said the board will try to determine the sequence of events in the derailment and is undertaking a "short" investigation.