The double Vilsmeier formylation of the C-methyl group in pyrazole derivatives has been shown to occur when a nitro-group is in the adjacent position of the ring. A method for the synthesis of C-(diformylmethyl)nitropyrazoles based on this reaction has been developed.