The New York and New Haven Railroad (NY&NH) was a railroad connecting New York City to New Haven, Connecticut, along the shore of Long Island Sound. It opened in 1849, and in 1872 it merged with the Hartford & New Haven Railroad to form the New York, New Haven & Hartford Railroad. The line is now the Metro-North Railroad New Haven Line and part of Amtrak's Northeast Corridor.