The Goonyella coal line was blocked for several days last week after an unmanned train derailed.
The driverless train had no crew and was empty when it derailed at around 2pm last Friday, Daily Mercury reported.
"A remote locomotive (driverless) and a number of wagons derailed," an Aurizon spokesperson said.
"Track crews have since cleared all rollingstock and restored the track. The line was reopened to all traffic (Tuesday) morning.”
An investigation into the cause of the crash is ongoing.
Aurizon said it had worked with miners to minimise coal transport disruptions.
Rail Bus and Tram Union central branch organiser Bruce Mackie said heat was a factor in the incident.
"There was extreme heat on Friday and our members are reporting it appears the track buckled from it," Mackie said.