Match ends, Manchester City 2, West Ham United 1.
Manchester City midfield pair Ilkay Gundogan and Fernandino were on target as Pep Guardiola's Premier League superiority over West Ham continued.
City have now won 10 of 11 top-flight meetings with the Hammers under the Spaniard.
In a game played in a snow-storm before half-time, skipper Gundogan provided the decisive moment after 33 minutes when he turned home a deflected Riyad Mahrez effort at the far-post.
It was the Germany midfielder's third goal of the season - and his second in four league games - and was followed up in the final minute by Fernandinho, who had only been introduced three minutes earlier to tie the game up.
The veteran Brazilian had not scored a Premier League goal since October 2018 but found the target from the edge of the box.
Manuel Lanzini pulled one back with the final kick of the game, which cost Ederson his 100th clean sheet in all competitions but did nothing to prevent City moving back into second spot, six points clear of the Hammers.
The Londoners remain fourth despite suffering successive Premier League defeats for the first time since April.
Man City boss Pep Guardiola, said: "The amount of chances we created, especially in the first half, in the conditions that both teams played in - it was a huge victory for us, for the effort of the players and the performance.
"We didn't concede much. We defended the set-pieces really well and counter-attacks we controlled.
"We could maybe make another speed, another rhythm but weather conditions didn't allow us to do it and it was a good performance from us."
Weather main threat to City win
Guardiola offered special thanks to head groundsman Lee Jackson and his team for this latest victory.
As half-time approached with heavy snow falling on a pitch already covered in it, there was a real fear the game might not reach its conclusion.
Yet Jackson and his colleagues got to work and with the aid of a half-time interval extended by referee Michael Oliver by five minutes, and the surface was clear again when the game restarted, by which time the snow had stopped.
Guardiola said: "I think the groundkeepers, the men who took care of the pitch, were the men of the match. They did an incredible job so we could play the game today."
Jackson's reward was an effective home display, even if it was some way short of show-stopper.
West Ham keeper Lukasz Fabianski denied Gundogan a second and Bernardo Silva's excellent chipped finish counted for nothing thanks to an offside flag.
And Ederson, whose only significant save was turning away a fierce Declan Rice shot, was denied his personal milestone with a goal out of virtually nothing from Lanzini, when West Ham had no time to even think about an equaliser.
Despite losing 22 out of 25 previous away games against the defending champions, West Ham can rarely have gone into such a fixture in more optimistic mood.
Yet they never really got going.
Fabianski was booed by the City fans inside the opening 10 minutes for apparent time-wasting and the experienced Poland goalkeeper was soon earning the wrath of David Moyes for a fluffed clearance that would have resulted in a goal had Mahrez not been offside when Raheem Sterling's block landed at his feet.
Arthur Masuaku's selection ahead of Jarrod Bowen was supposed to provide more protection down the West Ham left flank but City's array of attacking talent just found spaces elsewhere.
Ben Johnson's goalline clearance to deny Mahrez, who also hit the outside of the post, before half-time was followed up by Aaron Cresswell bravely sliding in to turn Gabriel Jesus' goal-bound effort away for a corner. It was effectively Cresswell's final contribution as he continued into the post with such force he needed to be replaced by Vladimir Coufal after hurting his back.
It made no fundamental difference to the flow of the game and West Ham will be thankful for the failings of others that their position in the table remains as it was.
Manchester City's next Premier League game is at Aston Villa on Wednesday, 1 December (20:15 GMT). West Ham entertain Brighton at London Stadium on the same day (19:30 GMT).
- Follow live text coverage of Sunday's Premier League action
- Go to the Man City page
- Go to the West Ham page
- 3Rúben Dias
- 14LaporteBooked at 29mins
- 27CanceloBooked at 61mins
- 20Bernardo Silva
- 9Gabriel Jesus
- 7SterlingSubstituted forFernandinhoat 87'minutes
- 3CresswellSubstituted forCoufalat 61'minutes
- 22BenrahmaSubstituted forLanziniat 59'minutes
- 26MasuakuSubstituted forBowenat 74'minutes
- Michael Oliver
- Shots on Target
Second Half ends, Manchester City 2, West Ham United 1.
Goal! Manchester City 2, West Ham United 1. Manuel Lanzini (West Ham United) right footed shot from outside the box to the top left corner.
Attempt missed. Tomas Soucek (West Ham United) header from the right side of the box misses to the right. Assisted by Vladimir Coufal.
Foul by Gabriel Jesus (Manchester City).
Jarrod Bowen (West Ham United) wins a free kick on the right wing.
Offside, Manchester City. Fernandinho tries a through ball, but Bernardo Silva is caught offside.
Goal! Manchester City 2, West Ham United 0. Fernandinho (Manchester City) right footed shot from the centre of the box to the bottom left corner. Assisted by Ilkay Gündogan.
Corner, Manchester City. Conceded by Ben Johnson.
Substitution, Manchester City. Fernandinho replaces Raheem Sterling.
Corner, West Ham United. Conceded by João Cancelo.
Kyle Walker (Manchester City) wins a free kick in the defensive half.
Foul by Manuel Lanzini (West Ham United).
Attempt blocked. Rúben Dias (Manchester City) header from the centre of the box is blocked. Assisted by Riyad Mahrez with a cross.
Corner, Manchester City. Conceded by Pablo Fornals.
Attempt saved. Ilkay Gündogan (Manchester City) left footed shot from the left side of the box is saved in the centre of the goal. Assisted by Raheem Sterling.
Attempt saved. Declan Rice (West Ham United) right footed shot from outside the box is saved in the bottom right corner. Assisted by Pablo Fornals.
Foul by Rúben Dias (Manchester City).
Michail Antonio (West Ham United) wins a free kick on the left wing.
João Cancelo (Manchester City) wins a free kick in the defensive half.
- Our coverage of your Premier League club is bigger and better than ever before - here's everything you need to know to make sure you never miss a moment