The 28-year-old made the switch to San Siro in August 2011, and was a mainstay in the side that reached the UEFA Champions League last season after a late resurgence.
However, the Italy international has struggled to maintain a regular spot in Milan's starting XI this term, starting on just seven occasions in Serie A.
That has led to a temporary move to Sam Allardyce's side, who are desperate to bring in reinforcements as they seek to escape the Premier League relegation zone.
The Upton Park outfit currently sit 18th in England's top flight, having picked up just four wins from 22 matches thus far.
Nocerino could be joined at the London club by another Italy international in the form of Marco Borriello.
The forward has been strongly touted with a move to West Ham and said his goodbyes to Roma supporters on social networking site Twitter on Friday.
West Ham also had a bid rejected for Leeds United forward Ross McCormack on Friday.
Nocerino started his career at Juventus, where he enjoyed loan spells at Genoa, Messina and Piacenza, before making a permanent move to Palermo in 2008.
Get the best features, fun and footballing frolics straight to your inbox every week.
Thank you for signing up to Four Four Two. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.