The train derailed in the Sunnyside Yard in Queens. No one was injured.
That's where NJ transit keeps its trains before they head to Penn Station.
At least some of those trains were being blocked by the derailment.
NJT had reported delays up to 30 minutes on the Northeast Corridor and Midtown Direct lines heading out of New York City which have since cleared up.