The Foxes weathered a late Cottagers surge to triumph in a seven-goal thriller at the King Power Stadium and pile further pressure on Martin Jol.
Lloyd Dyer's scored late to give Leicester a 4-3 win over Fulham in the Capital One Cup and heap more misery on under-fire Martin Jol.
Fulham struck first through Hugo Rodallega's close-range strike but two goals in the last four minutes of the first half from Wes Morgan and Chris Wood put Leicester in the ascendancy.
Ignasi Miquel's first Leicester goal gave his side breathing space but Rodallega's header reduced the deficit within a minute.
Giorgos Karagounis' stunning free kick looked to have forced extra time but Dyer's late intervention gave Leicester its eighth straight home win in all competitions and a place in the fifth round for the first time since 2000.
The result will put more pressure on Jol, whose side languishes in the bottom half of the Premier League with fixtures against Manchester United and Liverpool to come.
Jol made wholesale changes to the side beaten by Southampton at the weekend, with just Maarten Stekelenburg and Philippe Senderos retained.
After a tentative opening, it was the Premier League side that showed its class after 18 minutes to take the lead.
John Arne Riise burst down the left and his cross was cleverly dummied by Adel Taarabt for Rodallega, who sprung the offside trap and tapped home his second of the season.
Leicester went into the game with the best home record in the Championship and showed its intent after 35 minutes when Anthony Knockaert's fierce drive was spilled by Stekelenburg, who made amends by blocking the Frenchman's follow-up, while Paul Konchesky could only volley the rebound over from a tight angle.
And it got a deserved equalizer four minutes from the break as center back Morgan showed predatory instincts to nod home his first of the campaign after Stekelenburg spilled Knockaert's free kick.
Fulham was clearly rattled and pressed the self-destruct button on the stroke of halftime as Senderos hit a clearance straight against Konchesky and Wood was on hand to slide in at the near post.
The game swung one way and the other within 46 seconds. First, Leicester grabbed a third in the 51st minute when Drinkwater's near-post cross was converted by Miquel's bullet header but Fulham went straight up the other end and netted when Elsad Zverotic's deep cross was powered home by the head of Rodallega.
The game continued at a break-neck pace with Derek Boateng narrowly heading wide, Wood forcing a fine stop from Stekelenburg and Bryan Ruiz going close, only to be denied from point-blank range by Kasper Schmeichel.
Fulham continued to press and was rewarded four minutes from time through a Karagounis free kick that found Schmeichel's top corner.
But just when extra time looked a certainty, substitutes David Nugent and Dyer combined for the latter to slide in and provide a fourth-round giant killing.