Machiavellianism has always been notorious, as it is egotistical and manipulative. This study aims to explore whether Machiavellian individuals would increase prosocial behavior to buffer death anxiety, based on Terror Management Theory. A total of 420 Chinese volunteers completed a survey regarding Machiavellianism, empathy (cognitive empathy, affective empathy), death anxiety, and prosocial behavior tendencies. The results indicated that affective empathy mediated the relationship between Machiavellianism and some types of prosocial behavior (total, altruistic, anonymous, compliant, dire and emotional), and the mediating effect was moderated by death anxiety. This finding revealed that although individuals with high levels of Machiavellianism were supposed to be callous, when suffering from death anxiety, they became more affective-empathetic, and thus more prosocial. Our study enriches the relationship between Machiavellianism and kindness.