Drawing on social cognitive theory and social information processing theory, we developed a moderated mediation model in which moral disengagement was theorised as a unique mechanism to explain why employees engage in unethical behaviours after performing illegitimate tasks. Ethical human resource management (HRM) was proposed as a boundary condition that influences this mechanism. We tested the model using time-lagged supervisor–subordinate matched data. The results showed that moral disengagement mediated the relationship between illegitimat...