"I always try to attack the hitter with my fastball," Pineda said. "The first homer, he jumped on the first pitch, and the second homer I tried to get my fastball inside. He's a great hitter."
Pineda (9-6) took a shutout into the seventh against his former team in his first start against Seattle on June 2, but he had difficulty throwing throw strikes this time. The righty walked two for the first time since June 17 and needed 105 pitches to get through six innings. But, other than Cano, the Mariners had little success against him.
"I don't think he struggled," catcher Brian McCann said. "You've got one of the best hitters in the game that started to swing the bat a lot better. Take those away, we're looking seventh, eighth inning with no runs. So sometimes you tip your hat."
McCann hit a tying two-out, two-run shot off Hisashi Iwakuma (2-1) in the fourth, just one of two flyballs off the Japanese right-hander in 5 2-3 innings. McCann had the other, too, an out to left field.
Joe Beimel, who yielded A-Rod's go-ahead homer Friday, relieved and retired McCann on a popup.
Despite struggling against Iwakuma, the Yankees had a chance in the ninth when Teixeira doubled leading off against Carson Smith. Chase Headley struck out, but reached on a passed ball. Garrett Jones drove in a run with a grounder before Didi Gregorius grounded out to Cano to end the game and give Smith his seventh save.
"It's just one of those days we didn't get the big hit," Yankees manager Joe Girardi said.
With the win, the Mariners improved to 22-22 on the road after losing 11 of 17 to start the season. Seattle denied the Yankees a chance to move 10 games over .500 for the first time since Cano was closing out his career in pinstripes, on Sept. 13, 2013.
Batting .249 with just six homers and 30 RBIs coming in, Cano has taken the brunt of the blame for the Mariners' subpar first half. But he came out swinging against the team he spurned for a huge contract with Seattle before the 2014 season.
The second baseman responded to hearty first-inning boos with a blast off Pineda (9-6) over the center field wall with Kyle Seager aboard, helping the Mariners end a seven-game skid against New York. Seager connected twice in Seattle's loss Friday night.
"I just go to the plate and make some damage," Cano said of how he handles the booing.
Cano connected again off Pineda in the sixth, driving a ball into the second deck in right field for his 14th multihomer game — his first 13 came with New York. Cano singled between his long balls and grounded out with a shot for his first three-homer game.
Iwakuma allowed five hits and two runs without a walk and five strikeouts in his third start since coming off the disabled list.
Mariners: LHP Charlie Furbush (biceps tendinitis) was feeling discomfort in his throwing arm so the team slowed the steady reliever's progress in his throwing program.
Yankees: The Yankees sent RHP Bryan Mitchell to Triple-A Scranton/Wilkes-Barre after Friday night's win and called up Branden Pinder on Saturday. Girardi said he wanted to stretch out Mitchell in case New York needs him to make a spot start. ... OF Carlos Beltran is expected to be activated from the DL Sunday.
Mariners: All-Star right-hander Felix Hernandez starts. He's 5-1 with a 1.37 ERA at the new Yankee Stadium. Teixeira has made King Felix almost look ordinary. He's 20 for 66 (.303) with six homers and 13 RBIs overall against the 2010 AL Cy Young Award winner.
Yankees: LHP CC Sabathia faces the Mariners for a second time this year. He allowed nine hits and two run in 5 2-3 innings at Seattle on June 2.
Hernandez was traveling like a king in the visitors' clubhouse before and after the game, gliding along on a motorized intelligent personal mobility device. It looks like a skateboard married a Segway, with a platform about 6 inches off the ground to stand on and two big wheels but no handlebars. "The fall is about that far," manager Lloyd McClendon said when asked if it scares him to see his star zipping around.