Abstract:To explore the influence of cyber-ostracism on online deviant behavior, this work conducted a survey study on 414 college students using the Cyber-ostracism Questionnaire, the Online Deviant Behavior Scale, the Ruminative Thinking Scale, and the Social Anxiety Scale. The results showed that males had significantly higher scores of cyber-ostracism and online deviant behavior than females did. Ruminative thinking partially mediated the relationship between cyber-ostracism and online deviant behavior, and social anxiety moderated the relationship between cyber-ostracism and online deviant behavior, and the mediating effect of ruminative thinking held in both male and female groups, while the moderating effect of social anxiety held only in the male group.