Racism in social media is ubiquitous, persisting online in ways unique to the internet while also reverberating from the world offline. When will racist frames activate in social media networks? This article argues that social media users engage with racist content when they perceive a threat to the in-group status, selecting frames that serve as markers to separate the in-group identity from the out-group identity. Racialized frames serve as these markers, and the perceived threats to the in-group status make racist content cognitively congruent. Evidence of this behavior is provided by examining Twitter activity during the indígena protests in Ecuador in October 2019. A novel, multistep machine-learning process detects racist tweets, and an interrupted time series analysis shows how events that can be perceived as threats to the in-group activate racist content in some social media communities.