Midfielder Hajime Hosogai signed a two-year contract with VfB Stuttgart after three years with Hertha BSC, the German second-division club said Monday.