OPP say the man was hit near the Canadian National Railway main yard just after 2 o'clock Sunday morning.
Police say the westbound locomotive was leaving the rail yard when it hit Justin Degagne.
OPP and CN Rail Police are looking into the circumstances surrounding the death.