A truck that became wedged under a rail bridge at the junction of Spencer and Flinders streets has been removed after blocking trams and city streets.

The intersection reopened in all directions about 4.30pm on Thursday, hours after the truck smashed into the rail bridge and was left wedged on its side.

A truck wedged under the rail bridge at the intersection of Flinders and Spencer streets. Credit:Chris Hopkins

Trains and trams were disrupted but services resumed before the evening peak hour.

Separately, in Melbourne's northern suburbs, all outbound lanes of the Maroondah Highway in Ringwood have been blocked to peak-hour traffic.