Increasing use of social media throughout early adolescence is associated with lower performance in specific aspects of cognitive function.