The school social environment is one of the factors that influences the formation of student behavior, especially at the elementary school level, which represents a critical period for social development. Based on initial observations at SD Negeri 4 Gondang, various student behaviors were identified, such as a lack of discipline, the use of harsh language, and teasing among peers. This study aims to analyze the school social environment factors affecting the behavior of fourth-grade students, as well as the behaviors that emerge from peer interactions. This research employs a qualitative approach with a case study design. The research subjects consisted of 22 fourth-grade students and their homeroom teacher. Data were collected through observation, interviews, and documentation, then analyzed using the Miles and Huberman model through data condensation, data display, and conclusion drawing, with validity testing carried out through source, technique, and time triangulation. The findings indicate that the school social environment factors influencing student behavior include teacher-student relationships, peer interactions, school culture and regulations, teacher role modeling, as well as the influence of the family and community environment. Behaviors arising from peer interaction encompass positive behaviors, such as cooperation, politeness, and responsibility, as well as negative behaviors, such as the use of harsh language, teasing, and quarrels. The teacher plays a crucial role in minimizing negative behaviors through providing advice, positive reinforcement, and collaboration with parents. Thus, the school social environment has a significant impact on student behavior formation, necessitating synergy between the school and parents in creating a conducive environment for student character development.