PurposeDrawing upon the cognitive-affective processing system (CAPS) framework, the current study proposes a dual-pathway model that suggests self-serving leadership has a positive influence on employee knowledge hiding. The study also examines the mediating effects of relative deprivation and emotional exhaustion, as well as the moderating effect of political skill, to provide a comprehensive understanding of these relationships.Design/methodology/approachThis study employed two-wave time-lagged survey data collected from 644 employees in 118 teams within a company based in Shenzhen, China. Moreover, hierarchical linear modeling (HLM) was used to test the hypothesized relationships.FindingsThe results indicated that self-serving leadership positively influenced employee knowledge hiding, and this relationship was mediated by relative deprivation and emotional exhaustion. Additionally, political skill was found to negatively moderate both the direct relationship between self-serving leadership and relative deprivation and emotional exhaustion, and the indirect path from self-serving leadership to employee knowledge hiding through relative deprivation and emotional exhaustion.Originality/valueThis study makes a unique contribution to the knowledge management literature in several ways. First, it introduces self-serving leadership as a predictor of employee knowledge hiding, expanding the current understanding of this phenomenon. Second, it offers a novel conceptualization, suggesting that employees coping with self-serving leadership may experience relative deprivation and emotional exhaustion, and these factors can predict their engagement in knowledge hiding. Third, the research findings on the moderating role of political skill push the boundaries of the knowledge-hiding literature, providing new insights into the conditions under which this behavior occurs.