More than 500 published data of partial pressure of CO2 (P-CO2) were collected for aqueous solutions from about 30 confined aquifers. The selection was limited to cases with no gas phase. Hence, with a temperature range for the data from 10 degrees C to 300 degrees C, the corresponding hydrostatic pressure is greater than a few bars to 100 bar, respectively. The data of P-CO2 plotted as a function of temperature are clearly grouped into two exponential curves. The lower curve corresponds to a pure magmatic rock environment. The P-CO2 varies from 10(-6) to 50 bar when the temperature increases from 10 degrees C to 300 degrees C. The higher curve corresponds to a sedimentary environment. The P-CO2 varies from 2 10(-3) to 130 bar when the temperature increases from 10 degrees C to 200 degrees C. Such trends of P-CO2 can be computed thermodynamically. The chemical species CO2 can be expressed as a relation including solely minerals (m(j)) and their stoichiometric coefficient (alpha(j)): CO2 double left right arrow (j) Sigma alpha(j)m(j) If a solution is at equilibrium with respect to these minerals, the P-CO2 value equals the product of their solubility products: P-CO2 = (j) Pi K-j(alpha j)/K-CO2 This expression of P-CO2 depends on temperature (mainly) and pressure (weakly) and is independent of any other solution characteristic such as chloride content. The seventeen sets of minerals tested can be divided into two generic sets: {calcite, Ca-Al-silicate, additional silicates} {calcite, dolomite, Mg-Al-silicate, other silicates}The ones including only one carbonate, calcite, fit the lower P-CO2 data from magmatic rocks. The ones including two carbonates, calcite and dolomite, fit the higher P-CO2 data from magmatic rocks. Although carbon in solution might have several origins (deep magmatic flux, decomposition of organic matter and dissolution of carbonate minerals), the P-CO2 data are equal to the ones that would be buffered by the equilibrium of the solution with respect to a set of minerals. These results are of interest for the use of chemical geothermometers and for studies of changes in sediment porosity by diagenesis over geologic times. When modelling chemical evolution of a solution in a geologic formation, it is useful to test simulations including, among the chemical constraints, equilibrium with respect to some j minerals allowing the P-CO2 value to be buffered. (C) 1998 Elsevier Science B.V.