A Canadian Pacific Railway train has derailed west of Banff on Thursday afternoon, a Transportation Safety Board of Canada (TSB) spokesperson confirmed to CBC News.

It happened near Mile 87 in the Laggan Subdivision west of the town, Chris Krepski said.

Twenty rail cars left the track, he said, 10 empty auto carriers and 10 loaded grain cars.

"There were no reports of injuries, no reports of dangerous goods involved. The Transportation Safety Board of Canada is following up to gather more information," said Krepski.

He says TSB investigators have not yet been sent to the site. They're currently gathering information from CP and first responders about factors such as the extent of the damage and the condition of the track before they decide if further action is required on their part.

CP said in a statement late Thursday its own investigators are on the way to the site.

"There were no injuries and there are no public safety concerns. CP immediately dispatched teams to the site. The cause of the incident is under investigation," spokesperson Salem Woodrow said.