Since 2016, the number of terrorist attacks in Indonesia has increased. As a result, these incidents attracted media attention and received extensive coverage. This study aims to examine the role of online news media Kompas.com in reporting terrorism attacks during 2016-2020, because online news media have taken over print and television media as the most popular news sources, thus enabling them to reach and influence the largest audience. This research approach has a qualitative perspective using the method of content analysis. The data obtained for this study was accessed and collected through the online news site Kompas.com in the period 2016-2020 referring to the highest number of articles covering terrorist attacks. The data analysis used in this research is the interpretive thematic analysis technique from Braun & Clarke. This research is based on the Agenda Setting Theory. Research reveals that news coverage of terrorist attacks in Indonesia includes facts about the perpetrators, solidarity between communities, emotional quotes about the suffering of victims, and descriptions of violence. The results showed that the online news media Kompas.com through its reporting about the perpetrators created terrorist stereotypes. Then by describing the suffering of the victims, Kompas.com mediates various emotional effects in the community. In addition, a focus on violence in reporting can spread fear and panic among the public. Interestingly, the online news media Kompas.com acts as an advocate of solidarity and can even encourage the community to support the victims and their families both financially and psychologically.