Mark Teixeira hit a go-ahead two-run homer with two outs in the sixth and the Yankees beat the Mets, 4-2, on Saturday to win the first two games of the Subway Series.
Curtis Granderson led off the eighth inning with a homer for some cushion and Phil Hughes remained unbeaten in his last four starts after pitching into the seventh.
Rafael Soriano gave up a walk and a single in the ninth, but closed the door for his ninth save and the Yankees' seventh win in nine games.
David Wright and Omar Quintanilla hit solo homers for the Mets, who have lost five of six, including the opener of this three-game set Friday when Johan Santana gave up four homers in his first post no-hitter start on the way to a 9-1 blowout.
Hughes (6-5) struck out six and gave up two runs on six hits and two walks in 6 1/3 innings to go 3-0 in his last four outings.
"He battled his rear end off," said Yankees manager Joe Girardi. "He made some big pitches when he had to. I was pleased with his performance. If you look, he gave up two solo shots."
Dillon Gee (4-4) lost for the first time in five starts after allowing three runs on five hits and three walks in seven innings. He struck out five.
Derek Jeter led off the first inning with a single, went to second on a balk and scored on Alex Rodriguez's base hit to pass Ted Williams for 17th place on the all-time runs list with No. 1,800.
Robinson Cano also singled and Teixeira was hit on the foot by a pitch but Gee escaped the bases-loaded jam when Raul Ibanez grounded into a double play.
Quintanilla hit his first homer since 2008 in the third inning and Wright led off the sixth with his eighth of the season, driving a changeup into the visitors' bullpen in left field to make it 2-1.
But Teixeira gave the Yankees a 3-2 lead in the bottom of the sixth with his 11th homer, a two-run shot over the right field wall that scored Granderson.
"I would throw that pitch again," said Gee. "Obviously, just a little better. It stayed up just enough for him."
Hughes exited after giving up a one-out single to Josh Thole and Boone Logan and Cory Wade finished the seventh, with Wade getting out of a second-and- third jam to preserve the 3-2 lead.
Granderson hammered Bobby Parnell's third pitch in the eighth inning over the right field wall for his 18th homer to make it 4-2. Soriano gave up a leadoff walk to Ike Davis and a two-out single to Quintanilla in the ninth before he got pinch-hitter Jordany Valdespin on a fly out to end the game.
Quintanilla's other two career HRs came for Colorado in 2008...Ibanez grounded into two double plays...Jeter was 1-for-3 after going hitless in Friday's win to snap a 25-game home hitting streak vs. the Mets.