The alkylation of unsubstituted 3-nitro-1,2,4-triazole with dimethyl sulfate takes place nonselectively with the formation of a complex mixture of products from N-monosubstitution (1-, 2-, and 4-methyl-3-nitro-1,2,4-triazoles) and N,N-disubstitution (nitrotriazolium salts) and 1,4-dimethyl-1,2,4-triazol-5-one (1) [2]. The latter is formed here in a very small amount. If the process is conducted with a deficiency of the alkylating agent the yield of 1 does not exceed 3%, and with an excess it is 7%.During the quaternization of N-monosubstituted nitrotriazoles there is the question of the selectivity of the reaction, which determines to a significant degree its path and products. The main products from the quaternization of N-monosubstituted nitrotriazoles are the N,N-disubstituted salts and the N,N-dialkylnitrotriazolones formed as a result of transformation of the nitrotriazolium ring.Investigation of the exhaustive alkylation of N-monomethyl-substituted nitrotriazoles with dimethyl sulfate demonstrated the possibility of selective quaternization of the 2-methyl-substituted nitrotriazole with the formation of the triazolone 1. During the alkylation of 1-methyl-5-nitro-1,2,4-triazole (2) with dimethyl sulfate the two N (1) and N (4) nonequivalent atoms of the heterocycle are accessible to attack by the electrophilic agent. Probably, the nitrotriazoles with substituted nitrogen atoms and N (2) -substituted nitrotriazoles, in particular, cannot be quaternized at the α-position to the substituent on account of steric hindrances and reduced nucleophilicity. This agrees well with data on the protonation of 1-methyl-5-nitro-1,2,4-triazole, which takes place at the N (4) atom [3]. The process then most probably takes place in the following way. At the first stage attack by the electrophilic agent on the azole heterocycle takes place at the unshared electron pair of the N (4) atom available for coordination or at the π bond with subsequent localization of the substituent at the N (4) atom. Delocalization of the positive charge on the carbon atom at the nitro group leads to the formation of the unstable reactive 1,4-dimethyl-5-nitro-1,2,4-triazolium salt 3, which is sensitive to the action of nucleophilic reagents. Under the influence of the water the salt 3 changes into the triazolone 1._______ * Communication 4 of the series "Reactions of derivatives of 3-nitro-1,2,4-triazole with alkylating agents." For Communication 3, see [1]. __________________________________________________________________________________________