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.
|Marquez asks Mexico fans to ´let them rest´|
|Fabregas hopeful of Spain recall|
|Milinkovic-Savic plays down Juventus speculation|
|Rashford inspired by Ronaldo|
|Messi is not a leader, he is no Ronaldo, claims Petit|
|Better than Ballack? Hodgson backs Loftus-Cheek to shine against Panama|
|Svitolina and Garcia suffer upsets|
|Walker responds to Ferdinand criticism|
|Djokovic still hungry for more after reaching major milestone|
|Ellis drop goal earns Castleford dramatic win|
|Nigeria hero Musa unsure on Leicester City future|
|X marks the spot - Granit´s rocket sets World Cup first|
|Xhaka and Shaqiri follow the script as Serbia are derailed|
|Chandimal appeal against ban rejected|
|Real Madrid sign teenage goalkeeper Lunin|
|Serbia 1 Switzerland 2: Shaqiri strikes late to clinch crucial comeback victory|
|Suspended Srna joins Serie A side Cagliari|
|Cilic sets up Kyrgios showdown as Djokovic reaches milestone|
|Kudla up next in Federer´s Halle ´fight´|
|Assistant Farbrace to take charge of England for T20 games|
|Hummels hoping to be fit for Sweden clash|
|Hend surges clear as Fleetwood struggles again in Pulheim|
|Giant-killers Mexico embrace sudden weight of expectation|
|Roma complete €17.25m Kluivert deal|
|Pakistan name strong group for Zimbabwe tour|
|Choc Horror: Boullier insists McLaren do not hand out Freddos as bonuses|
|Neymar: Not everyone knows what I went through|
|Poland v Colombia: No time to dwell on regrets, warns Aguilar|
|Musa shows Messi how it´s done to set up critical Argentina showdown|
|Nigeria 2 Iceland 0: Musa brace boosts Super Eagles & Argentina|
|McLaren and Renault open to Ricciardo talks|
|We must win, we have no other choice - Maaloul|
|Germany will respond against Sweden, insists Low|
|´The best among all Asians´, South Korea trust in Son against Mexico|
|Stalin´s bunker an unlikely site for Russia´s World Cup charm offensive|
|England v Panama: Rashford tipped to start as Southgate´s side aim for last 16|
|Erasmus wary of ´wonderful´ Cipriani|
|Hummels to miss Germany-Sweden, confirms Low|
|Murray accepts Eastbourne wildcard|
|St Petersburg madness lines up Neymar and Brazil with heroes of the past|
|Martinez happy to be ´boring Belgium´|
|Japan v Senegal: Squeaky clean Group H rivals eyeing huge step towards last 16|
|Argentina team the worst in history - Ardiles|
|Ravanelli upsets wife by taking Arsenal job...in Kiev|
|Federer moves a step closer to 10th title in Halle|
|Brazil 2 Costa Rica 0: Coutinho and Neymar score in stoppage time to snatch win|
|Andersson: Sweden embracing big occasion as bug sweeps through team|
|LeBron in ´good dialogue´ with Cavaliers|
|Ronaldo will always be the best, Fonte claims|
|Southgate criticises press for England team leak|
|O´Mahony: Series win in Australia would be up there with Grand Slam|
|Khedira thrilled with Can capture, staying with Juventus|
|Samuel open to Higuain-Icardi swap deal|
|It´s just a game - Milligan disappointed by Kruse criticism|
|From drug-testing lab to gastro pub: Sochi happy not to forget dark past|
|Ronaldo will do what is best for him, says Carvajal|
|Kohli: India will feel at home in England|
|Barca target Lenglet yet to decide future|
|Germany perform best under pressure, Klose claims|
|Juanfran signs one-year Atletico Madrid extension|
|Julian Nagelsmann: The remarkable rise of RB Leipzig|
|Sterling: my daughter is Liverpool through and through!|
|Van Bommel to take charge of PSV|
|Hansen urges France not to ´squeal´ over decisions|
|Intelligent Jones will turn England´s fortunes around - Moody|
|Nainggolan confirms imminent Inter transfer|
|U.S. Open missed cut may be blessing in disguise - McIlroy|
|Schmidt in no rush to decide on his future|
|Wallabies treating decider as grand final - Hooper|
|Salah won´t leave World Cup, Egypt FA boss claims|