The news comes after reports emerged on Monday that the Hammers have agreed terms with former Wolverhampton Wanderers, Real Madrid and Sevilla boss Julen Lopetegui to succeed Moyes ahead of the 2024-25 campaign.
Moyes will take charge of West Ham's final two Premier League fixtures at home against Luton Town and away against Manchester City before departing the Hammers after four-and-a-half years at the helm.
During his time as West Ham boss, Moyes has secured two top-seven Premier League finishes, reached the quarter-finals and semi-finals of the Europa League and most notably led the club to Europa Conference League glory last season, with a 2-1 victory over Fiorentina in the final securing the Hammers' first European trophy for 58 years.
However, the 61-year-old has come under increasing pressure since the turn of the year after a poor run of results, with West Ham winning just four of their 23 games across all competitions in 2024.
West Ham suffered their 13th Premier League defeat of the season last weekend when they were thrashed 5-0 at London rival Chelsea, leaving them ninth in the table and five points behind the top seven with only two matches left to play.
Moyes revealed in February that West Ham had offered him a new contract, but he intended to make a final decision on his future towards the end of the current campaign.
The Hammers have now announced that Moyes «will leave the club by mutual consent» when his contract expires in June and the recruitment process for his successor has begun, although «the club will be making no further comment until a new appointment is confirmed.»
Da Read on sportsmole.co.uk