An action-packed encounter at Anfield was settled when Sadio Mane netted in the 81st minute to restore the Reds' 22-point advantage at the top of the table.
Here are five talking points from the match...
Reds fight back
When Pablo Fornals put West Ham 2-1 up in the second period, Liverpool's response was perfect.
Jürgen Klopp's men merely hammered the door down searching for a route back into the game as they looked to avoid their first home defeat in the league since April 2017.
Mohamed Salah's 68th-minute finish levelled proceedings before Mane was in position to convert from close range to claim victory for the league leaders.