The replacement of a natural carbonate rock (Carrara marble) by apatite was used as a model to study the role of fluid chemistry in replacement reactions, focusing on the mineralogy, chemical composition, and porosity of the replacementproduct.Carrara marble was reacted with ammonium phosphate solutions ((NH 4) 2 HPO 4), in the presence and absence of four salt solutions (NH 4 Cl, NaCl, NH 4 F, and NaF) at different ionic strengths, at 200°C and autogenous pressure. The replacement products were analysed usingpowder X-ray diffraction,Scanning electron microscopy (SEM), electron microprobe analysis(EMPA), and Raman spectroscopy. The reaction in all samples resulted in pseudomorphic replacements and shared the characteristics of an interface-coupled dissolution-precipitation mechanism. Increasing theionic strength of the phosphatefluid increased the replacement rates. With a fixedconcentration of phosphate, replacement rates were reduced with the addition of NH 4 Cl and NaCland increased significantly with the addition of NaF and NH 4 F. The addition of different salts resulted in specific porosity structures resulting from the formation of different phosphate phases. Chlorine-containing fluids showed a higher degree of fluid percolation through grain boundaries. This study illustrates the significant impact that small differences in solvent composition can have in the progress of replacement reactions, the nature of the products and the resultant porosity.