The Vuoriyarvi Devonian carbonatite–ijolite–pyroxenite–olivinite complex comprises several carbonatite fields: Neske Vara, Tukhta-Vara, and Petyayan-Vara. The most common carbonatites in the Tukhta-Vara and Neske-Vara fields are calciocarbonatites, which host several P, Fe, Nb, and Ta deposits. This paper focuses on the Petyayan-Vara field, in which the primary magmatic carbonatites are magnesian. The least altered magnesiocarbonatites are composed of dolomite with burbankite and are rich in REE (up to 2.0 wt. %), Sr (up to 1.2 wt. %), and Ba (up to 0.8 wt. %). These carbonatites underwent several stages of metasomatism. Each metasomatic event produced a new rock type with specific mineralization. The introduction of K, Si, Al, Fe, Ti, and Nb by a F-rich fluid (or fluid-saturated melt) resulted in the formation of high-Ti magnesiocarbonatites and silicocarbonatites, composed of dolomite, microcline, Ti-rich phlogopite, and Fe–Ti oxides. Alteration by a phosphate–fluoride fluid caused the crystallization of apatite in the carbonatites. A sulfate-rich Ba–Sr–rare-earth elements (REE) fluid (probably brine-melt) promoted the massive precipitation of ancylite and baryte and, to a lesser extent, strontianite, bastnäsite, and synchysite. Varieties of carbonatite that contain the highest concentrations of REE are ancylite-dominant. The influence of sulfate-rich Ba-Sr-REE fluid on the apatite-bearing rocks resulted in the dissolution and reprecipitation of apatite in situ. The newly formed apatite generation is rich in HREE, Sr, and S. During late-stage transformations, breccias of magnesiocarbonatites with quartz-bastnäsite matrixes were formed. Simultaneously, strontianite, quartz, calcite, monazite, HREE-rich thorite, and Fe-hydroxides were deposited. Breccias with quartz-bastnäsite matrix are poorer in REE (up to 4.5 wt. % total REE) than the ancylite-dominant rocks (up to 11 wt. % total REE).