A reactive dispersant (SMA–ESA) was synthesised from poly(styrene‐alt‐maleic anhydride) (SMA) and 4‐(beta‐sulfatoethylsulfonyl)aniline (ESA), and its dispersing ability for carbon black (CB) was investigated. Fourier transform infrared (FTIR) and 1H–nuclear magnetic resonance (NMR) spectroscopies showed that an amidation reaction took place between ESA and SMA. The optimal preparation conditions for reactive nanoscale CB dispersion were a mole ratio of ESA to SMA of 4:3, with a mass ratio of SMA–ESA and CB at 3%, sonication time 20 min, and pH 8. The reactive nanoscale CB dispersion prepared under optimal conditions showed excellent stability and small mean particle size. A cotton fabric coloured with reactive nanoscale CB dispersion could obtain a high K/S value, and excellent rubbing and washing fastness.