NEW YORK (AP) — Anthony Rizzo is staying with the New York Yankees, agreeing Tuesday to a $40 million, two-year contract.
Rizzo gets $17 million in each of the next two seasons, and the deal for the first baseman includes a $17 million team option for 2025 with a $6 million buyout. Rizzo had opted out of his previous contract with New York, giving up a $16 million salary for 2023.
Rizzo gets a limited no-trade provision, allowing him to list six teams annually he cannot be dealt to without approval.
Since joining the Yankees at the 2021 trade deadline, Rizzo had provided needed left-handed power for New York and has taken advantage of the right field short porch at Yankee Stadium.
Now 33, Rizzo hit .224 with 75 RBIs and had 32 home runs for the fourth time in his career. While the Yankees led the major leagues with 254 home runs, just 77 were by left-handed batters.
People are also reading…
His agreement is the first major offseason move for the Yankees, who are attempting to re-sign star right fielder Aaron Judge.
Photos: Aaron Judge hits AL-record 62nd home run, passing Roger Maris

New York Yankees' Aaron Judge connects for a solo home run, his 62nd of the season, off as Texas Rangers catcher Sam Huff and umpire Randy Rosenberg look on in the first inning of the second baseball game of a doubleheader in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/Tony Gutierrez)

New York Yankees' Aaron Judge follows through on a solo home run, his 62nd of the season, as Texas Rangers catcher Sam Huff, left, and umpire Randy Rosenberg, rear, look on in the first inning of the second baseball game of a doubleheader in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/Tony Gutierrez)

New York Yankees' Aaron Judge, left, hits a solo home, his 62nd of the season, in front of Texas Rangers catcher Sam Huff and home plate umpire Chris Segal during the first inning in the second baseball game of a doubleheader in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/LM Otero)

New York Yankees' Aaron Judge, left, hits a solo home, his 62nd of the season, in front of Texas Rangers catcher Sam Huff and home plate umpire Chris Segal during the first inning in the second baseball game of a doubleheader in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/LM Otero)

New York Yankees' Aaron Judge watches his a solo home run, his 62nd of the season, off of Texas Rangers starting pitcher Jesus Tinoco (63) as Texas Rangers catcher Sam Huff and umpire Randy Rosenberg look on in the first inning of the second baseball game of a doubleheader in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/Tony Gutierrez)

New York Yankees' Aaron Judge watches his a solo home run, his 62nd of the season, off of Texas Rangers starting pitcher Jesus Tinoco (63) as catcher Sam Huff and umpire Randy Rosenberg look on in the first inning of the second baseball game of a doubleheader in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/Tony Gutierrez)

New York Yankees' Aaron Judge watches his a solo home run, his 62nd of the season, off of Texas Rangers starting pitcher Jesus Tinoco (63) as catcher Sam Huff and umpire Randy Rosenberg look on in the first inning of the second baseball game of a doubleheader in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/Tony Gutierrez)

New York Yankees' Aaron Judge rounds the bases past Texas Rangers first baseman Nathaniel Lowe (30), umpire Lew Williams and first base coach Travis Chapman after hitting hit a solo home run, his 62nd of the season, in the first inning of the second baseball game of a doubleheader in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/Tony Gutierrez)

New York Yankees' Aaron Judge rounds the bases after hitting a solo home run, his 62nd of the season, during the first inning in the second baseball game of a doubleheader against the Texas Rangers in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/LM Otero)

New York Yankees' Aaron Judge gestures as he rounds the bases after hitting a solo home run, his 62nd of the season, during the first inning in the second baseball game of a doubleheader against the Texas Rangers in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/LM Otero)

New York Yankees' Aaron Judge rounds second on his way home after hitting a solo home run, his 62nd of the season, off of Texas Rangers starter Jesus Tinoco (63) in the first inning of the second baseball game of a doubleheader in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/Tony Gutierrez)

New York Yankees' Aaron Judge (99) approaches home plate as teammates come out to congratulate him after hitting a solo home run, his 62nd of the season, in the first inning of the second baseball game of a doubleheader against the Texas Rangers in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. Umpire Randy Rosenberg and Rangers catcher Sam Huff also stand by watching the play. (AP Photo/Tony Gutierrez)

New York Yankees' Aaron Judge (99) approaches home plate as teammates come out to congratulate him after hitting a solo home run, his 62nd of the season, in the first inning of the second baseball game of a doubleheader against the Texas Rangers in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. Umpire Randy Rosenberg and Rangers catcher Sam Huff also stand by watching the play. (AP Photo/Tony Gutierrez)

New York Yankees' Aaron Judge, right, hugs teammates after hitting a solo home run, his 62nd of the season, during the first inning in the second baseball game against the Texas Rangers in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/LM Otero)

New York Yankees' Aaron Judge, is greeted at the dugout by teammates and cheering fans after hitting a solo home run, his 62nd of the season, in the first inning of the second baseball game of a doubleheader against the Texas Rangers in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/Tony Gutierrez)

New York Yankees' Aaron Judge smiles in the dugout after hitting a solo home run, his 62nd of the season, during the first inning in the second baseball game of a doubleheader against the Texas Rangers in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season, passing Roger Maris. (AP Photo/LM Otero)

New York Yankees' Aaron Judge stands in the dugout after his solo home run during the first inning in the second baseball game of the team's doubleheader against the Texas Rangers in Arlington, Texas, Tuesday, Oct. 4, 2022. With the home run, Judge set the AL record for home runs in a season at 62, passing Roger Maris. (AP Photo/LM Otero)