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
MLB Stock Watch: First look at win projections, playoff odds and more
Here's how we rank baseball's 30 teams as spring training games begin.
Fantasy baseball: Karabell's prospect watch
Eric Karabell takes us on a tour of his favorite and least favorite fantasy baseball rookies for the 2021 season.
Shin-Soo Choo to play for South Korean club on 1-year, $2.4M contract
Shin-Soo Choo will play for a basebal club in his native South Korea after agreeing to a one-year contract worth 2.4 million, the biggest of its kind in the KBO league.
Ohtani: Velocity topped out at 97mph
Shohei Ohtani reacts to throwing live batting practice for the Angels and says his velocity topped out at 97mph.
Fresh off Cy Young season, Shane Bieber would 'love to dive into' contract talks with Cleveland Indians
As the optimistic Indians ponder contract talks with ace and Cy Young Award winner Shane Bieber, team president Chris Antonetti said Cleveland is "hopeful that Shane will be here for a really long time to come."
Throwing live batting practice, an optimistic Shohei Ohtani tops out at 97 mph for Los Angeles Angels
Saying that the "rules are -- there aren't going to be any rules" with Shohei Ohtani's usage this season, Angels manager Joe Maddon is optimistic about the veteran's prospects on the mound.