Harry Kane fired the 89th minute face-saving penalty that earned Tottenham Hotspur a last gasp draw against Leicester City.
Spurs' top scorer came off the bench to keep his side in The Emirates FA Cup fourth round draw just when it seemed Shinji Okazaki's 48th minute strike had settled things for the Foxes.
But Kane hammered home from the spot after Nathan Dyer was adjudged to have handled a ball whilst trying to tackle Danny Rose, which means the Premier League rivals will meet again at the King Power Stadium.
Tottenham Hotspur 2-2 Leicester City
The Emirates FA Cup
Third Round Proper
4pm, Sunday 10 January 2016
White Hart Lane, Tottenham Hotspur
Live on BBC 1
In the 48th minute, have-a-go-hero Okazaki himself jumped off the bench and it looked for long periods as though he'd given Leicester's amazing season another fantastic boost.
His dramatic half-time entrance virtually stopped Tottenham in their tracks but ultimately he wasn't able to push the visitors through. As it is, the teams must replay a week on Tuesday - eight days after they meet in the Premier League.
Leicester, making eight changes, had enjoyed decent possession but seemed reluctant to fire at goal - until Okazaki took hold of things.
The weaving, bobbing Japanese had only been on the field three minutes when he made his mark. He needed two bites at the cherry before lashing home. But what an impact.
First, Okazaki bundled his way into the area, scattering defenders this way and that, and unleashed a low drive that Michel Vorm couldn't hold. But the rebound fell straight to him and this time he made no mistake.
Spurs had started the game at a gallop and got an early reward inside nine minutes when Christian Eriksen fired them ahead from 20 yards with a fierce daisy-cutter past Kasper Schmeichel.
The Leicester keeper had parried a terrific drive from Nacer Chadli and instantly regretted his inability to hold on as Eriksen polished off a slick move, started by the impressive Josh Onomah.
Despite Tottenham's superiority, the Foxes proved they had a trick in their tail by responding just ten minutes later as debutant Demarai Gray's corner from the right was met with a towering and powerful Marcin Wasilewski header that left home Vorm with no chance.
Schmeichel, punching again, then kept out a solid drive from Eriksen who had another shot saved by the busy City stopper.
And Eric Dier fired over - from another Schemeichel punch - as the Engand man also tested the visitor's goal just before the break.
Excellent midfield link-up play by Heunug-Min Son and Chadli punctuated Spurs' promising approach play, but Leicester struggled to get Gray and fellow playmaker N'Golo Kante on the ball where it really mattered.
But they almost caught Tottenham on the hop in the 33rd minute when Andy King, seeing Vorm off his line, took aim from 30 yards only for the keeper to recover his ground.
In the second half, Chadli rose beautifully but ineffectively, to send a soaring header over and Gray, coming into his own, almost scored in his last piece of the action before being subbed by Marc Albrighton.
Late on, Alli blazed over but worried Tottenham fans were rescued once again by local boy Kane.
Tottenham Hotspur: 13 Michel Vorm, 3 Danny Rose, 4 Toby Alderweireld, 7 Heung-Min Son, 15 Eric Dier, 16 Kieran Trippier, 22 Nacer Chadli, 23 Christian Eriksen, 25 Josh Onomah, 27 Kevin Wimmer, 28 Tom Carroll.
Substitutes: 10 Harry Kane for Carroll 68, 6 Nabil Bentaleb for Dier 68, 20 Dele Ali for Chadli, 74
Subs not used: 1 Hugo Loris, 11 Erik Lamela, 29 Harry Winks, 33 Ben Davies.
Goals: Eriksen (9), Kane )pen, 89)
Leicester City: 1 Kasper Schmeichel, 2 Ritchie De Laet, 10 Andy King, 14 N'Golo Kante, 22 Demarai Gray, 9 Leonardo Illoa, 24 Nathan Dyer, 27 Marcin Wasilewski, 29 Yohan Benalouane, 30 Ben Chilwell, 33 Gokhan Inler.
Substitutes: 20 Shinji Okazaki or Kante 46, 11 Marc Albrighton for Gray 65
Subs not used: 32 Mark Schwarzer, 4 Danny Drinkwater, 5 Wes Morgan, 17 Danny Simpson, 26 Riyad Mahrez.
Goals: Wasilewski (19), Okazaki (48)
Referee: Mr Robert Madley
Emirates FA Cup highlights: Tottenham Hotspur 2-2 Leicester City