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.
|Ndidi signs long-term Leicester City contract|
|Pandya tears through feeble England to put India in command|
|Alonso creates motorsport history with victory at Silverstone|
|Kovacic: Chelsea and Sarri believe in me|
|Brighton loss a big lesson for United – Pogba|
|Mistakes hit United´s confidence - Mourinho|
|Brighton and Hove Albion 3 Manchester United 2: Murray lifts Seagulls to another win over Mourinho|
|Quickfire Moon treble sets up Rhinos win|
|Manchester City celebrate win with Silva´s son|
|Brentford 2 Sheffield Wednesday 0: Maupay stars as Bees buzz by Owls|
|Guardiola delighted with fit and firing Aguero|
|Waring marks 200th event with maiden title in Gothenburg|
|Guardiola dismisses Mourinho´s ´disrespectful´ accusation|
|Hulkenberg proud to survive in F1´s pay driver era|
|It´s here, it´s real, get on with it - Dyche dismisses Europa League excuse|
|Grujic agrees Liverpool extension, joins Hertha on loan|
|Martial starts as Lukaku, Young return for Manchester United|
|Fury-Wilder to be staged in November or December - Warren|
|Manchester City 6 Huddersfield Town 1: Aguero hits hat-trick as champions triumph|
|Burnley 1 Watford 3: Hornets end away day woes as Deeney leads destructive display|
|McFarland cleared to leave Scotland and join Ulster|
|Simeone wants ´only the best´ for Filipe Luis amid PSG links|
|PSG signing Boateng rated ´50-50´ by Bayern president|
|Cipriani a positive influence, insists Gloucester head coach|
|Bayer Leverkusen´s Bailey signs contract extension|
|Jesus and Aguero start for City as Mahrez misses out|
|Federer unsure what to expect from Djokovic duel|
|Chievo goalkeeper suffers broken nose, whiplash in Ronaldo collision|
|Simmons lauds influence of ´big brother´ LeBron|
|PSG´s Cavani selected by Uruguay as Coito fills in for Tabarez|
|Starc leads tributes after ´leader of the pack´ Johnson retires|
|Hazard confirms he is staying at Chelsea this month|
|Liverpool´s Firmino dreaming of Premier League title glory|
|Raiders rock the Roosters as NRL´s top-four battle hots up|
|Erasmus demands improved Springboks|
|Athletics pull even with Astros in AL West|
|Mercurial quick Johnson retires from cricket|
|MLS Review: Royer leaves it late for Red Bulls, Dallas bounce back|
|Crotty concussed, Folau injured|
|DFB president Grindel sorry Ozil felt ´deserted´|
|Busch picks up first win of season in Night Race|
|NASCAR results at Bristol: Kurt Busch picks up first win of season in Night Race|
|Woakes welcomes back ´big-game player´ Stokes|
|´Genius´ Messi still amazes Valverde|
|All Blacks, Springboks await Namibia at Rugby World Cup|
|Federer to face Djokovic after Goffin withdraws|
|Rain halts plays at Wyndham Championship|
|De Gea will extend contract soon, says Mourinho|
|Halep to meet Bertens in Cincinnati final|
|Frampton set for Warrington fight after dominant Windsor Park win|
|Messi makes LaLiga history with Barcelona´s 6000th goal|
|MC Alger defeat throws quarter-final chase wide open|
|Barcelona 3 Deportivo Alaves 0: Messi´s milestone goal sets up victory|
|Djokovic on course for Masters 1000 history after Cilic victory|
|It´s on! - Wilder fight confirmed after Fury defeats Pianeta|
|Like Cruyff before him, Guardiola favouring Foden´s style over substance|
|Ronaldo tweets debut delight after Juve win|
|Chelsea are not title contenders yet, claims Sarri|
|Bayern Munich boss Kovac planning for Boateng stay|
|Championship Review: West Brom crush QPR as Leeds stay perfect|
|Allegri pleased with Ronaldo despite goalless Juventus debut|
|Chelsea can produce magic with Sarri in charge - Hazard|
|Emery ´happy without the result´ as Arsenal comeback falls short|
|Gordon confirms Cleveland Browns return|
|Eight shots and only 30 passes - Ronaldo´s Juventus debut in Opta numbers|
|Cristiano Ronaldo´s debuts: Best impressed, scoring a penalty & a blank for Juventus|
|Old boy Escare haunts Catalans in big Wigan win|
|Preston North End 2 Stoke City 2: Super sub Crouch salvages a point|
|Pochettino vows not to discuss Alderweireld future before five-minute answer|
|Waring, Aiken lead the way as Olesen stays in the hunt|