The Metropolitan Transportation Authority said four or five carriages on the seven-carriages derailed close to the Spuyten Duyvil station in the Bronx, New York.
None of the cars entered the Hudson or Harlem rivers, which are adjacent.
Early reports indicate that four people have died and a further 48 are injured. This figure is expected to change.
More top news
Three men have been arrested in Sweden on suspicion of taking part in a rape that was streamed live on Facebook.
An 11-year-old girl has died in a three-car motorway crash.
They wanted it - all power to British courts. Now they've got a taste of what it means. And they might not like it.