In this paper, we construct an online game addiction model(including susceptible, infective, professional and quitting compartments). We also consider that the direct transfer from the susceptible individuals to the professional individuals. Some properties of the model are derived by the basic repro- duction number R0 and stability of all kinds of equilibria is obtained. Then we use Pontriagin’s maximum principle to solve the optimal control strategy. Finally, Numerical simulations are also conducted in the analytic results.