Scientists have discovered what factors are linked to teenagers viewing pornography

  1. Home
  2. Science
  3. Scientists have discovered what factors are linked to teenagers viewing pornography
An adult’s hands hold a smartphone with a blank white screen above a table, with notebooks and a laptop nearby.
21:00, 17.10.2026

Spanish researchers compared data from 33,543 schoolchildren and identified the factors associated with viewing pornography. The correlations found do not prove a cause-and-effect relationship.



Gender, difficulties in managing time spent online, alcohol and cannabis use, as well as family conflicts, are linked to whether teenagers report viewing pornography. This was the finding of researchers at the Spanish University of Rovira i Virgili, who analysed questionnaires completed by 33,543 school pupils. The study was published in the journal Computation.

The most significant variable in the statistical models was gender: boys were more likely to report viewing such content than girls. However, the study does not prove that internet habits, family conflicts or substance use are the causes of this behaviour.

Details

What exactly was studied

The authors used data from the 2023 ESTUDES, a nationwide Spanish school survey. The initial sample comprised 42,208 pupils, predominantly aged 14–18; it also included a small number of 19-year-old pupils. After excluding questionnaires with missing responses, 33,543 individuals remained for the main analysis.

Participants answered anonymously whether they had viewed pornography in the past 30 days. A total of 14,287 respondents answered in the affirmative — 42.59 per cent of the final analytical sample. This figure relates specifically to the questionnaires included in the analysis, and is not an estimate of the proportion among all adolescents in Spain or other countries.

The researchers examined the associations between the response and gender, age, internet behaviour, family relationships, parental control, substance use, certain indicators of psychological well-being, and sexual behaviour. The data were analysed using standard logistic regression and three machine learning models: XGBoost, LightGBM and CatBoost. The SHAP method helped to assess the contribution of individual variables to the prediction.

Which associations proved to be the most significant

Gender ranked first in terms of significance for the prediction, followed by problematic internet use. By this term, the authors meant, in particular, difficulties in stopping online activity, cutting back on sleep to spend time online, neglecting responsibilities, or using the internet to escape unpleasant experiences. This is not equivalent to a clinical diagnosis of internet addiction.

Cannabis and alcohol use, family conflicts and certain risky sexual practices also showed a significant statistical association with viewing pornography. Age was a factor, but was less significant than the leading variables. After controlling for other characteristics, indicators of parental supervision made a comparatively small additional contribution to the prediction. It cannot be concluded from this that parental involvement is useless: the study did not test the effectiveness of specific parenting approaches.

When the groups were analysed separately, the importance of the predictors differed: among boys, alcohol proved to be the most significant factor, whilst among girls it was problematic internet use. These are statistical characteristics of the sample studied, rather than characteristics of each individual adolescent.

Three machine learning algorithms and ordinary regression yielded similar results. For example, models using more complex algorithms performed better on some accuracy metrics, whilst regression performed better on others. The authors do not believe that artificial intelligence automatically replaces traditional statistical methods in this context.

Why this is important

The results show that it is not enough to discuss the viewing of pornography during adolescence in isolation from digital habits, family relationships and other aspects of everyday life. The researchers suggest combining age-appropriate sex education, digital literacy, discussions about the reliability of online content and safe relationships with substance abuse prevention and support for family communication.

However, this is an observational study based on one year’s data derived from self-reports. It does not establish which factor preceded the other or which influenced which; in particular, increased viewing frequency and family conflict may co-occur for various reasons. Of the initial 42,208 questionnaires, 8,665 were excluded from the main analysis due to missing responses, and the results for schoolchildren in Spain should not be automatically extrapolated to adolescents in Ukraine.

Statistical models are not intended for individual diagnosis, identifying ‘suspicious’ children or imposing punishments. The publication itself states that the study received no external funding, and the authors declared no conflicts of interest.

Source

Jorge de Andrés-Sánchez, Ángel Belzunegui-Eraso, Inma Pastor-Gosálbez, Anna Sánchez-Aragón. Predicting Pornography Use Among Adolescents in Spain: Findings from Ensemble Tree Models and Explainable Machine Learning. Computation, 2026, 14(8), 177. DOI: 10.3390/computation14080177.

Press release from the University of Rovira i Virgili on Phys.org, 14 October 2026.

Support us on Patreon
Like our content? Become our patron
Elena Rasenko

Elena Rasenko writes about science, healthy living and psychology news, and shares her work-life balance tips and tricks.

Related news

Popular news

News about war