Islam Slimani's superb strike helped Leicester see off a wasteful Liverpool at the King Power Stadium to reach the fourth round of the Carabao Cup.
The Algeria striker fired left-footed into the top corner after substitute Shinji Okazaki had put the Foxes ahead.
That came after Liverpool had dominated a first half in which Philippe Coutinho shone before being replaced.
Okazaki's arrival sparked the Foxes into life and he latched on to Vicente Iborra's knock down for the opener.
Summer signings Alex Oxlade-Chamberlain and Dominic Solanke both missed good opportunities for the visitors, who named a much-changed side.