Jay Rodriguez’s winner edged Burnley closer to a Europa League spot as relegation-threatened West Ham were left to rue a host of missed chances.
The forward met Charlie Taylor’s whipped delivery with a flicked header that looped over Lukasz Fabianski and dropped in off the crossbar.
It came after a string of fine saves from Clarets goalkeeper Nick Pope.
Michail Antonio also struck a post and Pope then turned substitute Sebastien Haller’s effort wide with his studs.
It was a glorious chance with his first touch of the game for West Ham’s record signing, who came off the bench after returning from a hip injury.
Chris Wood thought he had added a second for the visitors with 14 minutes to go when he tapped in Phil Bardsley’s low cross, but was ruled offside.
The win takes Sean Dyche’s side to within one point of eighth-placed Arsenal, while the Hammers remain four points above the relegation zone.
More to follow.