West Ham manager David Moyes said winning at Everton for the first time since he left the club was "special".
Tomas Soucek's late goal gave West Ham a 1-0 Premier League victory at Goodison Park.
"Always going back to your old clubs is special," said Moyes, who had lost on his previous four visits to Everton following his departure in 2013 after 11 years in charge.
"I had a brilliant time here - great years - but I want to do it again at West Ham and that means going and winning at the other clubs."
Aaron Cresswell's shot deflected off Everton defender Yerry Mina into the path of Soucek, who tapped home in the 85th minute of a largely uneventful game.
Everton, who had won their previous four league games, missed out on climbing to second in the table.
To say the first 85 minutes lacked creativity would be an understatement. Neither side were able to dominate going forward, with the first shot on target coming on the stroke of half-time.
Moyes and Everton manager Carlo Ancelotti have built their teams around defensive stability.
Soucek's goal was only the second Everton have conceded in five league games, while West Ham have now kept two consecutive clean sheets.
"Coming here tonight and winning was really important," Moyes said.
"Everton are in a great moment, have been playing well, getting great results and had a chance to go second, so you couldn't underestimate what it would mean to Everton. And we were on the back of our third game in six days."
West Ham had the pick of the chances, Cresswell forcing Jordan Pickford into a smart save and Michail Antonio having a drilled effort kept out in the second half.
They also proved difficult to break down and were playing the better football when midfielder Soucek, their leading scorer this season, netted his fifth goal of the campaign.
Although West Ham picked up a third away victory in five games, there were areas of concern for Moyes.
Right-back Ryan Fredericks dropped out of the squad after testing positive for Covid-19, while goalkeeper Lukasz Fabianski was injured during the warm-up.
"Ryan is fine," said Moyes. "We are going to make sure we give the players four days off so they can have some time and we make sure we shut the training ground down for a few days because it is very bad, Covid, at the moment.
"The only reason is so we can get another clean and keep people out."
Back-up keeper Randolph was rarely tested by Everton, who brought on Colombia forward James Rodriguez in the second half for his first appearance since 5 December.
Everton remain fourth in the table, while West Ham stay 10th.
Everton manager Carlo Ancelotti told BBC Sport: "The game was in the balance. We didn't have a lot of opportunities; they didn't have a lot of opportunities.
"We have to accept the result. It will be important to keep our belief high.
"We are more comfortable defending and using the counter-attack. When we have the ball we have more difficulties and we have to adjust this.
"We are in the position we would like to be and hopefully we can be there at the end of the season. That is our target."
BBC
Russia's unmanned Luna-25 spacecraft has crashed into the Moon after spinning out of control, officials say.
Donald Trump has confirmed that he will not take part in Republican presidential debates with his rivals in the race for the White House.