Despite the growing geological evidence that fluid boiling and vapour-liquid separation affect the distribution of metals in magmatic-hydrothermal systems significantly, there are few experimental data on the chemical status and partitioning of metals in the vapour and liquid phases. Here we report on an in situ measurement, using X-ray absorption fine structure (XAFS) spectroscopy, of antimony speciation and partitioning in the system Sb2O3-H2O-NaCl-HCl at 400°C and pressures 270—300 bar corresponding to the vapour-liquid equilibrium. Experiments were performed using a spectroscopic cell which allows simultaneous determination of the total concentration and atomic environment of the absorbing element (Sb) in each phase. Results show that quantitative vapour-brine separation of a supercritical aqueous salt fluid can be achieved by a controlled decompression and monitoring the X-ray absorbance of the fluid phase. Antimony concentrations in equilibrium with Sb2O3 (cubic, senarmontite) in the coexisting vapour and liquid phases and corresponding SbIII vapour-liquid partitioning coefficients are in agreement with recent data obtained using batch-reactor solubility techniques. The XAFS spectra analysis shows that hydroxy-chloride complexes, probably Sb(OH)2Cl0, are dominant both in the vapour and liquid phase in a salt-water system at acidic conditions. This first in situ XAFS study of element fractionation between coexisting volatile and dense phases opens new possibilities for systematic investigations of vapour-brine and fluid-melt immiscibility phenomena, avoiding many experimental artifacts common in less direct techniques.