Milan signed Okafor for €13m (£11m/$15m) from RB Salzburg in 2023, but the Swiss forward was unable to break into the starting XI ahead of Christian Pulisic and Rafael Leao. In January 2025, German club RB Leipzig moved to sign him, but a failed medical saw the transfer collapse. He was then loaned to Napoli as a replacement for Khvicha Kvaratskhelia, but after failing to impress there as well, he returned to San Siro.