New Zealand held off a battered and bruised Scotland to earn a hard-fought 22-17 victory at Murrayfield on Saturday.
Codie Taylor and Damian McKenzie took advantage of a series of injuries suffered by an already depleted Scotland team to force two tries in a five-minute spell early in the second half in Edinburgh.
The hosts valiantly fought back to score through Jonny Gray, as the All Blacks were twice reduced to 14 men in the second half, with Sam Cane and Wyatt Crockett both sent to the sin bin.
New Zealand still managed conjure up a brilliant third try, scored in the 67th minute by Beauden Barrett, who converted his own score.
Scotland were not finished, though - Stuart Hogg's perfectly weighted kick releasing Tommy Seymour to break and set up Huw Jones for a 78th-minute score that Russell converted.
And Hogg even had one last chance to draw or snatch the win right at the death, Barrett tackling him into touch with the final play of the game, as Scotland's wait for a first Test victory over the southern hemisphere heavyweights continues.
Steve Hansen's powerhouse team, who defeated France last time out, now turn their attention to a Test against Wales in Cardiff next weekend, when Scotland play host to the Wallabies.
Despite being without prop WP Nel and back row Ryan Wilson, it was the hosts who made the faster start against a strong All Blacks XV.
Scotland were rewarded for their early pressure in the sixth minute when Waisake Naholo went in off his feet at the breakdown to give away a penalty that Finn Russell kicked.
Scotland lost flanker Hamish Watson to a suspected back injury in the 28th minute, to be replaced by debutant Luke Hamilton.
Gregor Townsend's team continued to make the visitors work hard but the All Blacks managed to go in level at the break, as John Barclay was penalised for not rolling away after a Rieko Ioane breakaway, Barrett sending over the penalty to make it 3-3 at half-time.
New Zealand clicked into gear early in the second half, Ioane setting up Taylor to score the first try of the match after the same pair had led a breakaway that left Alex Dunbar down hurt.
Barrett narrowly missed the conversion attempt but Scotland suffered a further blow when Watson's replacement Hamilton was taken off on a stretcher with a potentially serious knee injury.
The All Blacks took advantage of the further disruption to extend their lead. A line-out and aggressive maul created space for Sonny Bill Williams to poke a clever grubber kick through the Scotland defence, and McKenzie gathered the ball to dot down.
This time Barrett did add the extras but Scotland refused to give up. A period of heavy pressure on the New Zealand try line led to successive penalties and saw Cane shown a yellow card, Gray burrowing over from close range soon after.
Russell made no mistake with the conversion to close the gap to five points with 18 minutes remaining.
Their hard work was undone when Peter Horne took his eye off Williams during a swift attack, the inside centre brilliantly offloading to McKenzie, who in turn played Barrett into space to score.
Crockett followed Cane into the bin soon after that and Scotland pounced through Jones' thrilling try, but Hogg narrowly failed to snatch a try that could have earned a memorable victory right at the death.
|James Harden not worried about shooting struggles|
|Green: Spurs star Leonard wants to stay in San Antonio|
|Griezmann could help Barcelona a lot, says Umtiti|
|Moyano hat-trick helps Jaguares sink 14-man Sharks|
|Mbappe rejected Real Madrid for PSG - Monaco´s Vasilyev|
|Rovers rock Warriors as Wolves bite back to see off Hull|
|Thiem through in Lyon as Fucsovics closes in on historic first title|
|Hughes signs three-year Southampton deal|
|Barty suffers injury scare in Strasbourg|
|Ruthless Montpellier overpower Lyon to reach Top 14 final|
|Rabiot hits out at Deschamps criticism|
|Low: Messi more complete than Ronaldo|
|Marvellous McIlroy moves three clear at Wentworth|
|Brighton confirm deal for Deportivo striker Andone|
|No offers for Lyon captain Fekir, Aulas claims|
|Pakistan turn the screw to frustrate England at Lord´s|
|Rashid leaves Knight Riders in the shade as Sunrisers reach IPL final|
|Madrid not favourites for Champions League final - Zidane|
|Don´t compare Salah to Messi and Ronaldo, says Ramos. They´re in a different orbit!|
|Van Dijk: Liverpool is my team, Anfield is my home|
|Ronaldo at ´140 per cent´ is good enough for Zidane|
|People like to talk - Marcelo responds to misquoted Klopp|
|French Open 2018: Hopes of sensational Serena success raised by Roland Garros draw|
|Houston Rockets without Chris Paul for game six|
|Ostapenko used to life in the spotlight ahead of French Open defence|
|Red Sox designate Hanley Ramirez for assignment|
|Liverpool motivated by Europa League pain - Henderson|
|Reus relishing Favre reunion at Borussia Dortmund|
|Phenomenal Froome claims stunning Giro lead as Yates capitulates|
|Bertens, Kontaveit and Kasatkina – Can Ostapenko´s Roland Garros fairytale be matched?|
|Klopp less excited about second final appearance|
|It´s funny if two managers in the final have no clue about tactics - Klopp defends Zidane|
|Salah´s long-term potential ´not important´, says focused Klopp|
|It´s kind of unreal - Kvitova surprised by her success ahead of French Open return|
|Man United and Real Madrid favourite Beckham begs Zidane to beat Liverpool|
|Storm and Raiders snatch dramatic wins|
|Boateng desperate for ´best in the world´ Neuer to play|
|Great players have to play here - Real Madrid´s Marcelo continues Neymar courtship|
|Salah can win Ballon d´Or with Champions League triumph, says Luiz|
|Roland Garros wins ´exactly the same´ for Nadal regardless of Federer involvement|
|Rebels romp past Sunwolves, Crusaders retain top spot|
|Halep ´stronger mentally´ as she seeks first grand slam title|
|Cipriani on bench for Baa Baas clash|
|Ronaldo´s rival Salah shifts focus back to Liverpool versus Real Madrid|
|Two arrested in Kiev after clashes before Champions League final|
|Johnny Nelson leads tributes after death of Brendan Ingle|
|Batshuayi puts off Chelsea plans until after World Cup|
|Devon Smith back in Windies squad, Hamilton earns maiden call-up|
|Thiago hints at uncertain Bayern Munich future|
|Dhananjaya pulls out of Windies tour following death of father|
|I feel great - Kerr keeps faith with Warriors on the brink|
|Ronaldo: I can´t be compared with Salah|
|Buffon agent backs Paris Saint-Germain move|
|ICC confirms smart watches prohibited|
|Real Madrid v Liverpool: Champions League final in Opta numbers|
|Mane sends 300 Liverpool shirts to Senegal village for Champions League final|
|Arthur will not join Barcelona before December, Gremio insist|
|Real Madrid v Liverpool: Key battles in the Champions League final|
|Trout hits 15th HR, Bundy strikes out 14|
|Rockets star Paul dealing with hamstring injury|
|Does he only care about his hair? - Denmark coach Hareide slams Pogba, France|
|Rockets push Warriors to brink of elimination|
|World number 84 Kicker suspended for match-fixing|
|WATCH: Paul shimmies in Curry´s face|
|Copa Libertadores Review: Estudiantes into last 16 after thrilling win over Nacional|
|Ronaldo: Cristiano and Neymar would be good together at Madrid|
|Rockets honour Santa Fe victims, first responders at game five|
|Real Madrid rejected €150m offers for Asensio – agent|
|Marshall, Baldwin react strongly to Trump´s comments on NFL anthem stance|
|Nabura handed six-week ban for wild kick|