PurposeDrawing on affective events theory, the purpose of this paper was to investigate direct and indirect relationships between perceived organizational politics and workplace cyberbullying (WCB) perpetration mediated through anger, as well as to examine the moderating role of gender in these relationships.Design/methodology/approachThe sample comprised 534 white-collar employees who were employed in a variety of service industries, including banking, higher education, telecommunications, health care and insurance in Islamabad, Pakistan. Data were analyzed using the structural equation modeling technique in Amos.FindingsResults demonstrated that perceived organizational politics has a direct positive effect on WCB perpetration. Moreover, results indicated that perceived organizational politics evokes anger among employees that, in turn, triggers WCB perpetration. Results of a multigroup analysis revealed that the positive effect of perceived organizational politics on WCB perpetration was not significantly different between men and women. However, the positive relationship between perceived organizational politics and anger was significantly stronger for men than for women. Likewise, this study found a significantly stronger relationship for men than for women between anger and WCB perpetration. Anger partially mediated the relationship between perceived organizational politics and WCB perpetration only among men.Originality/valueThis study contributes to the literature by demonstrating that perceived organizational politics triggers WCB perpetration directly and indirectly through its impact on anger. Moreover, this study identified gender differences in the experience and expression of anger in response to perceived organizational politics.