Interest in magnetic nanoparticles is primarily due to their practical use. In this work, for the production of nanocrystalline powders of pure and gadolinium doped iron oxides,the extraction-pyrolytic method (EPM) was used. As a precursor, either iron-containing extract(iron (III) caproate in caproic acid) or its mixture with gadolinium-containing extract (gadolinium (III) valerate in valeric acid) was used. The mixed precursor contained 0.5 mol %, 2.5 mol %, 12.5 mol %,50 mol %, and 75 mol % gadolinium in relation to the iron content. The formation of iron oxide phases,depending on the preparation conditions, was investigated. According to the results obtained, it was demonstrated that the presence of more than 2.5 mol % gadolinium additive in the mixed precursor inhibits the magnetite-to-hematite transformation process during thermal treatment. Produced samples were characterized by XRD and SEM methods, and the magnetic properties were studied.