Miarolitic granite pegmatites are a unique natural object that makes it possible to study magmatic processes that lead to the formation of ore-forming media and systems. This paper summarizes modern views on phase transformations in aqueous silicate systems at parameters close to those of the transition from magmatic to hydrothermal crystallization. Comparison of phase diagrams and the results of study of pegmatite-forming media permits making conclusions about the crystallization of the water-saturated magmas of miarolitic granite pegmatites. The fluid regime of aqueous granite systems of simple composition, not enriched in fluxing components, is determined mainly by magma degassing or the supply of volatiles with flows of transmagmatic fluids. These processes cause the separation of essentially carbon dioxide or essentially hydrous fluid. During the evolution of such magmas, crystallization from silicate melt is separated in PT-space and, possibly, in time from the crystallization from aqueous or mixed carbon dioxide-aqueous super- and subcritical solutions. The evolution of chambers of water-saturated granitic and pegmatitic magma enriched in F, B, and alkali metals presupposes the formation of a heterogeneous mineral-forming medium in which crystallization occurs in the magmatic melt at high-temperature stages; as temperature decreases, crystallization can proceed in hydrous fluid, hydrosilicate, and/or hydrosaline liquids simultaneously. Hydrothermal crystallization can also take place in a heterogeneous medium consisting of aqueous solutions of different salinities and vapor or vapor-carbon dioxide gas mixture. The relationship between different fluid regimes during the evolution of volatile-saturated granitic and pegmatitic magmas determines the variety of postmagmatic rocks accompanying granite massifs.