Longoria, who made $4.5 million in 2012, had been signed through the 2016 season, including club options. Now the Rays can retain him through his age 37 season, if they so choose.
The three-time All-Star is coming off a season during which he missed significant time because of injury. He managed to play in just 74 games and hit .289/.369/.527, with 17 home runs and 55 RBI. In five seasons with Tampa Bay, Longoria has won a pair of Gold Gloves and helped the team to three playoff appearances, including a run to the World Series in 2008.
The Rays won 90 games or more for the third consecutive season in 2012, though they came up short of a playoff berth.