The former Millwall and Wycombe player has hit two injury-hit seasons at Kenilworth Road after joining in the summer of 2021, but he has made an impact at sporadic junctures for the Hatters.
Onyedinma featured 21 times last term and was a late substitute in Luton’s play-off final victory over Coventry City at Wembley.
In his maiden season at the club, he made 31 appearances in all competitions, scoring three goals.