The kinetics and mechanism of the aromatic nucleophilic substitution reactions of 2,6-bis(trifluoromethanesulfonyl)-4-nitroanisole with para-X-substituted anilines (X = OH, OMe, Me, H, F, I, Cl) were studied in MeOH–Me2SO mixtures and pure Me2SO at 25.0 °C. The second-order rate coefficients depend on the substitutent in aniline and give good Hammett and Brønsted correlations; a polar SNAr reaction is proposed for the reaction in different MeOH–Me2SO mixtures. The measured rate coefficients of the reaction demonstrated dramatic variations for aniline donor with the increasing dimethyl sulfoxide composition in MeOH–Me2SO mixtures. In this case, the Hammett and Brønsted plots are biphasic and concave upwards with a break point at 4-methylaniline. These results indicate a change in mechanism from the polar (SNAr) for less basic nucleophiles (X = 4-Cl, 4-I, 4-F, and H) to the single electron transfer (SET) for more basic nucleophiles (X = 4-OH, 4-OMe and 4-Me). The changes of the structure of the transitions states with substituents and solvent are in accordance with the results of kinetics studies. The solvation model described is well supported by the solvatochromism exhibited by aniline in the solvent mixture under investigation. These results provide an ideal framework for understanding the paramount importance of the specific molecular structure of solvent molecules in determining chemical reactivity versus solvent effects.Graphical abstractElectronic supplementary materialThe online version of this article (doi:10.1007/s00706-013-1030-7) contains supplementary material, which is available to authorized users.