Although amide lubricants are commonly used as lubricants for acrylonitrile-butadiene-styrene (ABS) resins, the relationship between their structure and lubricating properties remains unclear. In this paper, a series of stearic acid diamide lubricants for ABS resins were synthesized through an amidation reaction with the stearic acid and aliphatic diamines. The chemical structure was characterized by FTIR and 1H NMR. A detailed evaluation of the lubrication effect of the lubricant was carried out by dynamic mechanical analysis, rotational rheometry, contact angle measurements, and so on. The results showed that the complex viscosity, glass transition temperature and diamine's alkyl chain length of stearic acid diamides were positively correlated, while the elongation at break displayed a negative correlation. Compared to ethylenediamine bis stearate acid (EBA), 1,8-diaminooctane bis stearate acid (OBA) exhibited a 37.8 % increase in the complex viscosity at 0.1 rad/s, along with a 4.6 % rise in the glass transition temperature. It was indicated that the lubrication effect of stearic acid diamides deteriorated with the increase of the alkyl chain lengths of diamines. The lubrication mechanism was further validated by molecular dynamics simulations. As the alkyl chain lengths of diamines increased, the mean square displacement and interaction energy of the system exhibited a tendency to become lower and higher, respectively. This meant that the longer alkyl chains of the diamines in the lubricants were not advantageous to the free mobility of the matrix molecular chains. These findings provided insightful guidance for the sensible design of lubricants for ABS resins.