Josh Gordon had given Leicester a first-half lead at Holmes Park but Rhian Brewster (pictured above) inspired a turnaround, the 17-year-old equalising after the interval before assisting Matty Virtue and Harry Wilson.
The defeat means Leicester remain a point above Derby County and Reading, the two clubs in the relegation zone.
See: Leicester report
Leicester next play at Reading on Monday 24 April, while Derby play Southampton this Friday.
Liverpool’s win boosts their faint hopes of catching second-placed Manchester City, whom they play next Monday.