A passenger on the train stuck for six hours due to a major powerline fault has detailed the chaotic night of the more than 100 people trapped on board.

The northbound Bundaberg Tilt Train was headed from Brisbane to Bundaberg when it became stuck at Gundiah, north of Gympie about 12.30am.

The train left from Roma St about 4.55pm on Wednesday with 110 passengers.

By 6.45am, all passengers had been taken off the train and the Queensland Fire Department were conducting searches to make sure there was no one else on board.

Two patients were assessed by Queensland Ambulance in a stable condition and declined any further treatment

Passenger Madison Fraser said the train was delayed for eight hours in total, leaving those on board without power or any flushing toilets.

“After Maryborough, the train was up to full speed, and then I saw a lightning spark in the corner of my eye out the window. The train then shuddered to a halt and just stopped,” she said.

“Half the power went out…and then we were stranded there from about 11pm until about 7am.

“It was pitch dark. We were like, ‘What’s happened? What’s going on? Has there been a lightning strike or something?’…and then about an hour later, they were like, ‘Hey, there’s just live wires around the train. Nobody can get off. We’ve got to go into conservative mode.’

“They couldn’t safely disembark us, especially in the middle of the night. There’s a few people who were a bit squirrely but everyone was quite understanding about what was happening.

“We were all a bit tired because we were already three hours behind schedule. So people were like, ‘Yeah, this is just a cherry on top of our night.’ We were already three hours late to our station and now we’re completely stranded.”

She said the staff on the train had been amazing. “ … They’d all been on the job since 9am Wednesday,” Ms Fraser said.

Queensland Rail’s Scott Cornish said long-distance and freight trains on the north coast line had been impacted while repair works were underway.

Crews had worked overnight to repair the damage across 500m but Queensland Rail was unable to confirm when it would be fixed.

Due to crews having to “de-energise” the railway lines, the passengers had to stay inside the train for hours before being evacuated.

The passengers were taken by buses through to Bundaberg and the Fraser Coast.

The northbound Spirit of Queensland with 120 passengers on-board was also impacted, with the train required to return to Roma Street station.

Freight trains have also been halted until the railway line is back in power.

Crews are working on the powerline to bring the train system back on track.

“The poor passengers were stuck there all night without power and aircon,” Gundiah Memorial Hall posted to social media.

“Queensland Rail says the freight train is unmanned and will be there all day. They have turned off the railway power to this section. They have to fix the power. Remove the electric train from the main track.”

It also said a freight train was stopped over the crossing at Main St, Gundiah and had been there “all night”.

The freight train had removed access for residents east of the train line to “the rest of the world”, the post read.

“So some of Gundiah will be calling in a sickie for work today.”