Financial terms were not released.
RELATED: [NHL Free Agent Tracker]
The 25-year-old forward, who was a restricted free agent, avoided an arbitration hearing that was scheduled for July 30.
Vesey had 28 points (17 goals, 11 assists) in 79 games with the Rangers last season. He has 55 points (33 goals, 22 assists) in 159 NHL games and five points (one goal, four assists) in 12 Stanley Cup Playoff games.
Vesey won the Hobey Baker Award as the top player in NCAA Division I in 2016, his senior season at Harvard. He was selected by the Nashville Predators in the third round (No. 66) of the 2012 NHL Draft but did not sign with them after four years of college. He became a free agent before signing with the Rangers on Aug. 20, 2016.