Sexual activity among young American men has declined sharply since 2000, with nearly a third reporting no sex with a partner in the prior year, according to a survey study published on Friday that suggests social media and electronic gaming might be filling the void.

The trend is concerning as sexual relationships are important for well-being and health, researchers note.

The survey found that from 2000 to 2018, nearly one in three U.S. men aged 18 to 24 reported no sexual activity in the past year. Sexual inactivity was also on the rise among men and women aged 25 to 34 years during the survey period, the report in the journal JAMA Network Open found.