Newcastle left it late, but Bruno Guimarães' 94th-minute diving header gave them a fifth successive home victory on Sunday.
The Brazil international had already equalised for United in the first half after Ademola Lookman had given Leicester the lead, but the game was heading for a draw when Matt Targett played the ball down the line to substitute Joe Willock in the dying seconds.
He left Youri Tielemans trailing in his wake and advanced into the box before his cross took a deflection and looped into the air, with Guimarães arriving from nowhere to head home and spark bedlam amongst another sold-out crowd at St. James' Park.
Club photographer Serena Taylor brought nufc.co.uk this gallery.
1 / 70
Credit: (c) Newcastle United
2 / 70
Credit: (c) Newcastle United
3 / 70
Credit: (c) Newcastle United
4 / 70
Credit: (c) Newcastle United
5 / 70
Credit: (c) Newcastle United
6 / 70
Credit: (c) Newcastle United
7 / 70
Credit: (c) Newcastle United
8 / 70
Credit: (c) Newcastle United
9 / 70
Credit: (c) Newcastle United
10 / 70
Credit: (c) Newcastle United
11 / 70
Credit: (c) Newcastle United
12 / 70
Credit: (c) Newcastle United
13 / 70
Credit: (c) Newcastle United
14 / 70
Credit: (c) Newcastle United
15 / 70
Credit: (c) Newcastle United
16 / 70
Credit: (c) Newcastle United
17 / 70
Credit: (c) Newcastle United
18 / 70
Credit: (c) Newcastle United
19 / 70
Credit: (c) Newcastle United
20 / 70
Credit: (c) Newcastle United
21 / 70
Credit: (c) Newcastle United
22 / 70
Credit: (c) Newcastle United
23 / 70
Credit: (c) Newcastle United
24 / 70
Credit: (c) Newcastle United
25 / 70
Credit: (c) Newcastle United
26 / 70
Credit: (c) Newcastle United
27 / 70
Credit: (c) Newcastle United
28 / 70
Credit: (c) Newcastle United
29 / 70
Credit: (c) Newcastle United
30 / 70
Credit: (c) Newcastle United
31 / 70
Credit: (c) Newcastle United
32 / 70
Credit: (c) Newcastle United
33 / 70
Credit: (c) Newcastle United
34 / 70
Credit: (c) Newcastle United
35 / 70
Credit: (c) Newcastle United
36 / 70
Credit: (c) Newcastle United
37 / 70
Credit: (c) Newcastle United
38 / 70
Credit: (c) Newcastle United
39 / 70
Credit: (c) Newcastle United
40 / 70
Credit: (c) Newcastle United
41 / 70
Credit: (c) Newcastle United
42 / 70
Credit: (c) Newcastle United
43 / 70
Credit: (c) Newcastle United
44 / 70
Credit: (c) Newcastle United
45 / 70
Credit: (c) Newcastle United
46 / 70
Credit: (c) Newcastle United
47 / 70
Credit: (c) Newcastle United
48 / 70
Credit: (c) Newcastle United
49 / 70
Credit: (c) Newcastle United
50 / 70
Credit: (c) Newcastle United
51 / 70
Credit: (c) Newcastle United
52 / 70
Credit: (c) Newcastle United
53 / 70
Credit: (c) Newcastle United
54 / 70
Credit: (c) Newcastle United
55 / 70
Credit: (c) Newcastle United
56 / 70
Credit: (c) Newcastle United
57 / 70
Credit: (c) Newcastle United
58 / 70
Credit: (c) Newcastle United
59 / 70
Credit: (c) Newcastle United
60 / 70
Credit: (c) Newcastle United
61 / 70
Credit: (c) Newcastle United
62 / 70
Credit: (c) Newcastle United
63 / 70
Credit: (c) Newcastle United
64 / 70
Credit: (c) Newcastle United
65 / 70
Credit: (c) Newcastle United
66 / 70
Credit: (c) Newcastle United
67 / 70
Credit: (c) Newcastle United
68 / 70
Credit: (c) Newcastle United
69 / 70
Credit: (c) Newcastle United
70 / 70
Credit: (c) Newcastle United