Youngsters who spend too much time staring at televisions and computers may be more depressed than those who abstain completely, but kids who enjoy screen time in moderation may be the happiest of all, a recent analysis suggests.

Many pediatricians recommend that parents limit screen time to less than two hours a day because excessive use of television, computers and mobile devices is linked to obesity and other health problems and is also thought to impair cognitive development.

In the new study, researchers analyzed data from earlier studies involving more than 125,000 participants and found evidence that limiting screen time makes sense for children and young teens. Youth who spent at least five hours a day staring at screens were 80 percent more likely to be depressed than their peers who spent no time in front of screens.

There was, however, little difference in depression risk between children who didn’t have any screen time and those who got about two hours a day.

And the connection between screen time and depression was only statistically meaningful for children younger than 14, the study found. Screen time didn’t appear connected to depression in older teens.

Overall, in smaller doses, screen time appeared to be a good thing. Compared with children who had no screen time at all, those who got a half-hour daily were 8 percent less likely to be depressed, and kids allowed an hour a day had 12 percent lower odds.

“The finding of the lower depression risk with a relatively low quantity of screen time may suggest that exposure to screen/media, when in moderation, can have potentially positive impacts on adolescents’ mental health,” said senior study author Yao Shuqiao of the Medical Psychological Institute, Second Xiangya Hospital of Central South University in Hunan, China.

Longer screen time may mean fewer hours in the day for more productive or active endeavors, whether exercise or interacting with friends, and may negatively affect physical and mental health, Shuqiao added by e-mail.

“We suggest that parents may consider limiting their children’s screen time to under two hours a day, preferably about one hour,” Shuqiao said.

It’s also possible that the type of screen time matters, said Larry Rosen, a professor emeritus at California State University at Dominguez Hills, who wasn’t involved in the study.

While passive activities such as watching television may be linked to a greater depression risk, active pursuits such as texting on mobile phones or chatting on social media don’t necessarily carry the same risk, Rosen said by e-mail.

It’s not surprising that the teens who had only moderate amounts of screen time had a lower risk of depression, said Gary Goldfield, a psychology researcher at the University of Ottawa, who wasn’t involved in the study.

“People with such low levels of screen time are probably engaged in many other activities, such as organized sport, dance, music or other hobbies that involve interpersonal interaction, which may protect them from depression,” Goldfield said by e-mail.

— Reuters