One of the top remaining MLB free agents is off the board.
And he’s not going anywhere.
The Dodgers and Teoscar Hernandez agreed to a three-year, $66 million contract on Friday night, The Post’s Jon Heyman confirmed.
ESPN reported that Hernandez’s new deal includes a club option worth $15 million for the 2028 season with a $6.5 million buyout.
The contract also has $23.5 million in deferred money, the outlet added.
Hernandez, 32, posted on his Instagram story a simple message: “I’m back.”
During the World Series in October, Hernandez told Heyman that he “1,000 percent” wanted to be back with the Dodgers, though the Red Sox and Blue Jays were among the teams that expressed interest in him.
The slugger now gets his wish.
Since becoming a full-time player in 2018, Hernandez has been among the game’s best hitters, winning three Silver Slugger awards and getting named to two All-Star teams.
But in 2023 with the Mariners, Hernandez had a down year by his standards with a .741 OPS, the lowest full-season mark of his career.
The Dominican Republic native then signed a one-year pact with Los Angeles, where he bounced back — and then some.
Hernandez crushed a career-best 33 homers with a .272/.339/.501 slash line as he helped the Dodgers claim the NL West title.
He followed up an All-Star regular season with a strong postseason, hitting .350 in the World Series with one homer and four RBIs.
His game-tying double in the fifth inning of Game 5 helped the Dodgers flip the momentum before they knocked off the Yankees, 7-6, to clinch the title.