The aim of this study was to test the causal relationship between school connectedness and academic performance with the mediating role of bullying and victimization among boys and girls in middle schools of Shiraz. For this purpose, 564 secondary school students were selected through multi-stage random cluster sampling; and they completed research tools, including the Illinois Bullying Scale and the student perceptions of school cohesion scale. The results-using structural equation modeling -showed that overall; all path coefficients were statistically significant. In this model, the effect of school connectedness (as an exogenous variable) on academic performance (endogenous variable), was positive and significant (standardized coefficient: 0.53; p<0.001); the effects of school connectedness on bullying, and school connectedness effect on victimization was negative and significant (respectively standard coefficient: -0.49, P<0.001; and standard coefficient: -0.39, P<0.001). Effects of intermediate variables (bullying and victimization) on academic performance was negative and significant (respectively; standard coefficient: -0.31, P<0.001; and standard coefficient: -.11, P<0.001). Fitness indicators, demonstrated that–overall-, the model had an acceptable fitness to the data. Indirect hypothesis using Bootstrap macros were tested and all of them were confirmed. In general, the findings suggest that the school connectedness, directly and indirectly, have an effect on academic performance, as well as on the whole process of bullying.