Georginio Wijnaldum hit Norwich for four as Newcastle finally ended their wait for a Barclays Premier League victory at the ninth attempt.
The Dutchman scored twice before the break and added two more as the Magpies survived a major test of their resolve to survive a concerted fightback by the visitors before running out 6-2 winners.
Steve McClaren's men led 1-0, 2-1 and 3-1 thanks to Wijnaldum's early double and Ayoze Perez's effort, but Dieumerci Mbokani and Nathan Redmond ensured the Canaries went in at the break trailing by just the odd goal in five.
But in a wide-open game, Aleksandar Mitrovic's first goal at St James' Park and Wijnaldum's third and fourth of the day lifted the home side from the foot of the table and set them up perfectly for next weekend's derby trip to fellow strugglers Sunderland.
As he welcomed his players back to the dressing room at the break, McClaren's emotions will have been decidedly mixed after 45 minutes which had seen them play some wonderful, incisive football and also twice gift Norwich a way back into the game.
Much has been made of the Magpies' summer recruitment drive in the wake of their poor start, but Wijnaldum once again demonstrated his class in tandem with the infuriatingly enigmatic Moussa Sissoko.
At his best, the Frenchman is a menace when he runs at defenders and powers his way towards the penalty area, and that quality was much in evidence before the break.
Unfortunately for him, so too was his capacity to switch off when not on the ball - and he was not alone - and that helped to keep the visitors in touch.
Newcastle took a 14th-minute lead when after a one-two between Sissoko and Mitrovic had not come off, the France international calmly shifted the ball before sliding it into the path of Wijnaldum, who finished with aplomb.
The lead lasted just six minutes when Sissoko's absence allowed Robbie Brady, who had earlier rattled a post from distance, to find Martin Olsson down the left and his inviting cross was touched home by Mbokani.
However, Wijnaldum struck once again to head Sissoko's 26th-minute cross past goalkeeper John Ruddy, and when Ayoze Perez beat Ruddy from close range after Olsson had blocked his initial effort, the Magpies looked to be well on their way with 12 minutes of the first half remaining.
But Norwich grabbed a second lifeline within seconds when not only was Olsson allowed time and space on the left to cross, but Redmond was similarly unchallenged as he volleyed home from beyond the far post.
City boss Alex Neil saw his side lay siege to the Newcastle goal during the opening stages of the second half, but their task became more difficult with 64 minutes gone.
Sissoko floated the ball into Mitrovic's run and the Serbia international controlled with his chest before smashing a left-foot volley past the helpless Ruddy, whose afternoon took a further turn for the worse two minutes later.
Sissoko and Wijnaldum combined to allow Daryl Janmaat to cross and Wijnaldum timed his run to perfection to complete his hat-trick with a close-range header, and although Redmond struck the upright, the Holland international's 85th-minute shot deflected into the top corner to round off a good day for his team.
TWEET OF THE MATCH
Yesssssss 3 points well done boys Amazing 4 goals from Gini hopefully 1st of many more Hattricks to come! #GINI #6-2
Tim Krul @TimKrul
Rob Elliot: 5
Daryl Janmaat: 5
Chancel Mbemba: 7
Fabricio Coloccini: 6
Paul Dummett: 6
Cheick Tiote: 5
Jack Colback: 6
Ayoze Perez: 7
Moussa Sissoko: 8
Georginio Wijnaldum: 9
Aleksandar Mitrovic: 7
Vurnon Anita: 7
Massadio Haidara: 6
Papiss Cisse: 6
John Ruddy: 5
Steven Whittaker: 5
Russell Martin: 6
Sebastien Bassong: 6
Martin Olsson: 6
Alex Tettey: 6
Nathan Redmond: 8
Jonny Howson: 7
Graham Dorrans: 7
Robbie Brady: 7
Dieumerci Mbokani: 7
Wes Hoolahan: 6
Gary O'Neil: 6
Cameron Jerome: 6
Georginio Wijnaldum capped a fine individual display with four goals on an afternoon when his tireless running and ability to time his runs into the box paid huge dividends.
MOMENT OF THE MATCH
While Wijnaldum took all four of his goals with aplomb, Aleksandar Mitrovic essentially killed off Norwich's hopes of a fightback, the Serbian smashing a wonderful left-foot volley past Canaries goalkeeper John Ruddy.
VIEW FROM THE BENCH
Both Steve McClaren and Alex Neil will have been delighted with what their teams did going forward, but defensively, there is room - and significant room - for improvement.
MOAN OF THE MATCH
Newcastle's inability to deliver a corner, with Jack Colback and and Ayoze Perez repeatedly guilty of serving the ball up on a plate for Ruddy, unlike Robbie Brady and Nathan Redmond, who repeatedly put the Magpies under pressure from set-pieces.
WHO'S UP NEXT
Sunderland v Newcastle (Barclays Premier League, Sunday 25 October)
Norwich v West Brom (Barclays Premier League, Saturday 24 October)