Dominic Calvert-Lewin’s piece of brilliance ensured Everton secured a vital Premier League victory in their first game since the death of chairman Bill Kenwright.
On a poignant day for the Merseyside club, striker Calvert-Lewin turned his marker with a clever flick before firing low into the bottom corner.
Calvert-Lewin had described Kenwright, who died last Monday aged 78, as a “great man”; the striker was the difference maker as Everton became only the fourth team to beat West Ham at home this year.
However, the Toffees needed keeper Jordan Pickford to be alert in stoppage time in order to clinch victory.
The England international barely had a save to make before beating away a fierce volley from Hammers substitute Said Benhrama.
Everton move five points clear of the relegation zone as result, although they remain fifth from bottom in the table.
West Ham, who stay ninth, have won just one of their past six Premier League games as their strong start to the season continues to fade.