This problem involved many factors, including society, economy, culture and so on. First of all, the online game market had become more and more mature, and various types of games were emerging one after another to meet the needs of players of different ages. In addition, many parents were also worried about their children's addiction to online games, so they took various measures to limit their children's game time. Secondly, online games can bring great pleasure and excitement to meet the psychological needs of middle school students. Especially in the current era of social media and online games, online games have become an indispensable part of people's lives, and many middle school students have developed a strong interest in them. Lastly, the addictive nature of online games was also an important factor. Many middle school students tend to neglect their studies, family, and other important things when they are addicted to online games, which may even affect their health. Therefore, parents and education workers need to pay attention to their children's online game usage and give appropriate guidance and help. In summary, the addiction of middle school students to online games was the result of a combination of factors. We need to recognize the seriousness of this problem and take appropriate measures to help children overcome their addiction to online games.