In the contemporary digital milieu, children’s pervasive engagement with electronic media is ubiquitous in their daily lives, presenting complex implications for their socialization. Prosocial behavior, a cornerstone of social interaction and child development, is intricately intertwined with these digital experiences. This relation gains further depth, considering the significant roles of parent–child relationships and emotion regulation in shaping children’s social trajectories. This study surveyed 701 families to examine the association between children’s electronic media use and prosocial behavior, specifically exploring the mediating roles of parent–child closeness and emotion regulation. Structural equation modeling was employed for the analysis. Children’s electronic media use negatively correlated with prosocial behavior, parent–child closeness, and emotion regulation. In contrast, a positive association emerged between parent–child closeness, emotion regulation, and prosocial behavior. Emotion regulation also correlated positively with prosocial behavior. Statistical analyses revealed that parent–child closeness and emotion regulation function as both individual and sequential mediators in the relation between electronic media use and prosocial behavior. The study’s analyses reveal that fostering children’s prosocial behavior in the digital era requires strong family ties, effective emotional management, and balanced digital exposure, which are pivotal for their comprehensive development.