Evan Longoria
Pineda and the Yankees agreed on a $7.4 million salary for the 2017 season, his last before qualifying for free agency. During the Yankees home opener against the Tampa Bay Rays on April 10, 2017, Pineda retired the first 20 batters until giving up a double to Evan Longoria. Pineda finished with 11 strikeouts and allowed one run in innings as the Yankees won 8–1.