Stuck on the train: passengers were left stranded after a door was accidentally opened.

Stuck on the train: passengers were left stranded after a door was accidentally opened.

Light rail passengers were left stranded at Glebe after the tram on which they were travelling became stuck on an overpass about 6pm.

Passengers had to disembark from the front door and onto the track after one of the doors opened while the tram was in motion and became wedged on the side of the bridge.

A light rail employee said a new driver had accidentally opened the doors before the tram had pulled into the station.

Delays: passengers were forced to get off the train before it got to the station.

Delays: passengers were forced to get off the train before it got to the station. Photo: Bellinda Kontominas

"It's a trainee unfortunately and he's pressed the wrong button at the wrong time and the doors have opened."

Passengers were told the service had been "temporarily halted" due to a "technical problem".

The train was full with standing room only. It took about 15 minutes for staff to close the door before the service moved on without passengers.

Passengers were forced to disembark onto the track.

Passengers were forced to disembark onto the track. Photo: Bellinda Kontominas

Subsequent services pulling into Glebe from the city were full, meaning passengers from the suspended service were left standing on the platform.

Sydney Light Rail said passengers were delayed for 30 minutes and apologised to those affected.

"Around 6pm a Sydney Light Rail vehicle stopped approximately two metres short of the stop at Glebe," a spokeswoman said.

"All doors opened when the vehicle came to a stop. The driver was unable to close all doors and restart the vehicle.  

"Customers were guided safely from the vehicle by two Customer Service Officers on board.

"The vehicle has since been removed from service for repairs and the incident will be investigated."