Two men have been freed and taken to hospital in Melbourne after a four-metre deep trench collapsed.

A major rescue operation was sparked on High Street, Epping at around midday.

The MFB has now reported that both men have been freed and are in the care of Ambulance Victoria.

Twenty-four firefighters were at the scene working on the operation.

KIIS 1011 Melbourne