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.
|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|
|Linking play, forcing saves and clashing with goalkeeper - Cristiano Ronaldo´s Juventus debut|
|Chelsea 3 Arsenal 2: Alonso snatches win after Gunners comeback|
|West Ham still haunted by last season - Pellegrini|
|Puel defends Vardy after Wolves red card|
|Chievo 2 Juventus 3: Ronaldo´s debut ends in dramatic win|
|Mbappe: Neymar is Paris Saint-Germain´s superstar|
|Pickford should have seen red - Hughes fumes over challenge on Ings|
|Kohli and Rahane star as India edge day one|
|AC Milan´s Strinic sidelined by heart problem|
|Kane happy to banish August goal hoodoo|
|Guingamp 1 Paris Saint-Germain 3: Mbappe returns to inspire comeback|
|Springboks´ second-half revival punishes Pumas|
|Finally! Kane scores a Premier League goal in August|
|Warnock enjoyed ´poetic justice´ of Kenedy´s penalty woe|
|Holders Eintracht Frankfurt stunned by Ulm in DFB-Pokal|
|West Ham 1 Bournemouth 2: Wilson, Cook condemn Hammers to successive losses|
|Tottenham 3 Fulham 1: Trippier and Kane help Spurs avoid Wembley wobble|
|Leicester City 2 Wolves 0: Lucky Foxes win despite Vardy red card|
|Everton 2 Southampton 1: Richarlison continues fine start|
|Drochtersen/Assel 0 Bayern Munich 1: Lewandowski spares Bayern´s blushes|
|Violent hack, no passes, missed penalty - Kenedy´s Cardiff nightmare|
|Ronaldo handed Juventus debut against Chievo|
|Cheika and Hooper frustrated by second-half slump|
|Hansen issues warning after All Blacks win Wallabies ´prizefight´|
|Stuttgart stay good for Pavard, says Reschke|
|You can´t buy class - United boss Mourinho blasts City documentary|
|Cardiff City 0 Newcastle United 0: Penalty miss rounds off abject day for Kenedy|
|Lopetegui open to rotating Real Madrid goalkeepers|
|´World´s best´ Alisson will be difficult to replace, says Roma boss Di Francesco|
|Dragons and Sharks pounce on Panthers after four get sin-binned|
|AC Milan situation has proved FFP works - UEFA president Ceferin|
|Marseille´s Garcia uninterested in striker despite Balotelli link|
|Goodhue sparkles on debut as All Blacks thump Wallabies|
|I feel like chicken tonight - Saunders game for a laugh after Wilder fowl play|
|Aubameyang-Lacazette partnership possible for Arsenal|
|Pant handed debut as India ring changes at Trent Bridge|
|Pochettino pledges to protect Kane|
|Federer relieved to ´hang tough´ in Cincinnati|
|De Bruyne injury: Can Foden or Diaz replace Man City playmaker?|
|Furyk confident as Team USA takes shape|
|Neymar´s behaviour deserves praise, Tite claims|
|Scherzer, Harper lead Nationals past Marlins|
|Djokovic and Federer join Cilic, Goffin in Cincinnati semis|
|Federer outlasts recovering Wawrinka|
|WATCH: Djokovic wins match, loses car|
|Bolt arrives in Sydney for A-League trial|