The 37-year-old finally did that in grand fashion on Tuesday night, and it helped the Giants rally for 7-6 a win over the Houston Astros in 10 innings.
Brandon Crawford hit an RBI single in the 10th inning to lift San Francisco to the victory. But before that it was Pence, who was mired in a 2 for 32 start, who came through for the Giants.
Houston led by 4 with two outs in the seventh when Pence, who began his career in Houston, hit a three-run pinch-hit homer off Blake Taylor to cut the lead to 6-5. It was the first home run this season for Pence.
"We were all pretty happy for Hunter," manager Gabe Kapler said. "Obviously that changed the game for us and put us right back where we needed to be."
Pence, who added a single in the ninth, said the Giants showed the identity of their team with Tuesday's comeback.
"That's kind of been something that we've done pretty well here at the start of the season is we've been scoring a lot of runs late," he said. "We do have a team mindset of keep fighting, be as scrappy as we can. ... Just having everyone with that mindset, and having good at-bats."
Austin Slater singled off Cy Sneed (0-3) to start the 10th and send Wilmer Flores to third after he started on second under the new extra-innings rules. Crawford then followed with his grounder to center field to score Flores.
Flores also homered for the Giants, who snapped a six-game losing streak to the Astros.
Alex Bregman homered for the Astros as they lost for the sixth time in seven games.
Houston got a win in Monday's opener after losing five straight, capped by a 7-2 defeat at Oakland on Sunday that was marred by a benches-clearing brawl. Hitting coach Alex Cintron received a 20-game suspension and a fine on Tuesday for his role in the incident and what MLB said was: "inciting and escalating the conflict between the two clubs."
Oakland outfielder Ramon Laureano was given a six-game suspension and a fine for charging the Astros dugout toward Cintron. Laureano is appealing his suspension, but Cintron accepted his and began serving it Tuesday night.
San Francisco starter Tyler Anderson yielded five hits and four runs while walking three in five innings.
Houston rookie Brandon Bielak allowed six hits and two runs in five innings in his second major league start after making two relief appearances.
Houston manager Dusty Baker lamented his bullpen's inability to close the game out after a solid start by Bielak.
"This is tough, just tough to take," Baker said. "We had the right guys out there at the right time, but we didn't get the job done."
Flores gave the Giants a 1-0 lead with a homer in the second.
There were no outs in the third when Bregman sent a fastball from Anderson to left field to extend the lead to 4-1.
Alex Dickerson hit an RBI single to center field with two outs in the fifth to cut the lead to 4-2.
Giants: 2B/INF Donovan Solano was held out of the lineup as a precaution after he experienced some abdominal soreness following Monday's game, manager Gabe Kapler said. Solano is batting .458 with a home run and 15 RBI. Kapler said they'll evaluate him on Wednesday to see if he can return.
Astros: OF George Springer missed his fifth game with a strained right wrist, but was Houston's runner on second base in the 10th inning. Baker said Springer would likely start on Friday, but could be in the lineup Wednesday.
The Giants have allowed 29 home runs this year, which ranks second in the majors behind Arizona (40). Tuesday was the 15th straight game in which they have allowed a home run, which is the longest streak in franchise history.
Houston's Zack Greinke (0-0, 3.00 ERA) will oppose Trevor Cahill when the series wraps up on Wednesday night. Greinke allowed five hits in six scoreless innings in his last start but did not factor in the decision in a 3-2 loss to the Athletics in 13 innings. Cahill will make his debut after missing time because of a fingernail issue on his right index finger.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
Third baseman Frazier strikes out Duvall
The Mets put in third baseman Todd Frazier to close out the game vs. the Braves in the ninth inning and he strikes out Adam Duvall.
Braves use long ball to rout Mets
Ozzie Albies hits two of the Braves' six home runs as they beat the Mets 15-2.
Oakland A's clinch third straight playoff berth, but 'a lot bigger goals' remain
The Oakland A's secured a third straight playoff berth and sixth in nine seasons with Seattle's loss to San Diego and a 6-0 win against the cross-bay rival San Francisco Giants on Friday night.
A's beat Giants, clinch playoff spot
The Athletics beat the Giants 6-0 and clinch their third straight playoff birth.
Machado homers twice to help Padres past Mariners
Manny Machado drills a three-run home run and later hits a solo shot as the Padres beat the Mariners 6-1.
Pujols homers twice in Angels' win over Rangers
Albert Pujols moves into sole possession past Willie Mays for fifth on the all-time home runs list as he drills two homers in the Angels' 6-2 win over the Rangers.