The consonance constraint-satisfaction model is applied to Machiavellianism self-concept effects in cognitive dissonance. Networks parameterized for low Machiavellian traits showed the usual dissonance effect, i. e., more attitude change after giving a counterattitudinal speech than after not giving such a speech, whereas networks parameterized for high Machiavellian traits showed the reverse, thus capturing human data. Classical dissonance theory had not accounted for the fact that people with high Machiavellian traits showed less attitude change after giving a counter-attitudinal speech than after not giving such a speech. The model predicts initial dissonance and the course of dissonance reduction in the various experimental conditions. The results underscore the point that cognitive dissonance operates according to the same constraint-satisfaction principles that govern a variety of other psychological phenomena.