BackgroundDrug addiction is a significant public health concern, and aggression is common among people with drug addiction. Despite mounting evidence showing that the Dark Triad is a risk factor for aggression, the mediating and moderating mechanisms underlying this relationship are less known. This study tested the mediation effect of self-control in the association between the Dark Triad and aggression and whether this mediation was moderated by physical exercise.MethodsA cross-sectional study was conducted in two compulsory drug rehabilitation centers in Nanning, China. A convenience sample of 564 drug abstainers completed a questionnaire to assess their Dark Triad, self-control, aggression, and physical exercise levels. Mediation and moderation analyses were carried out in SPSS macro-PROCESS.ResultsSelf-control partially mediated the positive association between the Dark Triad and aggression. Physical exercise moderated the indirect effect of the Dark Triad on aggression via self-control, with the effect decreasing with the increase in physical exercise levels.ConclusionsThis study offers fresh insights into the underlying mediating and moderating mechanisms between the Dark Triad and aggression. The findings provide important practical implications for future intervention and prevention programs to address aggression among drug abstainers, which may be realized through strengthening self-control and physical exercise.