Jesse Lingard scored two first half goals before Jarrod Bowen netted after the break, with the Hammers in cruise control.
Despite two great Kelechi Iheanacho goals in the last 20 minutes, it wasn't enough for the Foxes to pick up any points.
This week, it was Leicester who fell victim to the Lingard show. The 28-year-old scored two goals in the first half, one a scorcher, the other a simple tap-in.
The Manchester United loanee is loving life in the capital. He has eight goals and three assists in just nine games since signing for the Claret and Blues in the January transfer window.
The attacking midfielder will certainly be in Gareth Southgate's England plans this summer, with his impeccable form which doesn't seem like it will slow down any time soon.
Setting the perfect example on how to bounce back from critics and setbacks over the last couple of seasons.
Despite the loss, Foxes fans will be somewhat happy that Iheanacho scored two more goals.
The Nigerian striker is becoming a real leader up front for Leicester, taking his tally to 14 for the season.
It's just what the East Midlands side have needed in recent seasons when Jamie Vardy goes missing.
Vardy is now has one goal in 18 games, arguably one of his toughest spells as a player at the club.
Pressure on for Leicester
With another loss, in one of the toughest and biggest games of the season this makes the run-in even more intense.
The Hammers are now breathing down their necks meaning every game is a cup final from now until the end of the season.
With the pressures of staying in the top four, to secure Champions League football for next season, Rodgers' men also have their sights set on the FA Cup. They face Southampton next weekend at Wembley, and if they win they'll go on to face either Man City or Chelsea.