Biggar kicked four penalties and a conversion for a 14-point personal tally to take the Lions to victory after they were 12-3 down at halftime but came back strongly in the second half.
Luke Cowan-Dickie scored the Lions' only try with Owen Farrell adding a key late penalty, while the Springboks' points came from a Faf de Klerk try and four first-half penalties from Handre Pollard.
The two teams meet again next Saturday in the second test, also at the Cape Town Stadium.
The Lions roared back into the contest with a vastly improved second half display as they gained the physical advantage and put the Boks under pressure with the high ball, which turned the tide in their favour.
The home side made too many errors as they visibly wilted in the closing quarter, stung by a lack of match practice and just one test in 20 months since they lifted the World Cup trophy in November 2019.
"We are aware this is a first game in a series of three," said Lions captain Alun Wyn Jones. "In the second half we did not force as much on the kick counter, the set-piece came into the game and we got reward."
After a breathless opening 15 minutes, the Boks were the first on the board when Pollard landed a penalty, and then added another following a late tackle on De Klerk by Sale Sharks teammate Tom Curry.
The hugely impressive Maro Itoje effected two excellent steals on the ground at the ruck, but the Boks continued to apply pressure and Elliot Daly gave away a penalty at the ruck and Pollard made him pay.
There was a rare line-break at the end of the first half by centre Robbie Henshaw, but he spilled the ball forward under pressure from Willie le Roux when he had options for the pass on either side of him for what would have been an easy score.
An invigorated Lions turned down two kickable penalties early in the second half and their ambition paid dividends when Luke Cowan-Dickie scored from a maul that was too powerful for the home defence.
Le Roux looked to have hit back almost immediately with a breakaway try from Makazole Mapimpi’s kick, but he was adjudged to have been marginally in front of the kicker and the effort ruled out.
But the Boks did get their score, Mapimpi again with the kick ahead and this time De Klerk put the finishing touches after there was a suspicion of a knock-on from Pieter-Steph du Toit in the build-up.
But this time South African Television Match Official Marius Jonker confirmed the try was good.
ERROR COUNT
Biggar kicked two more penalties to reduce the deficit to a single point again, before the Lions led for the first time just past the hour-mark from another penalty as the tiring Boks’ error count started to mount.
The home side had another try ruled out by the TMO for a knock-on in the build-up to Damian de Allende’s score, but Farrell added another penalty with two minutes on the clock and it was the tourists who won the arm-wrestle.
"We started well in the first half, but there is a lot we have to work on, with our discipline being number one," Bok captain Siya Kolisi said.
"The set-piece and mauls, we could have done better, we made a couple of technical mistakes. We will go back and look at that.
"We must fix what we can as a team, we must make sure we come back better and stronger next week. We at least have another game under our belt."