The 19-year-old joined on a season-long loan in August, but a lack of time on the field means it is in everyone's best interests that he returns to east London.
The Irish striker made just six substitute appearances for the Terriers, all from the bench. Four of them were in September and only two were for more than 15 minutes. His final (and longest) appearance came as a 55th-minute substitute at Barnsley in early December.
Coach Carlos Corberan has always spoken well of the youngster but Danny Ward has proven much more durable this season, appearing in 23 of 26 Championship matches this season, and scoring seven times. Fraizer Campbell has also struggled for game-time as a result.
Jordan Rhodes has recovered from the back injury which kept him out for more than two months.
And at Blackburn Rovers on Sunday, when Ward was ill (but not with coronavirus), the Terriers went without any of them, playing Josh Koroma at the head of the attack.
It may be, therefore, that Town do not look to bring in a replacement for Odubeko.
With Pipa also making his comeback after injury over Christmas and Jonathan Hogg expected to return reasonably soon, they are in good shape, and are expected to loan out a few of their youngsters for more experience.
Having not played for West Ham this season, he is free to go back out on loan to another club, perhaps lower down the pyramid.