The Hammers failed to find a buyer for £36m flop Anderson but he will now complete a loan switch to Porto, pending a medical.
A club-record buy when the Hammers signed him from Lazio in 2018, Brazil forward Anderson is no longer in the club’s plans.
The 27-year-old is one of the club’s highest earners but is yet to start a Premier League game this season and will now try to resurrect his career in Portugal.
And West Ham will now turn their attention to recruitment after a disappointing Deadline Day which failed to produce the centre-back manager David Moyes wanted.
The Hammers had a loan deal for Chelsea’s Fikayo Tomori agreed until the player got cold feet and pulled out at the last minute.
And Moyes is now shopping in the Championship for an alternative.
Watford’s Craig Dawson and Steve Cook of Bournemouth are among several options being explored.
Get the latest transfer news straight into your inbox!
Want to be on the ball with all of the latest football news?
Well then sign up for the brilliant new Daily Star Sport email newsletter!
From the latest transfer news to the agenda-setting stories, get it all in your email inbox.
How do you sign up?
It only takes a matter of seconds.
Simply type your email address into the box at the top of this article and hit 'subscribe'.
And that's it, job done. You'll receive an email with all of the top news stories every single morning.
You can find out more information on our email newsletter on this link here.
Moyes also wants a left-back and a midfielder but has a limited budget of around £30m to complete his squad.
Moyes wants to target young, hungry, homegrown players in those two positions after a disappointing window so far.
West Ham also have a long-standing interest in Brentford winger Said Benrahma but he would eat up most of their budget.